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

Websocket connections limit #81

Open
shunsukew opened this issue Jan 21, 2024 · 1 comment
Open

Websocket connections limit #81

shunsukew opened this issue Jan 21, 2024 · 1 comment

Comments

@shunsukew
Copy link

shunsukew commented Jan 21, 2024

Hello,
I found this repository when considering how to control WebSocket requests. Most of Blockchain nodes themselves doesn't have WebSocket throttling features, and most of API gateway solutions cannot inspect WebSocket messages/frames.

In the current implementation, messages in a connection are rate limited, however attackers can consume lots of sockets.
I think it is really good to have limiting connections count per IP/API-Key feature.

@shunsukew
Copy link
Author

I found comments about websocket multiplexing here, but limiting connections count from client IP <> proxy is still needed?

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