From: Phil Dibowitz <phil@ipom.com>
To: Darren.Reed@Sun.COM
Cc: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>,
netfilter-devel@lists.netfilter.org, Patrick Schaaf <bof@bof.de>,
Jan Engelhardt <jengelh@linux01.gwdg.de>
Subject: Re: Developing a user space library for filtering
Date: Tue, 22 May 2007 14:14:04 -0700 [thread overview]
Message-ID: <20070522211404.GC24990@ipom.com> (raw)
In-Reply-To: <4653578C.3070407@Sun.COM>
[-- Attachment #1: Type: text/plain, Size: 2496 bytes --]
On Tue, May 22, 2007 at 01:50:20PM -0700, Darren.Reed@Sun.COM wrote:
> Patrick Schaaf wrote:
>
> >...
> >Anyway, regarding the original request, I don't think it is sensible to
> >expect from netfilter developers to invent such a library, especially
> >when the scope is desired to be abstracting from netfilter.
> >
>
> At this point in time, I was looking for people who might be interested
> in helping design such an API. In the end, what I'm hoping for is to
> have a common API delivered as part of OpenSolaris as well as both
> FreeBSD and NetBSD. Given that it's still being drafted, I'm opening
> the door and asking if there is anyone from Linux who's interested in
> participating. I should point out that I'm not interested in requesting
> anyone here write code that isn't [L]GPL'd.
Actually the netfilter folks wrote an entire infrastructure for just this
purpose.
netfilter is a generic infrastructure for firewall software with a defined
kernel-user API and they're now writing many libraries on top of that.
My software, iptstate, uses libnetfilter-conntrack, which is built upon the
netfilter framework.
All this is not to be confused with iptables, which is simply an implmentation
of netfilter coincidentally written by the same people who write the netfilter
framework.
Or so I understand it.
> None of those 3 options are what I would call palatable.
>
> Imagine if everytime a new glibc was delivered you needed to
> recompile all of your programs, from ls all the way through to the
> X server, or...
Darren, you're correct, this is definitely needed. If IPF and IPtables and
everyone else all used a common core kernel-userspace API, with a standard
library on top of it, that would be awesome.
Netfilter brings a lot of of this to the table, but the people involved in
writing the specs mostly worked on ipchains, and iptables, so they may have
made linux-specific assumptions without realizing it - but it was very much
purposed to be OS-agnostic.
--
Phil Dibowitz phil@ipom.com
Open Source software and tech docs Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/
"Never write it in C if you can do it in 'awk';
Never do it in 'awk' if 'sed' can handle it;
Never use 'sed' when 'tr' can do the job;
Never invoke 'tr' when 'cat' is sufficient;
Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-05-22 21:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 22:27 Developing a user space library for filtering Darren.Reed
2007-05-21 22:47 ` Carl-Daniel Hailfinger
2007-05-21 22:52 ` Darren.Reed
2007-05-22 6:27 ` Jan Engelhardt
2007-05-22 6:46 ` Patrick Schaaf
2007-05-22 20:50 ` Darren.Reed
2007-05-22 21:14 ` Phil Dibowitz [this message]
2007-05-22 22:58 ` Henrik Nordstrom
2007-05-22 23:55 ` Darren.Reed
2007-05-23 0:29 ` Philip Craig
2007-05-23 8:19 ` Henrik Nordstrom
2007-05-22 7:11 ` Allen Francom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070522211404.GC24990@ipom.com \
--to=phil@ipom.com \
--cc=Darren.Reed@Sun.COM \
--cc=bof@bof.de \
--cc=c-d.hailfinger.devel.2006@gmx.net \
--cc=jengelh@linux01.gwdg.de \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.