From owner-freebsd-ipfw Sat Nov 13 0: 5: 1 1999 Delivered-To: freebsd-ipfw@freebsd.org Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id 2151914E29 for ; Sat, 13 Nov 1999 00:04:55 -0800 (PST) (envelope-from bvi@rucus.ru.ac.za) Received: (qmail 42987 invoked by uid 374); 13 Nov 1999 08:04:54 -0000 Date: Sat, 13 Nov 1999 10:04:54 +0200 From: Barry Irwin To: Kris Kennaway Cc: ipfw@FreeBSD.ORG Subject: Re: TOS support for FreeBSD Message-ID: <19991113100453.Q57266@rucus.ru.ac.za> References: <19991112220536.I57266@rucus.ru.ac.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from kris@hub.FreeBSD.ORG on Fri, Nov 12, 1999 at 05:32:52PM -0800 Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri 1999-11-12 (17:32), Kris Kennaway wrote: > On Fri, 12 Nov 1999, Barry Irwin wrote: > > > Hi All > > > > I've been playing with some of the TOS stuff in ipchains under the 2.2.x > > kernel series on linux, and was wondering if there was any similar > > functionality under FreeBSD. > > > > looked at the ipfw manpage on my 3.3-stable box and cant find anything > > relevant. > You neglected to mention what the "TOS stuff" does. > TOS is type-of-service, and is determined by bits 8->15 in the IP Header. Only 4 of these bits are actually used, and stand for : miimize delay, minimize monetary cost, maximize throughput, maximize reliability. The net effect of setting these, is that with a TOS aware router ( such as linux 2.2) one can use these to provide some presidence for ones IP traffic. The mose usefull effect I've found for this is to set minimum delay on all my ineteractive telnet/ssh and ftp command traffic, while assigning max throughput to ftp-data and http traffic. This allows me to still work with a minimal lag to various servers I'm remotely connected to, even while my dialup connection is runningat nearly 100% capacity, as opposed to the non TOS situation , of every packet takes its turn and lag becomes terrible, basically rendering interactive use while performing a large file download a waste of time. More details regarding TOS can be found in RFC 1340 (Postel) and an update in RFC 1349 (Almquist) Linux ipchanis allows one to modify the tos bits on a packet providing it matches certain rules, this is the functionality I was wondering was avaliable in FreeBSD Hope this makes things clearer -- -------------------------------------------------------------------------- Barry Irwin IRC: balin@zanet (#linux) bvi@moria.org http://rucus.ru.ac.za/~bvi Whois BI414 - PMPN8EZ - http://moria.org -------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message