From owner-cvs-all@FreeBSD.ORG Fri Feb 27 00:35:33 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9254216A4CE; Fri, 27 Feb 2004 00:35:33 -0800 (PST) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A96E443D2F; Fri, 27 Feb 2004 00:35:32 -0800 (PST) (envelope-from danfe@regency.nsu.ru) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.30) id 1AwdUC-0005A2-GW; Fri, 27 Feb 2004 14:36:44 +0600 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.12.10/8.12.10) with ESMTP id i1R8aUGx062039; Fri, 27 Feb 2004 14:36:30 +0600 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.12.10/8.12.10/Submit) id i1R8aUoq062008; Fri, 27 Feb 2004 14:36:30 +0600 (NOVT) (envelope-from danfe) Date: Fri, 27 Feb 2004 14:36:30 +0600 From: Alexey Dokuchaev To: Dag-Erling Sm?rgrav Message-ID: <20040227083630.GC54056@regency.nsu.ru> References: <200402260234.i1Q2YDx1014240@repoman.freebsd.org> <20040226060126.GA70201@troutmask.apl.washington.edu> <20040226080517.GA29763@cat.robbins.dropbear.id.au> <20040226015016.B23674@xorpc.icir.org> <403DC956.8EA364B2@freebsd.org> <20040226071123.A31631@xorpc.icir.org> <565913D0-68E2-11D8-AE91-000A95AD0668@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Mailman-Approved-At: Fri, 27 Feb 2004 05:09:43 -0800 cc: Max Laier cc: Andre Oppermann cc: Tim Robbins cc: Luigi Rizzo cc: cvs-all@freebsd.org cc: src-committers@freebsd.org cc: Steve Kargl cc: cvs-src@freebsd.org cc: Sam Leffler Subject: Re: cvs commit: src/sys/contrib/pf/net if_pflog.c if_pflog.h if_pfsync.c if_pfsync.h pf.c pf_ioctl.c pf_norm.c pf_osfp.c pf_table.c pfvar.h src/sys/contrib/pf/netinet in4_cksum.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 08:35:33 -0000 On Fri, Feb 27, 2004 at 09:28:04AM +0100, Dag-Erling Sm?rgrav wrote: > Sam Leffler writes: > > I made two attempts to eliminate all the ipfw-, dummmynet-, and > > bridge-specific code in the ip protocols but never got stuff to the > > point where I was willing to commit it. My main motivation for doing > > this was to eliminate much of the incestuous behaviour so that you > > could reason about locking requirements but there were other benefits > > (e.g. I was also trying to make the ip code more "firewall agnostic"). > > The ideal solution would be to convert the entire networking stack to > netgraph nodes; we could then insert filter nodes at any point in the > graph. That idea was attracting my attention for quite some time, probably since when emax' bluetooth stuff hit the tree. It seems the most generic and coherent approach; especially provided that all core functionality is already implemented and well-tested, and there are lots of real-life NG-based solutions already available that come with both stock FreeBSD and from third parties. I'm also wondering how far is it possible to push NG usage into the kernel; e.g. can USB stack be converted to it (seeing analogy with bluetooth here)? ./danfe