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
Throw a bunch of abusive traffic at django. (e.g., ab -c 2 -n 1000 http://127.0.0.1:8000/)
Expected results:
After the traffic trips the ABUSE_THRESHOLD, django-banish should respond with 403 for the client
Actual results:
After the traffic trips the ABUSE_THRESHOLD, django-banish responds with 403 for the client until the CACHES TIMEOUT value is reached. Then django-banish forgets that the IP is banished. It allows the requests thru until the same client trips the ABUSE_THRESHOLD again. And repeats this pattern.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
ab -c 2 -n 1000 http://127.0.0.1:8000/
)Expected results:
After the traffic trips the
ABUSE_THRESHOLD
, django-banish should respond with 403 for the clientActual results:
After the traffic trips the
ABUSE_THRESHOLD
, django-banish responds with 403 for the client until the CACHES TIMEOUT value is reached. Then django-banish forgets that the IP is banished. It allows the requests thru until the same client trips theABUSE_THRESHOLD
again. And repeats this pattern.The text was updated successfully, but these errors were encountered: