mirror of https://github.com/fail2ban/fail2ban
phpmyadmin-syslog: removed excess file, fixed test, updated failregex
parent
d09304b897
commit
4c1abe1cbf
|
@ -9,9 +9,10 @@ before = common.conf
|
||||||
|
|
||||||
_daemon = phpMyAdmin
|
_daemon = phpMyAdmin
|
||||||
|
|
||||||
failregex = ^%(__prefix_line)suser denied: .* \(mysql-denied\) from <HOST>\s*$
|
failregex = ^%(__prefix_line)suser denied: (?:\S+|.*?) \(mysql-denied\) from <HOST>\s*$
|
||||||
|
|
||||||
ignoreregex =
|
ignoreregex =
|
||||||
|
|
||||||
|
|
||||||
# Author: Pavel Mihadyuk
|
# Author: Pavel Mihadyuk
|
||||||
|
# Regex fixes: Serg G. Brester
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
# failJSON: { "time": "2017-08-22T14:50:22", "match": true , "host": "81.62.21.201" }
|
# failJSON: { "time": "2004-08-22T14:50:22", "match": true , "host": "192.0.2.1" }
|
||||||
Aug 22 14:50:22 eurostream phpMyAdmin[16358]: user denied: root (mysql-denied) from 81.62.21.201
|
Aug 22 14:50:22 eurostream phpMyAdmin[16358]: user denied: root (mysql-denied) from 192.0.2.1
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
# failJSON: { "time": "2017-08-22T14:50:22", "match": true , "host": "81.62.21.201" }
|
|
||||||
Aug 22 14:50:22 eurostream phpMyAdmin[16358]: user denied: root (mysql-denied) from 81.62.21.201
|
|
Loading…
Reference in New Issue