[PATCH 1/2] Versioning (aka release) stuff for iptables

Rusty Russell rusty at rustcorp.com.au
Wed Dec 29 07:30:16 CET 2004


On Sat, 2004-12-25 at 22:31 +0100, Pablo Neira wrote:
> Hi Rusty,
> 
> I've been working on the versioning stuff last days. I've tested with 
> the mark target.

Hi Pablo,

	I've taken your patches and hacked on them again.  I thought for a long
time about the compatibility question, and decided that we need a kernel
mechanism for querying versions of things as well.  This makes life much
easier, as then all versions can register with iptables and it can
figure out which one to use.

Enclosed is a series of four kernel patches, and one iptables patch:

iptables-cleanup-kmod-handling.patch.gz:
        Clean up the kmod handling in iptables, inspired by reading your
        patch 8)

compat-pabli.patch.gz:
        Your "steal the byte" versioning code.  I used the term
        "revision", but it's the same code.

iptables-revisions.patch.gz:
        New getsockopts which test whether a revision is available, and
        return the maximum revision available.

compat-MARK.patch.gz:
        The new version of ipt_MARK.

iptables-userspace.patch.gz:
        The iptables.c code to handle different revisions, and the
        libipt_MARK.c revision 1.  Has some other crap in there (SVN
        seems broken?).
        
It seems to work here... thoughts?
Rusty.
-- 
A bad analogy is like a leaky screwdriver -- Richard Braakman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compat-MARK.patch.gz
Type: application/x-gzip
Size: 1558 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20041229/9a34faae/compat-MARK.patch.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compat-pablo.patch.gz
Type: application/x-gzip
Size: 1663 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20041229/9a34faae/compat-pablo.patch.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iptables-cleanup-kmod-handling.patch.gz
Type: application/x-gzip
Size: 2938 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20041229/9a34faae/iptables-cleanup-kmod-handling.patch.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iptables-revisions.patch.gz
Type: application/x-gzip
Size: 1330 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20041229/9a34faae/iptables-revisions.patch.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iptables-userspace.patch.gz
Type: application/x-gzip
Size: 3702 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20041229/9a34faae/iptables-userspace.patch.bin


More information about the netfilter-devel mailing list