Commit c391ff7a authored by Daniel Lenski's avatar Daniel Lenski

update the manual and `--help` to explain `--passtos` a little more

Signed-off-by: default avatarDaniel Lenski <dlenski@gmail.com>
parent 21da8839
...@@ -844,7 +844,7 @@ static void usage(void) ...@@ -844,7 +844,7 @@ static void usage(void)
#endif #endif
printf(" --reconnect-timeout %s\n", _("Connection retry timeout in seconds")); printf(" --reconnect-timeout %s\n", _("Connection retry timeout in seconds"));
printf(" --resolve=HOST:IP %s\n", _("Use IP when connecting to HOST")); printf(" --resolve=HOST:IP %s\n", _("Use IP when connecting to HOST"));
printf(" --passtos %s\n", _("copy TOS / TCLASS when using DTLS")); printf(" --passtos %s\n", _("Copy TOS / TCLASS field into DTLS and ESP packets"));
printf(" --dtls-local-port=PORT %s\n", _("Set local port for DTLS and ESP datagrams")); printf(" --dtls-local-port=PORT %s\n", _("Set local port for DTLS and ESP datagrams"));
printf("\n%s:\n", _("Authentication (two-phase)")); printf("\n%s:\n", _("Authentication (two-phase)"));
......
...@@ -222,7 +222,9 @@ Use syslog for progress messages ...@@ -222,7 +222,9 @@ Use syslog for progress messages
Prepend a timestamp to each progress message Prepend a timestamp to each progress message
.TP .TP
.B \-\-passtos .B \-\-passtos
Copy TOS / TCLASS of payload packet into DTLS packets. Copy TOS / TCLASS of payload packet into DTLS and ESP packets. This is
not set by default because it may leak information about the payload
(for example, by differentiating voice/video traffic).
.TP .TP
.B \-U,\-\-setuid=USER .B \-U,\-\-setuid=USER
Drop privileges after connecting, to become user Drop privileges after connecting, to become user
......
Markdown is supported
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