Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic Ban Feature Issue #592

Open
hnaung opened this issue Sep 29, 2023 · 3 comments
Open

Automatic Ban Feature Issue #592

hnaung opened this issue Sep 29, 2023 · 3 comments

Comments

@hnaung
Copy link

hnaung commented Sep 29, 2023

Hello there,

I've encountered an issue related to the 'Automatic Ban' feature. After enabling this feature, I am experiencing the 'Authentication Failure: Your IP address is currently banned - Contact Admin' issue. It was supposed to ban the client's IP address after 5 login failures because I set the threshold to '5'. However, I'm receiving the above error message after only 2 failed attempts, and the problem seems inconsistent. It doesn't occur in all cases; some players are randomly affected. Any suggestions or solutions to fix this issue would be greatly appreciated. Thank you!

Screenshot 2023-09-29 at 1 47 42 PM

@eljeffeg
Copy link
Collaborator

eljeffeg commented Oct 2, 2023

I'd make sure your x-headers are set to True. Perhaps it thinks everyone is coming from the same IP. I'll double check the code though.

@hnaung
Copy link
Author

hnaung commented Oct 2, 2023

Thank you for your reply. After I set 'x-headers' to true, the player login keeps logging out when they move to another tab.

@eljeffeg
Copy link
Collaborator

eljeffeg commented Oct 2, 2023

No idea what would cause that. Another tab should have no effect on the session unless you're in incognito mode. Maybe restart RootTheBox.

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

No branches or pull requests

2 participants