All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Patrick McHardy <kaber@trash.net>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: Re: NFNL_NFA_NEST
Date: Sat, 24 Mar 2007 12:30:28 +0100	[thread overview]
Message-ID: <46050BD4.7080109@netfilter.org> (raw)
In-Reply-To: <46050233.5040603@trash.net>

Patrick McHardy wrote:
> Pablo Neira Ayuso wrote:
>> I just started thinking that probably the generic infrastructure should
>> support the nest bit. How crazy is this idea?
> 
> I don't know. It could accept them on the receive side without
> further problems since probably no netlink user will define
> more than 2^15 attributes, but could not send it since that
> would break compatibility. Since the kernel doesn't need it
> at all not sending it from userspace seems like a better
> solution to me.

Hm, then we'll have different message formats depending on the source.
If there is no choice I think that I prefer to keep it homogeneous, use
the conversion function and live with the library issues.

Alternatively, we could add support for the nest bit in the receive side
of genetlink and OR the nest bit in nfnetlink for messages sent to
userspace.

Thomas, do you have any suggestion on where to go?

-- 
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris

  reply	other threads:[~2007-03-24 11:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-21  5:08 NFNL_NFA_NEST Patrick McHardy
2007-03-21 10:04 ` NFNL_NFA_NEST Jozsef Kadlecsik
2007-03-21 10:13   ` NFNL_NFA_NEST Patrick McHardy
2007-03-21 10:39     ` NFNL_NFA_NEST Jozsef Kadlecsik
2007-03-21 22:54 ` NFNL_NFA_NEST Pablo Neira Ayuso
2007-03-22 11:00   ` NFNL_NFA_NEST Patrick McHardy
2007-03-22 13:18     ` NFNL_NFA_NEST Pablo Neira Ayuso
2007-03-22 13:29       ` NFNL_NFA_NEST Patrick McHardy
2007-03-22 16:44         ` NFNL_NFA_NEST Pablo Neira Ayuso
2007-03-22 17:01           ` NFNL_NFA_NEST Patrick McHardy
2007-03-23 12:18             ` NFNL_NFA_NEST Pablo Neira Ayuso
2007-03-23 12:55               ` NFNL_NFA_NEST Pablo Neira Ayuso
2007-03-23 13:01                 ` NFNL_NFA_NEST Patrick McHardy
2007-03-23 13:00               ` NFNL_NFA_NEST Patrick McHardy
2007-03-23 17:37                 ` NFNL_NFA_NEST Pablo Neira Ayuso
2007-03-24 10:49                   ` NFNL_NFA_NEST Patrick McHardy
2007-03-24 11:30                     ` Pablo Neira Ayuso [this message]
2007-03-24 14:37                       ` NFNL_NFA_NEST Patrick McHardy

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=46050BD4.7080109@netfilter.org \
    --to=pablo@netfilter.org \
    --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.