I have been searching the list for a way to rate limit smtp connections by ip 
and this looks like what I want but everytime i drop it into my iptables config 
it does not allow me to connect on port 25 
 
Centos 5 with all updates 
 
 
-I INPUT -p tcp --dport 25 -i eth0 -m state --state NEW -m recent --set
-I INPUT -p tcp --dport 25 -i eth0 -m state --state NEW -m recent --update 
--seconds 60 --hitcount 10 -j DROP
 
thanks
Q
 

Reply via email to