diff --git a/README.turnserver b/README.turnserver index d16c8dc..6b237df 100644 --- a/README.turnserver +++ b/README.turnserver @@ -207,8 +207,6 @@ Flags: --no-tcp-relay Do not allow TCP relay endpoints defined in RFC 6062, use only UDP relay endpoints as defined in RFC 5766. ---stale-nonce Use extra security with nonce value having limited lifetime (600 secs). - --no-stdout-log Flag to prevent stdout log messages. By default, all log messages are going to both stdout and to the configured log file. With this option everything will be going to @@ -261,6 +259,8 @@ Flags: Options with required values: +--stale-nonce[=600] Use extra security with nonce value having limited lifetime (default 600 secs). + -d, --listening-device Listener interface device. (NOT RECOMMENDED. Optional functionality, Linux only). The turnserver process must have root privileges to bind the diff --git a/man/man1/turnserver.1 b/man/man1/turnserver.1 index 6b6aa0d..5353ad1 100644 --- a/man/man1/turnserver.1 +++ b/man/man1/turnserver.1 @@ -314,10 +314,6 @@ Do not allow TCP relay endpoints defined in RFC 6062, use only UDP relay endpoints as defined in RFC 5766. .TP .B -\fB\-\-stale\-nonce\fP -Use extra security with nonce value having limited lifetime (600 secs). -.TP -.B \fB\-\-no\-stdout\-log\fP Flag to prevent stdout log messages. By default, all log messages are going to both stdout and to @@ -399,6 +395,10 @@ Help. Options with required values: .TP .B +\fB\-\-stale\-nonce\fP[=600] +Use extra security with nonce value having limited lifetime (default 600 secs). +.TP +.B \fB\-d\fP, \fB\-\-listening\-device\fP Listener interface device. (NOT RECOMMENDED. Optional functionality, Linux only). diff --git a/src/apps/relay/mainrelay.c b/src/apps/relay/mainrelay.c index 95c1b05..28d3619 100644 --- a/src/apps/relay/mainrelay.c +++ b/src/apps/relay/mainrelay.c @@ -547,7 +547,7 @@ static char Usage[] = "Usage: turnserver [options]\n" " --simple-log This flag means that no log file rollover will be used, and the log file\n" " name will be constructed as-is, without PID and date appendage.\n" " This option can be used, for example, together with the logrotate tool.\n" -" --stale-nonce Use extra security with nonce value having limited lifetime (600 secs).\n" +" --stale-nonce[=600] Use extra security with nonce value having limited lifetime (default 600 secs).\n" " -S, --stun-only Option to set standalone STUN operation only, all TURN requests will be ignored.\n" " --no-stun Option to suppress STUN functionality, only TURN requests will be processed.\n" " --alternate-server Set the TURN server to redirect the allocate requests (UDP and TCP services).\n"