Drupal / Wordpress and other cms protection

Post Reply
rpr
Junior Member
Posts: 4
Joined: 05 Nov 2014, 23:06

Drupal / Wordpress and other cms protection

Post by rpr »

Hi,

is there a way to ban users who are trying to bruteforce drupal / wordpress or other cms installations. For fail2ban you have options but does csf has options to counter this?
verdonv
Junior Member
Posts: 21
Joined: 18 Nov 2014, 18:54

Re: Drupal / Wordpress and other cms protection

Post by verdonv »

For wordpress, there is a fail2ban plugin, which will write wordpress failed logins to your system log. You can then use a custom regex in CSF/LFD to block them. Search the forums here. There is an example, specifically for this scenario, that works just fine. There is also a sticky post at the top of the forum about using custom regexes in general... very useful!
verdonv
Junior Member
Posts: 21
Joined: 18 Nov 2014, 18:54

Re: Drupal / Wordpress and other cms protection

Post by verdonv »

Here's the wordpress info
viewtopic.php?f=6&t=6663&p=23704
rpr
Junior Member
Posts: 4
Joined: 05 Nov 2014, 23:06

Re: Drupal / Wordpress and other cms protection

Post by rpr »

Found the drupal fail2ban but that's another program to do the same thing. It is possible in CSF. I saw it.
verdonv
Junior Member
Posts: 21
Joined: 18 Nov 2014, 18:54

Re: Drupal / Wordpress and other cms protection

Post by verdonv »

In the wordpress scenario, fail2ban is just the name of a wp plugin to write login attempts to syslog... fail2ban itself is not actually being used. Ultimately, you can point a custom regex in LFD to monitor any log you like, and act upon that.
Post Reply