Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




webappsec logo WebApp Sec mailing list archives

Re: Combatting automated download of dynamic websites?
From: Achim Hoffmann <kirke11 () securenet de>
Date: Wed, 31 Aug 2005 22:47:31 +0200 (MEST)


On Mon, 29 Aug 2005, Matthijs R. Koot wrote:

!! In specific, I was wondering if it's possible and sensible to limit the
!! allowed number of requests for certain pages per minute/hour.

how about using iptables (if available on your system/router in front):

iptables -A FORWARD -p tcp --dport 80 -d <IP>   --syn -m dstlimit --dstlimit-mode srcipdstip-dstport --dstlimit 1/sec 
-j ACCEPT
iptables -A FORWARD -p tcp --dport 80 -d <IP> ! --syn -j ACCEPT
iptables -A FORWARD -p tcp --dport 80 -d <IP>   --syn -j DROP
# allows an average of 1 syn/sec and max. 5 syns in a burst, see iptables'
# man-page for more details

{-: Achim



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]