From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Patrick McHardy <kaber@trash.net>,
Netfilter Developer Mailing List
<netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH 4/7] xt_mark match rev 1
Date: Sat, 15 Dec 2007 16:55:42 +0100 [thread overview]
Message-ID: <4763F8FE.5040607@netfilter.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0712151322150.22877@fbirervta.pbzchgretzou.qr>
Jan Engelhardt wrote:
> On Dec 11 2007 11:25, Patrick McHardy wrote:
>> Jan Engelhardt wrote:
>>> Introduce the xt_mark match revision 1. It uses fixed types,
>>> with the goal of obsoleting revision 0 some day (uses nonfixed types).
>> I don't know. We already have all this compat crap because
>> we specifically don't want to obsolete old userspace binaries,
>> so the only benefit I see is a minor decrease in overhead
>> when loading rules.
>>
> There are two sorts of compatibility.
>
> * "Post-breakage fixes" like ->compat_from_user and ->compat_to_user
> which have to deal with 32-bit user / 64-bit kernel
>
> * ->revision which is a good architecture to keep older interfaces a
> little longer.
>
> The ->revision game is ok IMHO; there will always be revision
> differences between user- and k-space, and it is a nice architecture
> for new-behavior revisions. But the ->compat* fluff is not really
> needed anymore once switched to fixed types everywhere (reasonable
> time needed).
The revision thing was a hack that I introduced myself to let us add
several improvements that we really needed at that time, actually it is
not something we should abuse IMO.
> Old revisions should be purged after a "reasonable time" (whatever
> that means for everyone), or perhaps whenever there is a Linux kernel
> version with a trailing .0 (2.7.0, 2.8.0), or when great new things
> appear (pkttables, or whatever is in the works).
>
> I think the step should better be made now than later, or this cruft
> will be carried for the next 10 instead of 5 years.
I hope that we'll get that long-awaited netlink interface for iptables
before those 10 years goes by and we all become museum pieces :)
--
"Los honestos son inadaptados sociales" -- Les Luthiers
next prev parent reply other threads:[~2007-12-15 15:56 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-07 2:35 [PATCH 1/7] Use %u format specifiers Jan Engelhardt
2007-12-07 2:36 ` [PATCH 2/7] Introduce nf_inet_address Jan Engelhardt
2007-12-11 10:16 ` Patrick McHardy
2007-12-15 12:06 ` Jan Engelhardt
2007-12-15 16:21 ` Jan Engelhardt
2007-12-17 12:52 ` Patrick McHardy
2007-12-17 12:28 ` Patrick McHardy
2007-12-17 12:51 ` Jan Engelhardt
2007-12-17 13:00 ` Patrick McHardy
2007-12-07 2:40 ` [PATCH 3/7] xt_connlimit rev 1 Jan Engelhardt
2007-12-11 10:19 ` Patrick McHardy
2007-12-15 12:20 ` [PATCH 3/7] Let xt_connlimit use nf_inet_addr Jan Engelhardt
2007-12-17 12:33 ` Patrick McHardy
2007-12-17 12:52 ` Jan Engelhardt
2007-12-17 12:54 ` Patrick McHardy
2007-12-07 2:41 ` [PATCH 4/7] xt_mark match rev 1 Jan Engelhardt
2007-12-11 10:25 ` Patrick McHardy
2007-12-15 12:28 ` Jan Engelhardt
2007-12-15 15:55 ` Pablo Neira Ayuso [this message]
2007-12-15 16:10 ` Jan Engelhardt
2007-12-15 16:42 ` Pablo Neira Ayuso
2007-12-15 21:26 ` Jan Engelhardt
2007-12-17 12:49 ` Patrick McHardy
2007-12-17 12:47 ` Patrick McHardy
2007-12-17 13:08 ` Pablo Neira Ayuso
2007-12-17 13:44 ` Patrick McHardy
2007-12-17 12:37 ` Patrick McHardy
2007-12-17 12:55 ` Jan Engelhardt
2007-12-07 2:41 ` [PATCH 5/7] xt_MARK target rev 2 Jan Engelhardt
2007-12-11 10:27 ` Patrick McHardy
2007-12-15 13:59 ` Jan Engelhardt
2007-12-15 14:47 ` Jan Engelhardt
2007-12-07 2:42 ` [PATCH 6/7] xt_connmark rev 1 Jan Engelhardt
2007-12-07 2:42 ` [PATCH 7/7] xt_CONNMARK " Jan Engelhardt
2007-12-11 10:13 ` [PATCH 1/7] Use %u format specifiers 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=4763F8FE.5040607@netfilter.org \
--to=pablo@netfilter.org \
--cc=jengelh@computergmbh.de \
--cc=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.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.