crowdsecurity / cs-cloudflare-bouncer

A CrowdSec Bouncer that syncs the decisions made by CrowdSec with CloudFlare's firewall. Manages multi user, multi account, multi zone setup. Supports IP, Country and AS scoped decisions.
MIT License
50 stars 7 forks source link

Challenge settings are not applied #99

Closed mpldr closed 2 years ago

mpldr commented 2 years ago

cloudflare.accounts[account].default_action values js_challenge and block do not seem to be applied. When running with -s the applied filter always is Legacy Captcha, even if something else is set. Afterwards when updating #83 occurs.

sbs2001 commented 2 years ago

This seems to be caused due to cache, could you try removing /var/lib/crowdsec/crowdsec-cloudflare-bouncer/cache/cloudflare-cache.json restarting ? Also we're currently working to remove it as we found other optimizations.

sbs2001 commented 2 years ago

Closing as cache has been dropped since >= 0.1.0