|
|
@ -42,7 +42,7 @@ actionban = printf %%b "Hi,\n
|
|
|
|
Here is more information about <ip>:\n
|
|
|
|
Here is more information about <ip>:\n
|
|
|
|
`whois <ip> || echo missing whois program`\n\n
|
|
|
|
`whois <ip> || echo missing whois program`\n\n
|
|
|
|
Lines containing IP:<ip> in <logpath>\n
|
|
|
|
Lines containing IP:<ip> in <logpath>\n
|
|
|
|
`grep '[^0-9]<ip>[^0-9]' <logpath>`\n\n
|
|
|
|
`grep -E '(^|[^0-9])<ip>([^0-9]|$)' <logpath>`\n\n
|
|
|
|
Regards,\n
|
|
|
|
Regards,\n
|
|
|
|
Fail2Ban"|mail -s "[Fail2Ban] <name>: banned <ip> from `uname -n`" <dest>
|
|
|
|
Fail2Ban"|mail -s "[Fail2Ban] <name>: banned <ip> from `uname -n`" <dest>
|
|
|
|
|
|
|
|
|
|
|
|