Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HELP] Traefik seems to works but cant ban #137

Closed
tchoblond59 opened this issue Mar 13, 2024 · 1 comment
Closed

[HELP] Traefik seems to works but cant ban #137

tchoblond59 opened this issue Mar 13, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@tchoblond59
Copy link

tchoblond59 commented Mar 13, 2024

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

@maxlerebourg maxlerebourg added the question Further information is requested label Mar 14, 2024
@tchoblond59
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants