Hello,
Before posting this problem, I tried to resolve it without success.
The current server configuration: openlitespeed + modsecurity with owasp and csf as software firewall.
The modsecurity protection works fine with a 403 error if I attempt URL access with this:
On the other hand, the firewall does not block the IP address despite the fact that the LF_MODSEC option is > 0 (5 by default), and default log file scanned by CSF is /var/log/httpd/error_log file but the error entries of modsecurity is not there only on /var/log/httpd/modsec_audit.log. It is therefore logical that csf does not block the IPs from intrusion attempts and other code injections via the url because the entries are not there. I tried to put /var/log/httpd/modsec_audit.log in csf in MODSEC_LOG but it doesn't work anymore, for sure I'm not a pro ...
I come from the CPanel world and like many, after increasing licensing costs I turned to another solution.
I had already considered DirectAdmin but due to lack of time, I had not tested this product.
Today I find DirectAdmin very good, but some points like this above bothers me a lot.
So what should be done in order to tell csf to look at the logs in the right place in order to block the IPs from intrusion attempts by URL.
Am I in the right place to troubleshoot, otherwise well I will definitely need to 'tweak' a csf regex rule in order to alleviate this problem.
Is this a problem only with openlitespeed web server?
Anyway, if someone could help me out or give me a tip, that would be greatly appreciated.
Thanks and sorry for my fairly average english!
Before posting this problem, I tried to resolve it without success.
The current server configuration: openlitespeed + modsecurity with owasp and csf as software firewall.
The modsecurity protection works fine with a 403 error if I attempt URL access with this:
Code:
http://www.domain.com/?r=/etc/passwd
I come from the CPanel world and like many, after increasing licensing costs I turned to another solution.
I had already considered DirectAdmin but due to lack of time, I had not tested this product.
Today I find DirectAdmin very good, but some points like this above bothers me a lot.
So what should be done in order to tell csf to look at the logs in the right place in order to block the IPs from intrusion attempts by URL.
Am I in the right place to troubleshoot, otherwise well I will definitely need to 'tweak' a csf regex rule in order to alleviate this problem.
Is this a problem only with openlitespeed web server?
Anyway, if someone could help me out or give me a tip, that would be greatly appreciated.
Thanks and sorry for my fairly average english!