[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables e fail2ban - tarpit spammers



On 16/11/2011 11:48, Liga wrote:
ciao,
ho installato fail2ban, sul mio mailserver, funziona con la policy drop, ma non riesco a implementare il TARPIT:

# Option:  actionban
# Notes.:  command executed when banning an IP. Take care that the
#          command is executed with Fail2Ban user rights.
# Tags:    <ip>  IP address
#          <failures>  number of failures
#          <time>  unix timestamp of the ban time
# Values:  CMD
#
actionban = iptables -I fail2ban-<name> 1 -s <ip> -j DROP
#actionban = iptables -I fail2ban-<name> 1 -s <ip> -j TARPIT

questa viene espansa in:
# iptables -D fail2ban-mailserver -s IP.x.x.x -j TARPIT
iptables: No chain/target/match by that name.

Reply to: