Cloudflare options/blocking not working
Posted: 13 Oct 2017, 01:52
I'm having trouble getting the (awesome!) new Cloudflare option to work. CSF seems to be communicating with CloudFlare as I can view the Cloudflare rules for the user I have configured, but blocking based on Mod_Security hits does not seem to work at all.. Is there any more documentation that might help me with troubleshooting?
Speaking of documentation, in the CSF readme.txt, and I'm seeing the following issues/problems/ambiguity:
1) The readme file seems to end at section after section #7 of the CLI section. the last line is:
7. To add a temporary block that blocks in csf as well as CloudFlare:
..it leaves me hankering for more!
Also, section 27 (Cloudflare), number 6 says:
"URLGET must be set to 1 (i.e. LWP) must be used"
I read this to mean that I must set URLGET to #1 to use LWP, but in the ConfServer Configuration it says that #1 is HTTP::Tiny and #2 is LWP - so which do I use??
And...
I am confused on how the "special case any" is to be used - the info in the csf.cloudflare file is lacking (or i'm just stupid). Can we have more info on when/how/why to use the special case "any" ?
Finally..
Is there anything in the UI to confirm that Mod_Cloudflare is running/working?
"find / -name ModCloudflare.pm" gives me this output:
/var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/ModCloudflare.pm
So i assume/guess/hope it's running and functioning properly?
Speaking of documentation, in the CSF readme.txt, and I'm seeing the following issues/problems/ambiguity:
1) The readme file seems to end at section after section #7 of the CLI section. the last line is:
7. To add a temporary block that blocks in csf as well as CloudFlare:
..it leaves me hankering for more!
Also, section 27 (Cloudflare), number 6 says:
"URLGET must be set to 1 (i.e. LWP) must be used"
I read this to mean that I must set URLGET to #1 to use LWP, but in the ConfServer Configuration it says that #1 is HTTP::Tiny and #2 is LWP - so which do I use??
And...
I am confused on how the "special case any" is to be used - the info in the csf.cloudflare file is lacking (or i'm just stupid). Can we have more info on when/how/why to use the special case "any" ?
Finally..
Is there anything in the UI to confirm that Mod_Cloudflare is running/working?
"find / -name ModCloudflare.pm" gives me this output:
/var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/ModCloudflare.pm
So i assume/guess/hope it's running and functioning properly?