maxlerebourg / crowdsec-bouncer-traefik-plugin

Traefik plugin for Crowdsec - WAF and IP protection
Apache License 2.0
260 stars 14 forks source link

✨ Add Traefik Crowdsec Plugin Basic User Agent #192

Closed mathieuHa closed 1 month ago

mathieuHa commented 1 month ago

Following the rfc the idea would be to have something like:

"User-Agent": "Traefik Crowdsec Plugin / "

We'll look if you can get this information from Traefik context

grasshide commented 1 month ago

Not sure if it is only me, but my log fills up with messages like this: { "time": "2024-10-20T16:03:01Z", "level": "warning", "msg": "bad user agent 'Crowdsec bouncer Traefik Plugin'", "ip": "192.168.240.16", "name": "traefik-bouncer" }