mirror of https://github.com/fail2ban/fail2ban
Added filter for phpMyAdmin+syslog (>=4.7.0). Closes #1713
parent
c540217844
commit
5b4bc2aafd
@ -0,0 +1,17 @@
|
||||
# Fail2Ban fitler for the phpMyAdmin-syslog
|
||||
#
|
||||
|
||||
[INCLUDES]
|
||||
|
||||
before = common.conf
|
||||
|
||||
[Definition]
|
||||
|
||||
_daemon = phpMyAdmin
|
||||
|
||||
failregex = ^%(__prefix_line)suser denied: .* \(mysql-denied\) from <HOST>\s*$
|
||||
|
||||
ignoreregex =
|
||||
|
||||
|
||||
# Author: Pavel Mihadyuk
|
@ -0,0 +1,2 @@
|
||||
# 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