- Added missing svn:keywords

- Split failregex in sshd.conf
- Added sshd-ddos.conf. Thanks to Yaroslav Halchenko

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@510 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 2007-01-04 12:21:44 +00:00
parent 7719c00d37
commit 44d75eb54f
14 changed files with 37 additions and 13 deletions

View File

@ -3,7 +3,7 @@
# Author: Nick Munger
# Modified by: Cyril Jaquier
#
# $Revision: 254 $
# $Revision$
#
[Definition]

View File

@ -2,7 +2,7 @@
#
# Author: Cyril Jaquier
#
# $Revision: 254 $
# $Revision$
#
[Definition]

View File

@ -2,7 +2,7 @@
#
# Author: Cyril Jaquier
#
# $Revision: 254 $
# $Revision$
#
[Definition]

View File

@ -2,7 +2,7 @@
#
# Author: Cyril Jaquier
#
# $Revision: 394 $
# $Revision$
#
[Definition]

View File

@ -2,7 +2,7 @@
#
# Author: Cyril Jaquier
#
# $Revision: 394 $
# $Revision$
#
[Definition]

View File

@ -3,7 +3,7 @@
# Author: Christoph Haas
# Modified by: Cyril Jaquier
#
# $Revision: 267 $
# $Revision$
#
[Definition]

View File

@ -2,7 +2,7 @@
#
# Author: Cyril Jaquier
#
# $Revision: 267 $
# $Revision$
#
[Definition]

View File

@ -2,7 +2,7 @@
#
# Author: Cyril Jaquier
#
# $Revision: 267 $
# $Revision$
#
[Definition]

View File

@ -2,7 +2,7 @@
#
# Author: Cyril Jaquier
#
# $Revision: 267 $
# $Revision$
#
[Definition]

View File

@ -2,7 +2,7 @@
#
# Author: Yaroslav Halchenko
#
# $Revision: 331 $
# $Revision$
#
[Definition]

View File

@ -2,7 +2,7 @@
#
# Author: Cyril Jaquier
#
# $Revision: 267 $
# $Revision$
#
[Definition]

View File

@ -2,7 +2,7 @@
#
# Author: Yaroslav Halchenko
#
# $Revision: 331 $
# $Revision$
#
[Definition]

View File

@ -0,0 +1,23 @@
# Fail2Ban configuration file
#
# Author: Yaroslav Halchenko
#
# $Revision$
#
[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>\S+)
# Values: TEXT
#
failregex = sshd\[\S*\]: Did not receive identification string from <HOST>
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT
#
ignoreregex =

View File

@ -14,7 +14,8 @@
# (?:::f{4,6}:)?(?P<host>\S+)
# Values: TEXT
#
failregex = (?:(?:Authentication failure|Failed [-/\w+]+) for(?: [iI](?:llegal|nvalid) user)?|[Ii](?:llegal|nvalid) user|ROOT LOGIN REFUSED) .*(?: from|FROM) <HOST>
failregex = (?:Authentication failure|Failed [-/\w+]+) for(?: [iI](?:llegal|nvalid))? user .*(?: from|FROM) <HOST>
ROOT LOGIN REFUSED .*(?: from|FROM) <HOST>
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.