diff --git a/CHANGELOG b/CHANGELOG index 432e51ee..bf636128 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -12,6 +12,7 @@ ver. 0.7.2 (2006/??/??) - ??? - Refactoring and code cleanup - Improved client output - Added more get/set commands +- Added more configuration templates ver. 0.7.1 (2006/08/23) - alpha ---------- diff --git a/config/filter.d/couriersmtp.conf b/config/filter.d/couriersmtp.conf new file mode 100644 index 00000000..ec35528b --- /dev/null +++ b/config/filter.d/couriersmtp.conf @@ -0,0 +1,42 @@ +# Fail2Ban configuration file +# +# Author: Cyril Jaquier +# +# $Revision: 267 $ +# + +[Definition] + +# Option: maxretry +# Notes.: number of failures before IP gets banned. +# Values: NUM Default: 5 +# +maxretry = 5 + +# Option: logpath +# Notes.: logfile to monitor. +# Values: FILE Default: /var/log/messages +# +logpath = /var/log/messages + +# Option: timeregex +# Notes.: regex to match timestamp in the logfile. For TAI64N format, +# use timeregex = @[0-9a-f]{24} +# Values: [Mar 7 17:53:28] +# Default: \S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2} +# +timeregex = \S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2} + +# Option: timepattern +# Notes.: format used in "timeregex" fields definition. Note that '%' must be +# escaped with '%' (see http://rgruet.free.fr/PQR2.3.html#timeModule). +# For TAI64N format, use timepattern = tai64n +# Values: TEXT Default: %%b %%d %%H:%%M:%%S +# +timepattern = %%b %%d %%H:%%M:%%S + +# Option: failregex +# Notes.: regex to match the password failures messages in the logfile. +# Values: TEXT Default: Authentication failure|Failed password|Invalid user +# +failregex = error,relay=(?:::f{4,6}:)?(?P\S*),.*550 User unknown