You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
One of my rathole clients (not sure about the others) creates a lot of TCP connections without closing them. The half of the connections are in CLOSE_WAIT state and the other half in ESTABLISHED. This could be as bad as 1300+ simultaneous TCP connections for only two services.
To Reproduce
Steps to reproduce the behavior:
Start the server and the client
Wait for about 24 hours
Configuration
Configuration used to reproduce the behavior:
Hey @zzzorgo, do you think if rathole could use http2 bidirectional streaming as transport would solve this problem? Since single tcp connection could cary multiple http2 stream.
Hi @rucciva, I am far from being an expert in the field but I don't think that it is a practical solution (but again I am just a user of this app). You see, both http2 and rathole are using TCP connections as a transport. And if I am getting it right you are suggesting putting rathole on top of http2 on top of TCP which will add one extra layer of abstraction (read as extra complexity) and most probably will require a big change to the app.
The alternative is just fixing the damn bug with TCP connections not being terminated (or reused?) properly :D
Describe the bug
One of my rathole clients (not sure about the others) creates a lot of TCP connections without closing them. The half of the connections are in
CLOSE_WAIT
state and the other half inESTABLISHED
. This could be as bad as 1300+ simultaneous TCP connections for only two services.To Reproduce
Steps to reproduce the behavior:
Configuration
Configuration used to reproduce the behavior:
Logs
Rathole log
log.txt
Netstat output when the flood is there
netstat.log
Netstat output after rathole process restarting
netstat-after-restarting.log
Environment:
rathole --version
output:The text was updated successfully, but these errors were encountered: