rpc-proxy icon indicating copy to clipboard operation
rpc-proxy copied to clipboard

Websocket connections limit

Open shunsukew opened this issue 2 years ago • 1 comments

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 avatar Jan 21 '24 08:01 shunsukew

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

shunsukew avatar Jan 21 '24 08:01 shunsukew