mirror of https://github.com/fail2ban/fail2ban
BF: remove debugging tee command on xarf-login-attack
parent
9c1a679b7f
commit
9df5f4eec8
|
@ -42,7 +42,7 @@ actionban = ADDRESSES=`querycontacts <ip>`
|
||||||
(printf -- %%b "<header>\n<message>\n<report>\n${MATCHES}\n";
|
(printf -- %%b "<header>\n<message>\n<report>\n${MATCHES}\n";
|
||||||
date '+Note: Local timezone is %%z (%%Z)';
|
date '+Note: Local timezone is %%z (%%Z)';
|
||||||
tail -n <loglines> <logpath> | grep '[^0-9]<ip>[^0-9]';
|
tail -n <loglines> <logpath> | grep '[^0-9]<ip>[^0-9]';
|
||||||
printf -- %%b "<footer>") | tee /tmp/message | <mailcmd> "abuse report about <ip> - $DATE" <mailargs> $ADDRESSES
|
printf -- %%b "<footer>") | <mailcmd> "abuse report about <ip> - $DATE" <mailargs> $ADDRESSES
|
||||||
fi
|
fi
|
||||||
|
|
||||||
actionunban =
|
actionunban =
|
||||||
|
|
Loading…
Reference in New Issue