Merge branch 'yarikoptic/bf/recidive-mail' into 0.8

Conflicts:
	ChangeLog
        - Additions in both branches kept
pull/707/head
Steven Hiscocks 2014-04-18 23:00:46 +01:00
commit 3a1a1f3ad7
3 changed files with 4 additions and 2 deletions

View File

@ -16,6 +16,8 @@ ver. 0.8.14 (2014/??/??) - take-care-of-the-elderly
error messages
- tests - fixed few "leaky" file descriptors when files were not closed while
being removed physically
- grep in mail*-whois-lines.conf now also matches end of line to work
with the recidive filter
ver. 0.8.13 (2014/03/15) - maintenance-only-from-now-on

View File

@ -42,7 +42,7 @@ actionban = printf %%b "Hi,\n
Here is more information about <ip>:\n
`whois <ip> || echo missing whois program`\n\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
Fail2Ban"|mail -s "[Fail2Ban] <name>: banned <ip> from `uname -n`" <dest>

View File

@ -58,7 +58,7 @@ actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip> from `uname -n`
Here is more information about <ip>:\n
`/usr/bin/whois <ip> || echo missing whois program`\n\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
Fail2Ban" | /usr/sbin/sendmail -f <sender> <dest>