All of lore.kernel.org
 help / color / mirror / Atom feed
* DROP policy, serious vulnerability?
@ 2015-03-19  5:51 dE
  2015-03-19  6:43 ` Neal Murphy
  2015-03-19 11:25 ` André Paulsberg-Csibi
  0 siblings, 2 replies; 5+ messages in thread
From: dE @ 2015-03-19  5:51 UTC (permalink / raw)
  To: netfilter

Hi!

I'm using the drop policy for iptables using the following --

iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
iptables -A INPUT -p tcp -j ACCEPT
iptables -A INPUT -p udp -j ACCEPT
iptables -A INPUT -p tcp ! -i lo -m multiport --dports 0:79,81:65535 -m 
state --state NEW -j DROP

Unfortunately, in this configuration, none of the ports get blocks.

This implies that after an ACCEPT, further rules are not matched. Is 
this a bug or intended by design?

If this is by design, how am I supposed to use modules like connlimit 
with DROP policy.

Thanks for any help!

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

end of thread, other threads:[~2015-03-19 11:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19  5:51 DROP policy, serious vulnerability? dE
2015-03-19  6:43 ` Neal Murphy
2015-03-19  7:21   ` dE
2015-03-19 11:25 ` André Paulsberg-Csibi
2015-03-19 11:34   ` Noel Kuntze

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.