Linux Netfilter discussions
 help / color / mirror / Atom feed
* invert problem with multiport
@ 2002-06-18 15:50 Christoph Gossen
  2002-06-18 16:18 ` Antony Stone
  2002-06-18 22:18 ` Stewart Thompson
  0 siblings, 2 replies; 4+ messages in thread
From: Christoph Gossen @ 2002-06-18 15:50 UTC (permalink / raw)
  To: netfilter

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-06-19  8:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-18 15:50 invert problem with multiport Christoph Gossen
2002-06-18 16:18 ` Antony Stone
2002-06-19  8:12   ` Christoph Gossen
2002-06-18 22:18 ` Stewart Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox