CSF, WPFail2Ban, Litespeed

verdon

Well-Known Member
Nov 1, 2003
923
11
168
Northern Ontario, Canada
cPanel Access Level
Root Administrator
Hi,

For quite a while I've used WP Fail2Ban ( a Wordpress Plugin) to write failed Wordpress login attempts to /var/log/messages, where a custom regex for CSF/LFD would watch and then ban the offending IP address. Since switching to LiteSpeed, this doesn't seem to work anymore. I can't find any logged auth errors anywhere, either in /var/log/message /var/log/apache2/domlogs/* or anywhere else.

Any suggestions where I might start to troubleshoot this? Is it just essentialy that Fail2Ban isn't going to work with LiteSpeed?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,257
313
Houston
I'm not aware of any issues with the two of them, though I'm not familiar with caveats of fail2ban. You might contact their support to see if they have any special configuration instructions for working with litespeed.