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

[FR] Configuration param to avoid IP bans from localhost #2060

Open
smk762 opened this issue Jan 31, 2024 · 0 comments
Open

[FR] Configuration param to avoid IP bans from localhost #2060

smk762 opened this issue Jan 31, 2024 · 0 comments

Comments

@smk762
Copy link

smk762 commented Jan 31, 2024

Describe the bug
Currently requests from localhost which have an incorrect rpc_pass will earn an IP ban. This is most often due to an older / competing app, script or docker container sending a request to 127.0.0.1:7783, with the effect of rendering the newer or competing instance (or both) unresponsive, and logs full of Your ip is banned.

Proposed solution
A new config param for MM2.json with the effect of not counting failed requests from localhost (or rpc_ip) towards an IP ban. In the event of a local request failing to authenticate, the rpc should respond withincorrect credentials from localhost or rpc_ip without it causing a denial of service for aithenticated requests from the same defined source.

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

1 participant