Browse Source

ENH: add wu-ftpd failregex for use against syslog (Closes: #514239)

pull/8/merge
Yaroslav Halchenko 12 years ago
parent
commit
6ad55f64b3
  1. 1
      config/filter.d/wuftpd.conf
  2. 2
      testcases/files/logs/wu-ftpd

1
config/filter.d/wuftpd.conf

@ -12,6 +12,7 @@
# Values: TEXT
#
failregex = wu-ftpd(?:\[\d+\])?:\s+\(pam_unix\)\s+authentication failure.* rhost=<HOST>$
wu-ftpd(?:\[\d+\])?: *failed login from .*\[<HOST>\] *$
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.

2
testcases/files/logs/wu-ftpd

@ -0,0 +1,2 @@
# This login line is from syslog
Oct 6 09:59:26 myserver wu-ftpd[18760]: failed login from hj-145-173-a8.bta.net.cn [202.108.145.173]
Loading…
Cancel
Save