From: Rusty Russell <rusty@rustcorp.com.au>
To: Pablo Neira <pablo@eurodev.net>
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: Re: [PATCH 1/2] Versioning (aka release) stuff for iptables
Date: Mon, 03 Jan 2005 20:47:23 +1100 [thread overview]
Message-ID: <1104745643.14092.7.camel@localhost.localdomain> (raw)
In-Reply-To: <41D71C82.7060101@eurodev.net>
On Sat, 2005-01-01 at 22:56 +0100, Pablo Neira wrote:
> multiport-remove-late-check.patch:
> Remove a checking in kernel space which makes sures that the parameters
> passed are correct, that's already done in user space where this thing
> really belongs.
I've rolled this into the other kernel patch, after some thought. The
previous policy was that iptables should not be able to crash the
kernel, however that means a lot of gratuitous checking in the kernel
that is far more useful if done in userspace (where the error messages
can be more informative).
> multiport_v2.patch:
> the revision 1 of multiport. Actually this merges current mport in the
> SVN repository to multiport.
I've put this in my patch collection.
> iptables-multiport_v2.patch:
> iptables user space part.
Applied and committed.
> multiport.sim:
> a testsuite to check that new version works fine (incomplete).
I reworked this to be thorough and test one thing at a time, and split
the test into revision 0 things, and revision 1 things. As a result, I
found a bug in the userspace part (checks protocol, but not that it
isn't inverted), and in the kernel part (--ports only examined
destination ports, not source).
Fixed, and thanks!
> BTW, if you need this. Signed-off-by: Pablo Neira Ayuso <pablo@eurodev.net>
Please read part (11) of Documentation/SubmittingPatches in the kernel
source tree. If you're fine by that, attach it to future patches.
Thanks!
Rusty.
--
A bad analogy is like a leaky screwdriver -- Richard Braakman
prev parent reply other threads:[~2005-01-03 9:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-25 21:31 [PATCH 1/2] Versioning (aka release) stuff for iptables Pablo Neira
2004-12-29 6:30 ` Rusty Russell
2005-01-01 21:56 ` Pablo Neira
2005-01-03 9:47 ` Rusty Russell [this message]
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=1104745643.14092.7.camel@localhost.localdomain \
--to=rusty@rustcorp.com.au \
--cc=netfilter-devel@lists.netfilter.org \
--cc=pablo@eurodev.net \
/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.