EternalTerminal
EternalTerminal copied to clipboard
TCP tunnels can freeze terminal
Hello,
When transferring a lot of data over a TCP tunnel, the terminal freezes during the transfer (also happens to me for regular SSH tunnels), and sometimes for even longer (does not happen for regular SSH tunnels). Is there a workaround for this situation? I assume limiting the bandwidth of individual tunnels could help - is there a way to do that?
Repro:
$ et --version # Client version
et version 6.0.4
# Setup server (Linux)
$ et user@host:8080 -t "9090:9090" -x --jport 8080
$ et --version # Server version
et version 6.0.5
$ iperf -s -p 9090
# Client (MacOS)
$ iperf -c 127.0.0.1 -p 9090
------------------------------------------------------------
Client connecting to 127.0.0.1, TCP port 9090
TCP window size: 344 KByte (default)
------------------------------------------------------------
[ 4] local 127.0.0.1 port 54220 connected with 127.0.0.1 port 9090
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 1.87 GBytes 1.60 Gbits/sec
# Now the terminal created by `et` is frozen
(btw the 1.87GB transfer in 10 seconds does not reflect my internet speed - when doing the same test with a regular SSH tunnel, I have 4Mbits/sec)
Thank you!
We would need to implement congestion control and QoS. Can you use two connections as a workaround?