Saturday, August 16, 2008

Shorewall and Limit: how to reset a Limit counter

...i have still no ide how to reset the counter in /proc/net/ipt_recent/

but found a way to circumvent the blocking of an address for some time:

1. sudo iptables -L | grep -e "Chain.*%Limit\([0-9]\+\)\? "
 - this lists all the Limit Chains
2. sudo iptables -I %Limit -m recent --name SSHA --remove -s IPADDRESS
 - in case the Chain is calld %Limit and the name for the recent module is SSHA


References:

No comments: