All of lore.kernel.org
 help / color / mirror / Atom feed
* ftp hammer rule help
@ 2002-10-01  2:53 Adam De Paolis
  2002-10-01  3:16 ` Stephen Frost
  0 siblings, 1 reply; 2+ messages in thread
From: Adam De Paolis @ 2002-10-01  2:53 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

I am trying to create a rule which will prevent users from hammering my ftp site when its busy. A rule which say will drop userlogin if their is 3 attempts in 1 minute.

I believe the match recent rule is what I need to get working but I don't have it working.  This is what I have so far (thanks to stephen frost, but it doesnt seem to work. 

The firewall machine is my ftp server, both are on the same computer:

iptables -A FORWARD -m recent --name ftpconn --rcheck --seconds 60 --hitcount 3 -j DROP
iptables -A FORWARD -p tcp -d aa.bb.cc.dd/32 --dport 21 -m recent --name ftpconn --set -j DRO

[-- Attachment #2: Type: text/html, Size: 1220 bytes --]

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

end of thread, other threads:[~2002-10-01  3:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-01  2:53 ftp hammer rule help Adam De Paolis
2002-10-01  3:16 ` Stephen Frost

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.