Use the -W <windowsize> argument in startup scripts, with a default of 64kB

--HG--
extra : convert_revision : bbc5073267b8af362e59a46bc8328c03cfd4bd4c
This commit is contained in:
Matt Johnston 2007-07-25 15:44:50 +00:00
parent e3e4445dc1
commit 876e7b99d4
2 changed files with 5 additions and 1 deletions

View File

@ -48,7 +48,7 @@ case "$1" in
sleep 1
start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
--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."
;;
*)

View File

@ -54,6 +54,10 @@ DROPBEAR_BANNER=""
# DSS hostkey file (default: /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
fi