maxlerebourg/crowdsec-bouncer-traefik-plugin

[HELP] Traefik seems to works but cant ban

tchoblond59 opened this issue · 1 comments

Hello ! I am trying to setup crowdsec in a docker env with traefik. I did a setup very similar to #136
After all the setup all seems to working fine. I tried to manually ban several ip but i can always acces my web service. Trafik is not banning.

In traefik log i can see
13/03/2024 19:11:55 DEBUG: CrowdsecBouncerTraefikPlugin: 2024/03/13 18:11:55 ServeHTTP ip:192.168.105.4 isTrusted:false 13/03/2024 19:11:55 DEBUG: CrowdsecBouncerTraefikPlugin: 2024/03/13 18:11:55 ServeHTTP:handleNoStreamCache ip:192.168.105.4 isBanned:true handleNoStreamCache:banned
In crowdsec i can see the api requests made by my traefik.
docker exec crowdsec cscli bouncers list returns:
crowdsecBouncer 172.18.0.2 ✔️ 2024-03-13T17:58:38Z Go-http-client 1.1 api-key

But at the end i can always access my service. Do you have any clue that i could dig into to find where is my issue.

Thanks for your works

It's working this morning 🤡
I guess it was cache or i was just too impatient. Anyway thanks for the work and sorry for bothering you.