From owner-freebsd-ipfw Mon Nov 15 13:55:46 1999 Delivered-To: freebsd-ipfw@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 0FA631513E; Mon, 15 Nov 1999 13:55:04 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id MAA57969; Sun, 14 Nov 1999 12:56:49 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199911141756.MAA57969@cc942873-a.ewndsr1.nj.home.com> Subject: Re: TOS support for FreeBSD In-Reply-To: from Brian Fundakowski Feldman at "Nov 13, 1999 09:50:35 pm" To: green@FreeBSD.ORG (Brian Fundakowski Feldman) Date: Sun, 14 Nov 1999 12:56:49 -0500 (EST) Cc: kris@hub.freebsd.org (Kris Kennaway), bvi@rucus.ru.ac.za (Barry Irwin), ipfw@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian Fundakowski Feldman wrote, > On Sat, 13 Nov 1999, Kris Kennaway wrote: > > > On Sat, 13 Nov 1999, Barry Irwin wrote: > > > > > TOS is type-of-service, and is determined by bits 8->15 in the IP Header. [snip] > > > 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 [snip] > For a modest price for time, I could have this in IPFW easily if you > give me a description of what functionality is that which you want. > Otherwise, I could put it on my list of things to add to the new IPFW > (damn, I really need to write that paper!) when I work on that; or, > I could get to it whenever I next get really bored :) Hmmm... Personally, I would feel somewhat hesitant about adding it to IPFW. I'm not usually one to worry much about "slippery slopes," but once we add something to IPFW that actually modifies packets, where does it end? To my knowledge, none of the IPFW options in presently in existence change the contents of a packet. IPFW accepts/drops/forwards/diverts a packet, but it does not change it. To me, this simple set of abilities is a nice way to partition off what IPFW does. We do not want rampant featurism in a kernel module (not that adding this one thing would be, but it would be nice to rewrite destinations of forwarded packets, and it'd be nice to...) The trouble is, where would you add this TOS rewrite?... Maybe a tool that IPFW diverts the packets of interest to? Just MHO and $0.02. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message