Skip to contentSkip to conversation

hashlimit rule problem with port 80

DISCUSSION J. Bakshi 1 participant 1 message Jan 13, 2010

lore
Share & tools
lore

J. Bakshi

author
#0 lore raw

Hello list,

I have configured the hashlimit to protect port 80 (http) from apache benchmark and related attack. The rule is

` ` `
iptables -A INPUT -p tcp -m state --state NEW --dport 80 -m hashlimit \
--hashlimit 200/sec --hashlimit-burst 5 --hashlimit-htable-expire 18000 \
--hashlimit-mode srcip --hashlimit-name http -j ACCEPT
` ` `
But I have found this rule is not protecting the apache and apache is flooded by apache benchmark attack.
Have I done some thing wrong in my rule set ?
Please suggest.
Thanks

Signature · 1 line
জয়দীপ বক্সী