diff --git a/CHANGELOG b/CHANGELOG index 823ab2d6..65d5ceb2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -11,6 +11,7 @@ ver. 0.8.1 (2007/??/??) - stable ---------- - Fixed vulnerability in sshd.conf. Thanks to Daniel B. Cid - Expand in ignoreregex. Thanks to Yaroslav Halchenko +- Improved regular expressions. Thanks to Yaroslav Halchenko ver. 0.8.0 (2007/05/03) - stable ---------- diff --git a/config/filter.d/pure-ftpd.conf b/config/filter.d/pure-ftpd.conf index 31557468..1933d6e0 100644 --- a/config/filter.d/pure-ftpd.conf +++ b/config/filter.d/pure-ftpd.conf @@ -19,7 +19,7 @@ __errmsg = (?:Authentication failed for user|Erreur d'authentification pour l'ut # (?:::f{4,6}:)?(?P\S+) # Values: TEXT # -failregex = pure-ftpd: (.+?@) \[WARNING\] %(__errmsg)s \[.+\]$ +failregex = pure-ftpd(?:\[\d+\])?: (.+?@) \[WARNING\] %(__errmsg)s \[.+\]$ # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored. diff --git a/config/filter.d/sshd-ddos.conf b/config/filter.d/sshd-ddos.conf index 2a907e88..9720ab4a 100644 --- a/config/filter.d/sshd-ddos.conf +++ b/config/filter.d/sshd-ddos.conf @@ -14,7 +14,7 @@ # (?:::f{4,6}:)?(?P\S+) # Values: TEXT # -failregex = sshd\[\S*\]: Did not receive identification string from +failregex = sshd(?:\[\d+\])?: Did not receive identification string from $ # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored. diff --git a/config/filter.d/vsftpd.conf b/config/filter.d/vsftpd.conf index 34e3da92..3c4bb11b 100644 --- a/config/filter.d/vsftpd.conf +++ b/config/filter.d/vsftpd.conf @@ -14,7 +14,7 @@ # (?:::f{4,6}:)?(?P\S+) # Values: TEXT # -failregex = vsftpd: .* authentication failure; .* rhost=$ +failregex = vsftpd(?:\[\d+\])?: .* authentication failure; .* rhost=$ \[.+\] FAIL LOGIN: Client ""$ # Option: ignoreregex diff --git a/config/filter.d/wuftpd.conf b/config/filter.d/wuftpd.conf index e7981e1e..2d08022d 100644 --- a/config/filter.d/wuftpd.conf +++ b/config/filter.d/wuftpd.conf @@ -2,7 +2,7 @@ # # Author: Yaroslav Halchenko # -# $Revision: $ +# $Revision$ # [Definition] @@ -11,4 +11,4 @@ # Notes.: regex to match the password failures messages in the logfile. # Values: TEXT # -failregex = wu-ftpd\[\d+\]:\s+\(pam_unix\)\s+authentication failure.* rhost= +failregex = wu-ftpd(?:\[\d+\])?:\s+\(pam_unix\)\s+authentication failure.* rhost=$