diff options
author | Matt Johnston <matt@ucc.asn.au> | 2007-07-25 15:44:50 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2007-07-25 15:44:50 +0000 |
commit | 876e7b99d4116d0df9ff13ced9b91498a8a6bc11 (patch) | |
tree | 01e719534451243c0d10b1edf239f0a82d762444 /debian | |
parent | e3e4445dc1e86652d1e855bd320f8077523d2d59 (diff) |
Use the -W <windowsize> argument in startup scripts, with a default of 64kB
--HG--
extra : convert_revision : bbc5073267b8af362e59a46bc8328c03cfd4bd4c
Diffstat (limited to 'debian')
-rw-r--r-- | debian/dropbear.init | 2 | ||||
-rw-r--r-- | debian/dropbear.postinst | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/debian/dropbear.init b/debian/dropbear.init index 7979c8d..6a0f0a1 100644 --- a/debian/dropbear.init +++ b/debian/dropbear.init @@ -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." ;; *) diff --git a/debian/dropbear.postinst b/debian/dropbear.postinst index 312eb05..e51e2b7 100644 --- a/debian/dropbear.postinst +++ b/debian/dropbear.postinst @@ -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 |