mirror of https://github.com/fail2ban/fail2ban
Update complain.conf
parent
901eeff53d
commit
1bcf0de7c1
|
@ -62,7 +62,7 @@ actioncheck =
|
||||||
# Values: CMD
|
# Values: CMD
|
||||||
#
|
#
|
||||||
actionban = oifs=${IFS};
|
actionban = oifs=${IFS};
|
||||||
REV_IP=$(printf %%s ${IP}. | tac -s.)
|
REV_IP=$(printf %%s <ip>. | tac -s.)
|
||||||
ADDRESSES=$(dig +short -t txt -q ${REV_IP}abuse-contacts.abusix.org)
|
ADDRESSES=$(dig +short -t txt -q ${REV_IP}abuse-contacts.abusix.org)
|
||||||
IFS=,; ADDRESSES=$(echo $ADDRESSES)
|
IFS=,; ADDRESSES=$(echo $ADDRESSES)
|
||||||
IFS=${oifs}
|
IFS=${oifs}
|
||||||
|
|
Loading…
Reference in New Issue