dropbear: better handle receive window size
authorKonstantin Demin <rockdrilla@gmail.com>
Tue, 9 Jan 2024 00:40:02 +0000 (03:40 +0300)
committerRui Salvaterra <rsalvaterra@gmail.com>
Fri, 9 Feb 2024 09:13:05 +0000 (09:13 +0000)
commit865ae1c10c65001813413da95eb1b8cd06a7e1c1
tree11c293aa4e20bcadcc4f2ed3f18e467c1157212a
parent05100d865158a5d6eaf8b34a8deb0d447cc73301
dropbear: better handle receive window size

- correct maximum receive window size
- adjust receive window size against maximum allowed value
- warn about too high receive window size in syslog

improves f95eecfb

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
package/network/services/dropbear/files/dropbear.init