From: Harald Welte <laforge@netfilter.org>
To: Bart De Schuymer <bdschuym@pandora.be>
Cc: Netfilter Development Mailinglist
<netfilter-devel@lists.netfilter.org>,
Patrick McHardy <kaber@trash.net>
Subject: Re: [NETFILTER]: Kill ebt_ulog
Date: Sun, 24 Jul 2005 13:17:54 -0400 [thread overview]
Message-ID: <20050724171754.GA3873@rama> (raw)
In-Reply-To: <1122154479.3382.29.camel@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 2385 bytes --]
On Sat, Jul 23, 2005 at 09:34:39PM +0000, Bart De Schuymer wrote:
> Op za, 23-07-2005 te 22:04 +0200, schreef Patrick McHardy:
> > The QUEUE target will get a queue-number argument. Userspace can
> > register for different queues using netlink messages. All this
> > will be handled by the core to we don't need ipt_ULOG/ebt_ulog
> > anymore.
>
> What if someone wants to just get a copy sent to userspace while the
> kernel continues routing the copied packet? AFAIK this behaviour can't
> be obtained using the queue target.
> > The problem is that we can't create two kernel sockets for the same
> > netlink family. Netlink families are a scarce resource, so I don't think
> > it makes much sense to waste another one for a soon (couple of days)
> > deprecated mechanism. I propose to continue this discussion once the
> > new code is there, so we can see if it fits your needs.
>
> If the generic code is such that other modules can make it send messages
> through the NETLINK_NFLOG socket, then those problems are over. I think
> there is no problem in keeping ULOG and QUEUE as long as they use the
> generic framework, those targets do different things.
yes, that is what I'm doing at the moment. nfnetlink_nflog is
registering with the already-existing nf_log_packet() api.
The architecture is like follows:
The iptables LOG (and ebt_ulog) modules would do nothing else but do a
single call to nf_log_packet() every time the want to log a packet.
nf_log_packet() will be extended to specify the log group.
Everything else is dealt with by the core. A userspace process can use
nfnetlink to tell the kernel "please register as nf_log_packet() handler
for PF_BRIDGE, PF_INET, ... - and then register to one or multipe
groups.
> I'll be unreachable, most of the time, from July 25 'till August 7, I
> hope I can catch up on the discussion then...
the new code should be fixed until then. I'm resolving some oopses at
the moment, it's a matter of days..
--
- Harald Welte <laforge@netfilter.org> http://netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-07-24 17:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-23 2:38 [NETFILTER]: Kill ebt_ulog Patrick McHardy
2005-07-23 2:40 ` Patrick McHardy
2005-07-23 11:50 ` Bart De Schuymer
2005-07-23 15:52 ` Patrick McHardy
2005-07-23 19:49 ` Bart De Schuymer
2005-07-23 20:04 ` Patrick McHardy
2005-07-23 21:34 ` Bart De Schuymer
2005-07-23 23:20 ` Patrick McHardy
2005-07-24 17:17 ` Harald Welte [this message]
2005-07-23 22:21 ` Carl-Daniel Hailfinger
2005-07-23 23:20 ` Patrick McHardy
2005-07-24 9:22 ` Bart De Schuymer
2005-07-24 17:25 ` Harald Welte
2005-07-25 0:52 ` David S. Miller
2005-07-25 7:11 ` Bart De Schuymer
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=20050724171754.GA3873@rama \
--to=laforge@netfilter.org \
--cc=bdschuym@pandora.be \
--cc=kaber@trash.net \
--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.