3 Nov
2002
3 Nov
'02
14:45
Just realised I had assumed the key statement in the iptables definition. iptables -N THROTTLE iptables -A THROTTLE -p tcp --dport 25 -m limit --limit nn/sec --limit-burst mm -j ACCEPT # You can throttle other services here too. iptables -A THROTTLE -j REJECT # Uses REJECT to be fair on valid servers. Remember the servers sending you mail are victims too. iptables -I INPUT xx -p tcp --dport 25 -m state NEW -j THROTTLE John