All pastes #160815 Raw Edit

Stuff

public text v1 · immutable
·published 2006-09-04 18:59 UTC
rendered paste body
iptables -N HTTP_CHECK
iptables -A INPUT -p tcp --dport 80 -m state --state NEW -j HTTP_CHECK
iptables -A HTTP_CHECK -m state --state NEW -m recent --set --name HTTP
iptables -A HTTP_CHECK -m state --state NEW -m recent --update --seconds 1 --hitcount 2 --name HTTP
iptables -A HTTP_CHECK -m state --state NEW -m recent --rcheck --seconds 1 --hitcount 2 --name HTTP -j DROP