mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
ENH: add wu-ftpd failregex for use against syslog (Closes: #514239)
This commit is contained in:
parent
a512ea47d2
commit
6ad55f64b3
2 changed files with 3 additions and 0 deletions
|
|
@ -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
Normal file
2
testcases/files/logs/wu-ftpd
Normal file
|
|
@ -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…
Reference in a new issue