mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 05:17:28 +00:00
Add manpage entry for -z, change help text
Fixes #193 on github (with previous patch)
This commit is contained in:
parent
2864c3d154
commit
86ac8411a0
@ -83,6 +83,7 @@ static void printhelp() {
|
|||||||
"-W <receive_window_buffer> (default %d, larger may be faster, max 10MB)\n"
|
"-W <receive_window_buffer> (default %d, larger may be faster, max 10MB)\n"
|
||||||
"-K <keepalive> (0 is never, default %d)\n"
|
"-K <keepalive> (0 is never, default %d)\n"
|
||||||
"-I <idle_timeout> (0 is never, default %d)\n"
|
"-I <idle_timeout> (0 is never, default %d)\n"
|
||||||
|
"-z disable QoS\n"
|
||||||
#if DROPBEAR_CLI_NETCAT
|
#if DROPBEAR_CLI_NETCAT
|
||||||
"-B <endhost:endport> Netcat-alike forwarding\n"
|
"-B <endhost:endport> Netcat-alike forwarding\n"
|
||||||
#endif
|
#endif
|
||||||
@ -98,7 +99,6 @@ static void printhelp() {
|
|||||||
#if DEBUG_TRACE
|
#if DEBUG_TRACE
|
||||||
"-v verbose (repeat for more verbose)\n"
|
"-v verbose (repeat for more verbose)\n"
|
||||||
#endif
|
#endif
|
||||||
"-z disable IP Type-Of-Service feature\n"
|
|
||||||
,DROPBEAR_VERSION, cli_opts.progname,
|
,DROPBEAR_VERSION, cli_opts.progname,
|
||||||
#if DROPBEAR_CLI_PUBKEY_AUTH
|
#if DROPBEAR_CLI_PUBKEY_AUTH
|
||||||
DROPBEAR_DEFAULT_CLI_AUTHKEY,
|
DROPBEAR_DEFAULT_CLI_AUTHKEY,
|
||||||
|
@ -111,6 +111,9 @@ if 0 disables keepalives. If no response is received for 3 consecutive keepalive
|
|||||||
.B \-I \fIidle_timeout
|
.B \-I \fIidle_timeout
|
||||||
Disconnect the session if no traffic is transmitted or received for \fIidle_timeout\fR seconds.
|
Disconnect the session if no traffic is transmitted or received for \fIidle_timeout\fR seconds.
|
||||||
.TP
|
.TP
|
||||||
|
.B \-z
|
||||||
|
By default Dropbear will send network traffic with the \fBAF21\fR setting for QoS, letting network devices give it higher priority. Some devices may have problems with that, \fI-z\fR can be used to disable it.
|
||||||
|
.TP
|
||||||
|
|
||||||
.\" TODO: how to avoid a line break between these two -J arguments?
|
.\" TODO: how to avoid a line break between these two -J arguments?
|
||||||
.B \-J \fIproxy_command
|
.B \-J \fIproxy_command
|
||||||
|
@ -101,6 +101,9 @@ of 0 disables keepalives. If no response is received for 3 consecutive keepalive
|
|||||||
.B \-I \fIidle_timeout
|
.B \-I \fIidle_timeout
|
||||||
Disconnect the session if no traffic is transmitted or received for \fIidle_timeout\fR seconds.
|
Disconnect the session if no traffic is transmitted or received for \fIidle_timeout\fR seconds.
|
||||||
.TP
|
.TP
|
||||||
|
.B \-z
|
||||||
|
By default Dropbear will send network traffic with the \fBAF21\fR setting for QoS, letting network devices give it higher priority. Some devices may have problems with that, \fI-z\fR can be used to disable it.
|
||||||
|
.TP
|
||||||
.B \-T \fImax_authentication_attempts
|
.B \-T \fImax_authentication_attempts
|
||||||
Set the number of authentication attempts allowed per connection. If unspecified the default is 10 (MAX_AUTH_TRIES)
|
Set the number of authentication attempts allowed per connection. If unspecified the default is 10 (MAX_AUTH_TRIES)
|
||||||
.TP
|
.TP
|
||||||
|
@ -104,6 +104,7 @@ static void printhelp(const char * progname) {
|
|||||||
"-W <receive_window_buffer> (default %d, larger may be faster, max 10MB)\n"
|
"-W <receive_window_buffer> (default %d, larger may be faster, max 10MB)\n"
|
||||||
"-K <keepalive> (0 is never, default %d, in seconds)\n"
|
"-K <keepalive> (0 is never, default %d, in seconds)\n"
|
||||||
"-I <idle_timeout> (0 is never, default %d, in seconds)\n"
|
"-I <idle_timeout> (0 is never, default %d, in seconds)\n"
|
||||||
|
"-z disable QoS\n"
|
||||||
#if DROPBEAR_PLUGIN
|
#if DROPBEAR_PLUGIN
|
||||||
"-A <authplugin>[,<options>]\n"
|
"-A <authplugin>[,<options>]\n"
|
||||||
" Enable external public key auth through <authplugin>\n"
|
" Enable external public key auth through <authplugin>\n"
|
||||||
@ -112,7 +113,6 @@ static void printhelp(const char * progname) {
|
|||||||
#if DEBUG_TRACE
|
#if DEBUG_TRACE
|
||||||
"-v verbose (repeat for more verbose)\n"
|
"-v verbose (repeat for more verbose)\n"
|
||||||
#endif
|
#endif
|
||||||
"-z disable IP Type-Of-Service feature\n"
|
|
||||||
,DROPBEAR_VERSION, progname,
|
,DROPBEAR_VERSION, progname,
|
||||||
#if DROPBEAR_DSS
|
#if DROPBEAR_DSS
|
||||||
DSS_PRIV_FILENAME,
|
DSS_PRIV_FILENAME,
|
||||||
|
Loading…
Reference in New Issue
Block a user