Mercurial > dropbear
changeset 450:c23c7f0f594c
Use the -W <windowsize> argument in startup scripts, with a default of 64kB
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 25 Jul 2007 15:44:50 +0000 |
parents | 3e6c536bc023 |
children | f2aa5aeea619 |
files | debian/dropbear.init debian/dropbear.postinst |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/debian/dropbear.init Wed Jul 25 15:44:25 2007 +0000 +++ b/debian/dropbear.init Wed Jul 25 15:44:50 2007 +0000 @@ -48,7 +48,7 @@ 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." ;; *)
--- a/debian/dropbear.postinst Wed Jul 25 15:44:25 2007 +0000 +++ b/debian/dropbear.postinst Wed Jul 25 15:44:50 2007 +0000 @@ -54,6 +54,10 @@ # 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