All of lore.kernel.org
 help / color / mirror / Atom feed
* multiport needs `-p tcp', `-p udp' - Why?
@ 2010-02-27 15:03 U. George
  2010-02-27 15:06 ` ratheesh k
  0 siblings, 1 reply; 14+ messages in thread
From: U. George @ 2010-02-27 15:03 UTC (permalink / raw)
  To: netfilter

In order to get to the chain, the protocol, as well as the interface 
must match. PRE_UDP if already filtered for "-p udp" . So why does 
multiport require another check for -p udp? Does it really need to have 
that option in order for it to work?

> + /sbin/iptables -t filter -N PRE_UDP
> + /sbin/iptables -t filter -A INPUT -i eth1 -p udp -j PRE_UDP
> + /sbin/iptables -t filter -A PRE_UDP -m multiport --dport 137,138,139,512,514,515,1433,1434 -j DROP
> iptables v1.4.5: multiport needs `-p tcp', `-p udp', `-p udplite', `-p sctp' or `-p dccp'
> Try `iptables -h' or 'iptables --help' for more information.




^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <4b8984a7.0ab6660a.24bd.1f7f@mx.google.com>]

end of thread, other threads:[~2010-02-28 15:17 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-27 15:03 multiport needs `-p tcp', `-p udp' - Why? U. George
2010-02-27 15:06 ` ratheesh k
2010-02-27 16:17   ` U. George
2010-02-27 16:46     ` ratheesh k
2010-02-27 17:28       ` U. George
2010-02-27 17:18     ` Dennis J.
2010-02-28  6:54     ` Mart Frauenlob
2010-02-28 10:53       ` ratheesh k
2010-02-28 13:59       ` U. George
2010-02-28 14:41         ` Mart Frauenlob
2010-02-28 15:17           ` U. George
     [not found] <4b8984a7.0ab6660a.24bd.1f7f@mx.google.com>
2010-02-27 21:14 ` U. George
2010-02-28  4:46   ` ratheesh k
2010-02-28  6:38     ` Mart Frauenlob

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.