Dear,
I´m in debain 6.0.6 with kernel 2.6.32-5-xen-amd64I wanna use those iptables lines
/sbin/iptables -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --set
/sbin/iptables -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --update --seconds 60 --hitcount 30 -j DROP
/sbin/iptables -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --set
/sbin/iptables -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --update --seconds 60 --hitcount 30 -j DROP
I found that hitcount by default is 20. I need at least 30.
I add this line in /etc/modprobe.d/options (i created this file)
options ipt_recent ipt_pkt_list_tot=30
options ipt_recent ipt_pkt_list_tot=30
So, I restart server and I run those two lines of iptables, but in dmesg show this error and the module doesn´t load.
xt_recent: Unknown parameter `ipt_pkt_list_tot'
xt_recent: Unknown parameter `ipt_pkt_list_tot'
Do you have any solution for this?
thanks
Samuel Rios Carvalho
No comments:
Post a Comment