Whitelisting by subnet does not work #70
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
kind/bug/confirmed
Something isn't working
Hello. Plugin's config reading fails with an error "not valid".
Prerequisites:
Traefik version 2.9.5
fail2ban version v0.6.6
middlewares.yml:
The result:
Suggestions
After looking through
ipChecking.go
I can assume that the problem is around line 46 -- according to docs,net.ParseIP
does not expect a subnet in an input string, that's whatnet.ParseCIDR
is for.The text was updated successfully, but these errors were encountered: