mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
Use the -W <windowsize> argument in startup scripts, with a default of 64kB
--HG-- extra : convert_revision : bbc5073267b8af362e59a46bc8328c03cfd4bd4c
This commit is contained in:
parent
e3e4445dc1
commit
876e7b99d4
2
debian/dropbear.init
vendored
2
debian/dropbear.init
vendored
@ -48,7 +48,7 @@ case "$1" in
|
|||||||
sleep 1
|
sleep 1
|
||||||
start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
|
start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
|
||||||
--exec "$DAEMON" -- -d "$DROPBEAR_DSSKEY" -r "$DROPBEAR_RSAKEY" \
|
--exec "$DAEMON" -- -d "$DROPBEAR_DSSKEY" -r "$DROPBEAR_RSAKEY" \
|
||||||
-p "$DROPBEAR_PORT" $DROPBEAR_EXTRA_ARGS
|
-p "$DROPBEAR_PORT" -W "$DROPBEAR_RECEIVE_WINDOW" $DROPBEAR_EXTRA_ARGS
|
||||||
echo "$NAME."
|
echo "$NAME."
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
4
debian/dropbear.postinst
vendored
4
debian/dropbear.postinst
vendored
@ -54,6 +54,10 @@ DROPBEAR_BANNER=""
|
|||||||
|
|
||||||
# DSS hostkey file (default: /etc/dropbear/dropbear_dss_host_key)
|
# DSS hostkey file (default: /etc/dropbear/dropbear_dss_host_key)
|
||||||
#DROPBEAR_DSSKEY="/etc/dropbear/dropbear_dss_host_key"
|
#DROPBEAR_DSSKEY="/etc/dropbear/dropbear_dss_host_key"
|
||||||
|
|
||||||
|
# Receive window size - this is a tradeoff between memory and
|
||||||
|
# network performance
|
||||||
|
DROPBEAR_RECEIVE_WINDOW=65536
|
||||||
EOT
|
EOT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user