You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.
Blocking IPs using cird ranges doesn't seem to work properly. It allows IPs even if they are in one of the ranges supplied.
The problem seems to be here. If you happen to set notBannedIp to true in a previous iteration of the loop, even if here allowedIp is false the function will return truehere.
The text was updated successfully, but these errors were encountered:
@nickdima can you provide the configuration you are using with the middleware. I will try and create a test case around this. A sample IP would be great as well.
Blocking IPs using cird ranges doesn't seem to work properly. It allows IPs even if they are in one of the ranges supplied.
The problem seems to be here. If you happen to set
notBannedIp
totrue
in a previous iteration of the loop, even if hereallowedIp
isfalse
the function will returntrue
here.The text was updated successfully, but these errors were encountered: