Is it just me or has ConfigServer stopped reading the logs on /usr/local/apache/logs/modsec_audit/ ?
Prior to the last WAF upgrade I use to be able to see the logs in that interface but it now longer works…has Comodo WAF interfered with that or is it a ConfigServer problem ?
Check your modsec2.conf file, the update has wiped the following:
Include “/usr/local/apache/conf/modsec2.whitelist.conf”
Just add that to the bottom and restart.
Request for admin: When ModSec updates are made via Comodo’s cPanel plugin, can you please retain any settings or custom modifications to the modsec2.conf file? it’s quite annoying that these always disappear when an update is made, have to re-add them on every server again.
ConfigServer ModSecurity Control - cmc v1.14
Displaying logs from /usr/local/apache/logs/modsec_audit/
No entries found in /usr/local/apache/logs/modsec_audit.log
Yet if I go to the actual log file itself “/usr/local/apache/logs/modsec_audit.log” it’s been written to as expected
Also, not sure if this is the same for you @designcentre but my traditional ‘Mod Security’ plugin is not showing any activity either. I’ve also run the rotator script to see if that would kick things into gear.
Here: /etc/cron.hourly/modsecparse.pl
Additionally:
mysql> show tables;
±-----------------+
| Tables_in_modsec |
±-----------------+
| modsec |
±-----------------+
1 row in set (0.00 sec)
Ok, so… not sure how this happened, but in my /usr/local/apache/conf/modsec2.user.conf the following rules were set incorrectly to what is needed apparently