Mercurial > repos > other > Puppet
view common/fail2ban/ibb-postfix-spammers.conf @ 171:103a3630e9b2 puppet-3.6
Tighten up some Fail2Ban rules (including SSH probes with only insecure keys)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 06 Feb 2018 20:42:49 +0000 |
parents | eb32a4978a7c |
children |
line wrap: on
line source
# Fail2Ban configuration file # # Author: Cyril Jaquier # # $Revision: 728 $ # [Definition] # Option: failregex # Notes.: regex to match the password failures messages in the logfile. The # host must be matched by a group named "host". The tag "<HOST>" can # be used for standard IP/hostname matching and is only an alias for # (?:::f{4,6}:)?(?P<host>[\w\-.^_]+) # Values: TEXT # failregex = reject: RCPT from (.*)\[<HOST>\]: 55[0-9] .* (blocked using|DO NOT SCRAPE EMAIL ADDRESSES!) .* reject: RCPT from ([^\[]*)\[<HOST>\]: 454 [^:]+: Relay access denied; from=<[^@]+@ibboard.co.uk> # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored. # Values: TEXT # ignoreregex =