Skip to content
Snippets Groups Projects
Commit 876e7b99 authored by Matt Johnston's avatar Matt Johnston
Browse files

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

--HG--
extra : convert_revision : bbc5073267b8af362e59a46bc8328c03cfd4bd4c
parent e3e4445d
No related merge requests found
......@@ -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."
;;
*)
......
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment