Subversion Repositories ALCASAR

Rev

Rev 2271 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 2271 Rev 2272
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
# $Id: fail2ban.sh 2271 2017-06-04 18:45:27Z tom.houdayer $
2
# $Id: fail2ban.sh 2272 2017-06-04 19:03:43Z tom.houdayer $
3
 
3
 
4
FAIL_CONF="/etc/fail2ban/fail2ban.conf"
4
FAIL_CONF="/etc/fail2ban/fail2ban.conf"
5
JAIL_CONF="/etc/fail2ban/jail.conf"
5
JAIL_CONF="/etc/fail2ban/jail.conf"
6
DIR_FILTER="/etc/fail2ban/filter.d/"
6
DIR_FILTER="/etc/fail2ban/filter.d/"
7
ACTION_ALLPORTS="/etc/fail2ban/action.d/iptables-allports.conf"
7
ACTION_ALLPORTS="/etc/fail2ban/action.d/iptables-allports.conf"
Line 262... Line 262...
262
#          host must be matched by a group named "host". The tag "<HOST>" can
262
#          host must be matched by a group named "host". The tag "<HOST>" can
263
#          be used for standard IP/hostname matching and is only an alias for
263
#          be used for standard IP/hostname matching and is only an alias for
264
#          (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
264
#          (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
265
# Values:  TEXT
265
# Values:  TEXT
266
#
266
#
267
failregex = \[<HOST>\] \"POST \/pass
267
failregex = \[<HOST>\] \"POST \/password\.php
268
 
268
 
269
 
269
 
270
# Option:  ignoreregex
270
# Option:  ignoreregex
271
# Notes.:  regex to ignore. If this regex matches, the line is ignored.
271
# Notes.:  regex to ignore. If this regex matches, the line is ignored.
272
# Values:  TEXT
272
# Values:  TEXT