From owner-freebsd-net Fri Mar 19 17:41: 7 1999 Delivered-To: freebsd-net@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 4CF78152E0 for ; Fri, 19 Mar 1999 17:40:50 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with SMTP id RAA70615; Fri, 19 Mar 1999 17:36:30 -0800 (PST) Message-ID: <36F2FB9D.2C67412E@whistle.com> Date: Fri, 19 Mar 1999 17:36:29 -0800 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2.8-RELEASE i386) MIME-Version: 1.0 To: Chris Csanady Cc: freebsd-net@FreeBSD.ORG Subject: Re: Integrating the NetBSD PFIL hooks.. References: <19990320012046.01210B9@friley-185-205.res.iastate.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Chris Csanady wrote: > > What would it take for us to intergrate NetBSD's PFIL hooks? It is > hard to do much work in the current network stack with so much of > the mess that currently exists. At the very least, ip_input.c and > ip_output.c would be much cleaner with this mechanism. > > I'm just wondering what needs to be done, and if it is possible. > Ipfilter would already support this, but how about ipfw, dummynet, > divert and such? Would the authors of the respective code be > willing to help out with the necessary changes? > > Chris Csanady > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message Certainly though I haven't looked.. It certainly looks like it could use some cleaning.. It's suffering from 'evolutionary changes'. We at whistle have to take a lot of the blame. We implemented 'divert' sockets after a suggestion from one of the CSRG guys. (forget his name.. the Kieth that was not a Bostic) The divert functionality adds a lot of possibilities but it has its tentacles all over the place. The 'fwd' option of ipfw has a few tentacles reaching as far as tcp_input. The dummynet stuff I can't comment on so much.. julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message