cosmoshosting
Thanks for the detailed review. I really appreciate you taking the time to write it.
This is already done automatically. You can confirm the currently whitelisted Cloudflare IPs using "sudo ipset list cPFence-whitelist". If any additional IPs need to be whitelisted, simply add them to the file /opt/cpfence/user-config/cpfipdb/whitelistips.txt, then run cpfence --restart, and the software will ensure they remain whitelisted even across updates. Editing this file is only recommended for bulk IP whitelisting. If you need to whitelist a single IP, feel free to use the command "cpfence --add-whitelist-ip 192.168.1.1/23".
cosmoshosting 7) Ability to detect, log and kill excessive numbers of sleep queries from a particular user
This is already done for blacklisted users. It's recommended to add only users known for poorly written PHP scripts (plugins, themes, etc.).
This is already possible by editing the cPFence WAF configuration files, but changes won’t be saved across updates. Considering that cPFence is frequently updated, it's not recommended for now. Keeping custom user agent edits and preserving them through updates will be possible soon. It's also worth mentioning that the software currently blocks about 600 bots while leaving the most well-known ones intact (to prevent support ticket issues from users upset about Moz and Ahrefs being blocked on their websites). Additionally, the software will automatically detect and block bots pretending to be Google.
Your other feature requests have been noted, and we will consider them for future updates. Thanks once again for your review.