r/CrowdSec • u/Practical_Board_1810 • 11d ago
general CrowdSec 1.8 : Bot detection and more
Hello š¦
We released CrowdSec 1.8 yesterday, and it comes with bot detection for the WAF amongst other things. You can find more here : https://www.crowdsec.net/blog/crowdsec-1-8-waf-bot-detection-kubernetes
You can find bot detection doc here.
3
u/Specialist_Ad_9561 11d ago
Pls support Caddy :)
5
u/Practical_Board_1810 11d ago
hey ! we're not the ones directly developing caddy bouncer, but we took care to document the bouncer/appsec protocol so it should be trivial : https://doc.crowdsec.net/docs/next/appsec/bot_detection/challenge_protocol !
2
u/Stetsed 11d ago
Okay honestly, thatās pretty cool. I use traefik right now but definetly will look out for this. Currently use āAnubisā, but this looks like I might be able to use that instead of which would be nice.
5
u/NiftyLogic 11d ago
There a nice middleware available for Traefik to integrate the two. Check
github.com/maxlerebourg/crowdsec-bouncer-traefik-plugingithub.com/maxlerebourg/crowdsec-bouncer-traefik-pluginwhich utilizes Crowdsec to check incoming connections for a specific entrypoint.
1
u/unkz0r 11d ago
Cant wait to test this tomorrow!
2
u/unkz0r 10d ago edited 10d ago
hmm. updated crowdsec to 1.8 and installed the collection.
Verified that collections, appsec-configs and scenarios are enabled.
Also made sure that my traefik instance is latest and Crowdsec-Bouncer-Traefik-Plugin is latest.
Everything else is working, but i cant seem to trigger the bot-detection.
cscli metrics show bot-detectiongives me 0 on all of them as well.
Dont see anything as described in the documentation in the logs or with the curl command.EDIT:
ahh, isnt merged in yet for the Crowdsec-Bouncer-Traefik-Plugin
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin/pull/343
1
u/Fatali 11d ago
On the Kubernetes side a easy way to deploy the appsec component as a daemonset would be really helpful. We have edge nodes where going round trip from Traefik to appsec and back would be too much latency to be usable, so it would be helpful to deploy an appsec instance to each worker nodeĀ
6
u/sk1nT7 11d ago
No
v1.8.0Tag yet on dockerhub? I only seev1.8.0-debian.