openwrtv4/package/network/services/dropbear
Stijn Tintel 1c308bbbf5 dropbear: add option to set receive window size
The default receive window size in dropbear is hardcoded to 24576 byte
to limit memory usage. This value was chosen for 100Mbps networks, and
limits the throughput of scp on faster networks. It also severely limits
scp throughput on high-latency links.

Add an option to set the receive window size so that people can improve
performance without having to recompile dropbear.

Setting the window size to the highest value supported by dropbear
improves throughput from my build machine to an APU2 on the same LAN
from 7MB/s to 7.9MB/s, and to an APU2 over a link with ~65ms latency
from 320KB/s to 7.5MB/s.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2018-02-18 02:59:57 +01:00
..
files dropbear: add option to set receive window size 2018-02-18 02:59:57 +01:00
patches dropbear: disable MD5 HMAC and switch to sha1 fingerprints 2017-12-12 22:24:17 +01:00
Config.in dropbear: make ssh compression support configurable 2017-09-28 21:47:16 +02:00
Makefile dropbear: disable MD5 HMAC and switch to sha1 fingerprints 2017-12-12 22:24:17 +01:00