From: Tom Eastep <teastep@shorewall.net>
To: netfilter-devel@lists.netfilter.org
Cc: Patrick McHardy <kaber@trash.net>
Subject: Re: new iptables policy match
Date: Fri, 20 Jan 2006 07:54:40 -0800 [thread overview]
Message-ID: <200601200754.40865.teastep@shorewall.net> (raw)
In-Reply-To: <43C616B1.6060101@trash.net>
[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]
On Thursday 12 January 2006 00:43, Patrick McHardy wrote:
>
> Yes, --next is needed only if your policy has multiple elements, like
> "--mode tunnel --tunnel-src 1.2.3.4/32 --next --mode transform". I'll
> fix up the userspace part to reject this incorrect use.
The second of those patches (Revision 6395 -- Move empty policy element check
to also catch last element) has broken compatibility with previous versions
of policy match.
Previously, the following command succeeded and matched any traffic that is to
be subsequently transformed:
gw:~ # iptables -A foo -m policy --pol ipsec --dir out -j ACCEPT
iptables v1.3.4: policy match: empty policy element
Try `iptables -h' or 'iptables --help' for more information.
gw:~ #
Is this incompatibility intentional? If so, I need to change Shorewall
accordingly.
Thanks,
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net
PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-01-20 15:54 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-11 16:17 new iptables policy match Marco Berizzi
2006-01-12 4:07 ` Patrick McHardy
2006-01-12 8:30 ` Marco Berizzi
2006-01-12 8:43 ` Patrick McHardy
2006-01-12 10:38 ` Marco Berizzi
2006-01-12 10:42 ` Patrick McHardy
2006-01-12 10:48 ` Marco Berizzi
2006-01-12 10:53 ` Patrick McHardy
2006-01-12 11:23 ` Marco Berizzi
2006-01-12 12:33 ` Patrick McHardy
2006-01-12 14:37 ` Marco Berizzi
2006-01-12 16:31 ` Patrick McHardy
2006-01-20 15:54 ` Tom Eastep [this message]
2006-01-22 13:38 ` Patrick McHardy
2006-01-12 9:41 ` Patrick McHardy
-- strict thread matches above, loose matches on Subject: below --
2006-01-12 17:59 Greg Scott
2006-01-13 7:01 ` Patrick McHardy
2006-01-13 21:18 Greg Scott
2006-01-14 16:22 ` 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=200601200754.40865.teastep@shorewall.net \
--to=teastep@shorewall.net \
--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.