Skip to content

Conversation

@erikyo
Copy link
Collaborator

@erikyo erikyo commented Dec 29, 2025

Currently, when an IP is already in the Block List, the plugin continues to increment its "Ban Score" for every new attempt. This was created in order to ban particularly persistent bots with different durations.

Proposed Change: I suggest modifying the logic so that if an IP is already banned, we simply reject the submission (block the request) without updating or increasing the ban score in the database.

The logic should follow this flow:

  • Is the IP in the Block List?
    -> Yes -> Reject the request immediately
    -> No -> increment the score

The score should remain static until the IP is removed from the Block List (either manually by the user or via the automatic score reduction cycle).

(OPTIONAL)
We should add a toggle in the Admin Panel to let the user decide this behavior. The option can be named "Continue increasing score for banned IPs" or something like that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant