mirror of https://github.com/fail2ban/fail2ban
BF: escape quotes when splitting addresses for xarf
parent
1846056606
commit
8aead9ab79
|
@ -52,7 +52,7 @@ actionban = oifs=${IFS}; IFS=.;SEP_IP=( <ip> ); set -- ${SEP_IP} ;ADDRESSES=$(di
|
|||
(printf -- %%b "<header>\n<message>\n<report>\n${MATCHES}\n";
|
||||
date '+Note: Local timezone is %%z (%%Z)';
|
||||
tail -n <loglines> <logpath> | grep '[^0-9]<ip>[^0-9]';
|
||||
printf -- %%b "<footer>") | <mailcmd> <mailargs> ${ADDRESSES//,/" "}
|
||||
printf -- %%b "<footer>") | <mailcmd> <mailargs> ${ADDRESSES//,/\" \"}
|
||||
fi
|
||||
|
||||
actionunban =
|
||||
|
|
Loading…
Reference in New Issue