[MINOR] No rate limiting on IPC connections #29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The IPC server spawns a new
tokio::spawnfor every incoming connection with no limit. A malicious or buggy client could open thousands of concurrent connections, exhausting memory and file descriptors.Impact
Potential denial of service through resource exhaustion.
Files
crates/my_init_server/src/ipc.rs--run_ipc_serverconnection loopSuggested Fix
Per issue description referencing crates/my_init_server/src/ipc.rs: tokio::spawn for every connection with no limit. No semaphore or max-connections check.