All of lore.kernel.org
 help / color / mirror / Atom feed
* chance to impress the suits
@ 2003-02-26 23:57 Jason
  2003-02-27  7:01 ` Joel Newkirk
  0 siblings, 1 reply; 12+ messages in thread
From: Jason @ 2003-02-26 23:57 UTC (permalink / raw)
  To: Netfilter List

Hello,  I have been given a task that I think netfilter is ideal for, but
need a little help.  I need to be able to limit the number of connections
going through a router running netfilter to a max of 500. When I hit 500,
I want to reject any new connections. I know that the iplimit match does
this, but I don't seem to be having any luck getting it to work.  Here is
the scenario..

----                ----                ----
=A =  -> Port 80 -> +NF+  -> Port 80 -> =C =
----                ----                ----

Simple enough.  NF is my netfilter router, A is source, C is destination.
C is an application that when it gets overworked, pretty much tarpits
connecting clients and never lets go.  I have tried many permutations of

iptables -A FORWARD -p tcp -i lan -m state --state NEW -m iplimit
--iplimit-above 1 -j REJECT

with out much luck.  Does anyone have any idea on how to make iplimit in a
router situation work?  Should I apply this to the output chain?

--
Jason Baker
baker@cyborgworkshop.com
www.cyborgworkshop.com


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

end of thread, other threads:[~2003-03-01 17:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-26 23:57 chance to impress the suits Jason
2003-02-27  7:01 ` Joel Newkirk
2003-02-27 12:48   ` Arnt Karlsen
2003-02-27 14:17     ` Jason
2003-02-28  0:40       ` Arnt Karlsen
2003-02-27 21:21         ` Jason
2003-02-28 16:34           ` Arnt Karlsen
2003-02-28 12:53             ` Jason
2003-02-28 19:24               ` Arnt Karlsen
2003-03-01  2:04                 ` Jason
2003-03-01 17:39                   ` Arnt Karlsen
2003-02-27 14:11   ` Jason

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.