From: Massimiliano Hofer <max@nucleus.it>
To: netfilter-devel@lists.netfilter.org,
Pablo Neira Ayuso <pablo@netfilter.org>
Subject: Re: patch for iptables
Date: Mon, 25 Sep 2006 17:56:32 +0200 [thread overview]
Message-ID: <200609251756.32814.max@nucleus.it> (raw)
In-Reply-To: <44EB1A5E.9050304@netfilter.org>
On Tuesday 22 August 2006 4:53 pm, Pablo Neira Ayuso wrote:
> The official policy is "do not break backward" :). IHMO, if we want to
> go further with iptables we need to think about providing a netlink API.
>
> For out-of-tree stuff the thing can be different, I have seen breakages
> if it really required it. For example, the string match is not
> compatible with the old and broken match for 2.4.
I'd like to make it backward compatible, but, so far, I've seen only these
possibilities:
a) put a legacy include in the kernel part (ugly);
b) put a kernel version #ifdef in the userspace part (invasive of the build
system, since, as far as I can tell, no such #defines are present);
c) drop support (it's... well... unsupportive :)).
Of course you could add "d) you're boneheaded and there's a great solution,
it's just that you can't find it". :)
To be frank, I'm not a great fan of userspace build systems that meddle too
much in the kernel, especially if it's just a few structures and you're
committed to keep backward compatibility anyway. It would be more convinient
if, for example, I could build iptables with lots of extension I don't have
in my kernel. It would be even more convenient if I tried to package an RPM
and I didn't want to depend on specific kernel patches being installed.
Anyway, I'd tend to discard a) and would like not to choose c).
Would you accept a patch that introduces kernel version #defines?
Do you have better solutions?
--
Saluti,
Massimiliano Hofer
Nucleus
next prev parent reply other threads:[~2006-09-25 15:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-22 14:34 patch for iptables Massimiliano Hofer
2006-08-22 14:43 ` Massimiliano Hofer
2006-08-22 14:53 ` Pablo Neira Ayuso
2006-08-22 14:57 ` Massimiliano Hofer
2006-09-25 15:56 ` Massimiliano Hofer [this message]
2006-09-25 23:25 ` Pablo Neira Ayuso
2006-09-26 11:23 ` Massimiliano Hofer
[not found] <19c1b8a90804291101x4544818agde26a61a02036c32@mail.gmail.com>
2008-06-03 23:27 ` Patch " Yasuyuki KOZAKAI
2008-06-04 13:17 ` 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=200609251756.32814.max@nucleus.it \
--to=max@nucleus.it \
--cc=netfilter-devel@lists.netfilter.org \
--cc=pablo@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox