All of lore.kernel.org
 help / color / mirror / Atom feed
* next topic:  --limit and --burst-limit
@ 2002-10-30 18:47 Robert P. J. Day
  2002-10-31  8:24 ` Cedric Blancher
  0 siblings, 1 reply; 10+ messages in thread
From: Robert P. J. Day @ 2002-10-30 18:47 UTC (permalink / raw)
  To: netfilter mailing list


  i've read three different explanations about these options,
and all three disagree with each other.  so let me start with
a simple question or two.

  first, as i read it, you can use the "--limit" option by itself,
without --burst-limit.  if you do that, then this limit is considered
a *hard* limit -- say 5/sec -- and once you hit that limit, you're
done until the next time unit.  is this correct?

  adding "--burst-limit", on the other hand, allows you to exceed
the first limit, but you end up paying for it down the road.
however, i'm still unclear on what the burst-limit represents
and how it gets recharged.  can someone explain this, preferably
with an example containing numbers?  

rday



^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: next topic:  --limit and --burst-limit
@ 2002-10-31 14:47 mailinglists
  0 siblings, 0 replies; 10+ messages in thread
From: mailinglists @ 2002-10-31 14:47 UTC (permalink / raw)
  To: 'Cedric Blancher'; +Cc: netfilter mailing list

> >   from one tutorial, here's the lines that deal with 
> > syn-flooding protection:
> > 
> >   iptables -N syn-flood
> >   iptables -A INPUT -i $IFACE -p tcp --syn -j syn-flood
> >   iptables -A syn-flood -m limit --limit 1/s --limit-burst 
> 4 -j RETURN
> >   iptables -A syn-flood -j DROP

I've just been playing with that, too.

Well, I couldn't stop scans like
nmap -sS -P0 -T Insane ip.address -p 21,22,25,80

However, 'nmap -sS -P0 -T Polite ip.address' works fine with this --limit
specification above.

How am I going to stop something like that?



Thanks,
philipp


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

end of thread, other threads:[~2002-10-31 15:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-30 18:47 next topic: --limit and --burst-limit Robert P. J. Day
2002-10-31  8:24 ` Cedric Blancher
2002-10-31 11:00   ` Robert P. J. Day
2002-10-31 13:51     ` Cedric Blancher
2002-10-31 15:04       ` Robert P. J. Day
2002-10-31 12:15   ` Robert P. J. Day
2002-10-31 14:04     ` Cedric Blancher
2002-10-31 14:27       ` Robert P. J. Day
2002-10-31 15:34         ` Cedric Blancher
  -- strict thread matches above, loose matches on Subject: below --
2002-10-31 14:47 mailinglists

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.