From: Christoph Gossen <gosen@conterra.de>
To: netfilter@lists.samba.org
Subject: invert problem with multiport
Date: Tue, 18 Jun 2002 17:50:17 +0200 [thread overview]
Message-ID: <3D0F56B9.5952D779@conterra.de> (raw)
Hello,
I think there's a bug in the behaviour of the multiport module - for
example, a line like
iptables -p tcp -A OUTPUT -m multiport ! --dport 25 -j DROP
causes the same behaviour as
iptables -p tcp -A OUTPUT -m multiport --dport 25 -j DROP
or
iptables -p tcp -A OUTPUT --dport 25 -j DROP
and NOT (as one would expect) that one caused by
iptables -p tcp -A OUTPUT ! --dport 25 -j DROP
Inverting the (set of) port(s) due to the "!" sign in the first line
above is just ignored
(no syntax error occures)!
Any comments?
Thanks,
Christoph
next reply other threads:[~2002-06-18 15:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-18 15:50 Christoph Gossen [this message]
2002-06-18 16:18 ` invert problem with multiport Antony Stone
2002-06-19 8:12 ` Christoph Gossen
2002-06-18 22:18 ` Stewart Thompson
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=3D0F56B9.5952D779@conterra.de \
--to=gosen@conterra.de \
--cc=netfilter@lists.samba.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