|
@@ -491,12 +491,18 @@ static char Usage[] = "Usage: turnserver [options]\n"
|
|
|
" This database can be used for long-term credentials mechanism users,\n"
|
|
" This database can be used for long-term credentials mechanism users,\n"
|
|
|
" and it can store the secret value(s) for secret-based timed authentication in TURN RESP API.\n"
|
|
" and it can store the secret value(s) for secret-based timed authentication in TURN RESP API.\n"
|
|
|
" The connection string my be space-separated list of parameters:\n"
|
|
" The connection string my be space-separated list of parameters:\n"
|
|
|
-" \"host=<ip-addr> dbname=<database-name> user=<database-user> \\\n password=<database-user-password> port=<db-port> connect_timeout=<seconds> read_timeout=<seconds>\".\n\n"
|
|
|
|
|
|
|
+" \"host=<ip-addr> dbname=<database-name> user=<database-user> \\\n password=<database-user-password> port=<db-port> connect_timeout=<seconds> read_timeout=<seconds>\".\n\n"
|
|
|
" The connection string parameters for the secure communications (SSL):\n"
|
|
" The connection string parameters for the secure communications (SSL):\n"
|
|
|
" ca, capath, cert, key, cipher\n"
|
|
" ca, capath, cert, key, cipher\n"
|
|
|
" (see http://dev.mysql.com/doc/refman/5.1/en/ssl-options.html for the\n"
|
|
" (see http://dev.mysql.com/doc/refman/5.1/en/ssl-options.html for the\n"
|
|
|
" command options description).\n\n"
|
|
" command options description).\n\n"
|
|
|
" All connection-string parameters are optional.\n\n"
|
|
" All connection-string parameters are optional.\n\n"
|
|
|
|
|
+"--secret-key-file <filename> If you want to use password as encrpyted in the mysql connection string MySQL encrypted connection, this is key path.\n"
|
|
|
|
|
+" This is the file path which contain secret key of aes encryption while using password encryption.\n"
|
|
|
|
|
+" This attribute should be use if allow-encoding-with-aes set to 1.\n"
|
|
|
|
|
+"--allow-encoding-with-aes <1/0> If you want to use password as encrpyted in the mysql connection string. Set allow-encoding-with-aes to 1.\n"
|
|
|
|
|
+" If you want to use clearteaxt password in the mysql connection string. Set allow-encoding-with-aes to 0.\n"
|
|
|
|
|
+" You have to enable secret-key-file attribute above as a key location.\n"
|
|
|
#endif
|
|
#endif
|
|
|
#if !defined(TURN_NO_MONGO)
|
|
#if !defined(TURN_NO_MONGO)
|
|
|
" -J, --mongo-userdb <connection-string> MongoDB connection string, if used (default - empty, no MongoDB used).\n"
|
|
" -J, --mongo-userdb <connection-string> MongoDB connection string, if used (default - empty, no MongoDB used).\n"
|
|
@@ -592,10 +598,10 @@ static char Usage[] = "Usage: turnserver [options]\n"
|
|
|
" See the docs for more information.\n"
|
|
" See the docs for more information.\n"
|
|
|
" -C, --rest-api-separator <SYMBOL> This is the timestamp/username separator symbol (character) in TURN REST API.\n"
|
|
" -C, --rest-api-separator <SYMBOL> This is the timestamp/username separator symbol (character) in TURN REST API.\n"
|
|
|
" The default value is ':'.\n"
|
|
" The default value is ':'.\n"
|
|
|
-" --max-allocate-timeout=<seconds> Max time, in seconds, allowed for full allocation establishment. Default is 60.\n"
|
|
|
|
|
-" --allowed-peer-ip=<ip[-ip]> Specifies an ip or range of ips that are explicitly allowed to connect to the \n"
|
|
|
|
|
|
|
+" --max-allocate-timeout=<seconds> Max time, in seconds, allowed for full allocation establishment. Default is 60.\n"
|
|
|
|
|
+" --allowed-peer-ip=<ip[-ip]> Specifies an ip or range of ips that are explicitly allowed to connect to the \n"
|
|
|
" turn server. Multiple allowed-peer-ip can be set.\n"
|
|
" turn server. Multiple allowed-peer-ip can be set.\n"
|
|
|
-" --denied-peer-ip=<ip[-ip]> Specifies an ip or range of ips that are not allowed to connect to the turn server.\n"
|
|
|
|
|
|
|
+" --denied-peer-ip=<ip[-ip]> Specifies an ip or range of ips that are not allowed to connect to the turn server.\n"
|
|
|
" Multiple denied-peer-ip can be set.\n"
|
|
" Multiple denied-peer-ip can be set.\n"
|
|
|
" --pidfile <\"pid-file-name\"> File name to store the pid of the process.\n"
|
|
" --pidfile <\"pid-file-name\"> File name to store the pid of the process.\n"
|
|
|
" Default is /var/run/turnserver.pid (if superuser account is used) or\n"
|
|
" Default is /var/run/turnserver.pid (if superuser account is used) or\n"
|