Browse Source

docs adjusted

Oleg Moskalenko 9 years ago
parent
commit
90fd7546a8
3 changed files with 7 additions and 7 deletions
  1. 2 2
      README.turnserver
  2. 4 4
      man/man1/turnserver.1
  3. 1 1
      src/apps/relay/mainrelay.c

+ 2 - 2
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 

+ 4 - 4
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). 

+ 1 - 1
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		<ip:port>	Set the TURN server to redirect the allocate requests (UDP and TCP services).\n"