cPFence
Kind of a tangent, but since it's a CPfence topic.....
I struggled a lot with adding OLS WAF whitelist rules, they simply didn't work.
While having fun with another issue, I noticed errors in the OLS error log about the whilelist rules in both /opt/cpfence/user-config/cpfwaf/whitelist_ols.conf and /opt/cpfence/app/cpfwaf/Whitelist_Rules.conf.
As per the knowledgebase, you can use comma's to separate rules. However, that gives the error and makes all but the first fail, so the rules keep being hit and logged. I had issues with that while debugging something a few days ago, and it didn't make sense.
So, they all need a separate line and ID, then they work and don't get hit anymore, and no more errors.
There's also notifications about several rewrite rules that CPfence places in .htaccess, like: Invalid rewrite directive: <Files "wp-config.php">
If there's a better place for these kinds of observations, please let me know.