From: Henrik Nordstrom Subject: Re: Developing a user space library for filtering Date: Wed, 23 May 2007 00:58:18 +0200 Message-ID: <1179874698.18674.22.camel@henriknordstrom.net> References: <46521CB9.2040309@Sun.COM> <46522166.1090603@gmx.net> <465222C0.8050601@Sun.COM> <20070522064613.GA27619@oknodo.bof.de> <4653578C.3070407@Sun.COM> <20070522211404.GC24990@ipom.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-mv+4zadC0xaPS9/bYZOE" Cc: netfilter-devel@lists.netfilter.org, Darren.Reed@Sun.COM To: Phil Dibowitz Return-path: In-Reply-To: <20070522211404.GC24990@ipom.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org --=-mv+4zadC0xaPS9/bYZOE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable tis 2007-05-22 klockan 14:14 -0700 skrev Phil Dibowitz: > Darren, you're correct, this is definitely needed. If IPF and IPtables an= d > everyone else all used a common core kernel-userspace API, with a standar= d > library on top of it, that would be awesome. As things is today I am not sure how this would work in a general sense for what is proposed. The way you structure rules is quite different in the different firewall implementations. But sure, for things like connection tracking and related events it's surely doable. Also, writing a generic firewall ruleset "compiler" which can translate to ipf, iptables and a few others is doable, but the actual installed ruleset will need to be somewhat different in both structure and syntax in the different implementations, not only syntax. Having an API which says things like "Add a rule to accept this kind of traffic" is only possible cross the different firewall implementations if there also is a defined firewall ruleset structure requirement defining suitable places in the ruleset where this API can make it's modifications. Regards Henrik --=-mv+4zadC0xaPS9/bYZOE Content-Type: application/pgp-signature; name=signature.asc Content-Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iQCVAwUARlN1h0NPQ5Kbx8daAQKxYwQApHFZvsjTZ+tJhBBVrcJB9Z/pDTT9d00m W4bJ95C3wdD7GBUqNtVc4/r74qDeGbhgfu9tJ1FikYQVwhxhgdwL+/s9xeM2IpJq FdWII3bAP4nseVEz5xVAjw3wATtFXjAqkRGKTolEf12xCU+pID0EEWO2oQYWpG9/ CKeRwfpx0BU= =hIbR -----END PGP SIGNATURE----- --=-mv+4zadC0xaPS9/bYZOE--