All of lore.kernel.org
 help / color / mirror / Atom feed
* -m limit
@ 2002-09-05 19:28 Luís Fernando C. Talora
  2002-09-06  9:51 ` Anders Fugmann
  0 siblings, 1 reply; 2+ messages in thread
From: Luís Fernando C. Talora @ 2002-09-05 19:28 UTC (permalink / raw)
  To: netfilter.org

Fellows,

I'd like some help using ntefilter "limit" module.

If I put something like the following in a firewall script (to limit tcp syn
packets):

# Block tcp syn floods
     $IPTABLES -A FORWARD -p tcp --syn -m limit --limit 1/s -j ACCEPT

        (and then, latter, I put the following)

# Access to my web server
     $IPTABLES -A FORWARD -p tcp -d $MY_WEB_SERVER --dport 80 -j ACCEPT

In this example, will a tcp syn flood be barred by the first line? Is it the
second line allowing more than 1 packet per second? Do I have to use "-m
limit --limit 1/s" on the second line too (and all lines that allow incoming
packets)?

Thank you all!

Regards,

Luís Fernando C. Talora




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

end of thread, other threads:[~2002-09-06  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-05 19:28 -m limit Luís Fernando C. Talora
2002-09-06  9:51 ` Anders Fugmann

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.