diff --git a/ChangeLog b/ChangeLog index d19c1c4c..e9cc2b79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,8 +18,9 @@ ver. 0.8.11 (2013/XX/XXX) - wanna-be-released Daniel Black * filter.d/{asterisk,assp,dovecot,proftpd}.conf -- regex hardening and extra failure examples in sample logs - ->>>>>>> 9940cd1b6b0146c2a088edab611e8d77e1d2984d + Daniel Black & Georgiy Mernov + * filter.d/exim.conf -- regex hardening and extra failure examples in + sample logs ver. 0.8.10 (2013/06/12) - wanna-be-secure ----------- diff --git a/THANKS b/THANKS index ba33b766..05c46561 100644 --- a/THANKS +++ b/THANKS @@ -18,6 +18,7 @@ Daniel Black David Nutter Eric Gerbier Enrico Labedzki +Georgiy Mernov Guillaume Delvit Hanno 'Rince' Wagner Iain Lea diff --git a/config/filter.d/exim.conf b/config/filter.d/exim.conf index b846e992..d335c9fc 100644 --- a/config/filter.d/exim.conf +++ b/config/filter.d/exim.conf @@ -13,8 +13,8 @@ # (?:::f{4,6}:)?(?P[\w\-.^_]+) # Values: TEXT # -failregex = \[\] .*(?:rejected by local_scan|Unrouteable address) - login authenticator failed for .* \[\]: 535 Incorrect authentication data \(set_id=.*\)\s*$ +failregex = ^ H=\S+ \(\S+\) \[\] sender verify fail for <\S+>: (?:rejected by local_scan|Unrouteable address)\s*$ + ^ login authenticator failed for (\S+ )?\(\S+\) \[\]: 535 Incorrect authentication data( \(set_id=.*\)|: \d+ Time\(s\))?\s*$ # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored. diff --git a/testcases/files/logs/exim b/testcases/files/logs/exim index dd507379..d86b6455 100644 --- a/testcases/files/logs/exim +++ b/testcases/files/logs/exim @@ -1,2 +1,6 @@ # From IRC 2013-01-04 2013-01-04 17:03:46 login authenticator failed for rrcs-24-106-174-74.se.biz.rr.com ([192.168.2.33]) [24.106.174.74]: 535 Incorrect authentication data (set_id=brian) +# From IRC 2013-06-13 XATRIX (Georgiy Mernov) +2013-06-12 03:57:58 login authenticator failed for (ylmf-pc) [120.196.140.45]: 535 Incorrect authentication data: 1 Time(s) +2013-06-12 13:18:11 login authenticator failed for (USER-KVI9FGS9KP) [101.66.165.86]: 535 Incorrect authentication data +2013-06-10 10:10:59 H=ufficioestampa.it (srv.ufficioestampa.it) [193.169.56.211] sender verify fail for : Unrouteable address