mirror of https://github.com/fail2ban/fail2ban
Remove double-quotes from email addresses
parent
1bcf0de7c1
commit
58c68b75f0
|
@ -63,7 +63,7 @@ actioncheck =
|
||||||
#
|
#
|
||||||
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 | tr -d '"')
|
||||||
IFS=,; ADDRESSES=$(echo $ADDRESSES)
|
IFS=,; ADDRESSES=$(echo $ADDRESSES)
|
||||||
IFS=${oifs}
|
IFS=${oifs}
|
||||||
IP=<ip>
|
IP=<ip>
|
||||||
|
|
Loading…
Reference in New Issue