Setting up fail2ban to ban failed phpMyAdmin login attempts
Posted
by
Michael Robinson
on Server Fault
See other posts from Server Fault
or by Michael Robinson
Published on 2012-10-03T23:50:54Z
Indexed on
2012/10/04
3:40 UTC
Read the original article
Hit count: 484
We've been using fail2ban
to block failed ssh
attempts. I would like to setup the same thing for phpMyAdmin as well.
As phpMyAdmin
doesn't log authentication attempts to a file (that I know of), I'm unsure of how best to go about this.
Does a plugin / config exist that makes phpMyAdmin
log authentication attempts to a file? Or is there some other place I should look for such an activity log?
Ideally I will be able to find a solution that involved modifying fail2ban
config only, as I have to configure fail2ban
with the same options on multiple servers, and would prefer not to also modify the various phpMyAdmin
installations on said servers.
© Server Fault or respective owner