diff --git a/src/apps/relay/mainrelay.c b/src/apps/relay/mainrelay.c index 83c2c64..7f89ac7 100644 --- a/src/apps/relay/mainrelay.c +++ b/src/apps/relay/mainrelay.c @@ -491,12 +491,18 @@ static char Usage[] = "Usage: turnserver [options]\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" " The connection string my be space-separated list of parameters:\n" -" \"host= dbname= user= \\\n password= port= connect_timeout= read_timeout=\".\n\n" +" \"host= dbname= user= \\\n password= port= connect_timeout= read_timeout=\".\n\n" " The connection string parameters for the secure communications (SSL):\n" " ca, capath, cert, key, cipher\n" " (see http://dev.mysql.com/doc/refman/5.1/en/ssl-options.html for the\n" " command options description).\n\n" " All connection-string parameters are optional.\n\n" +"--secret-key-file 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 #if !defined(TURN_NO_MONGO) " -J, --mongo-userdb 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" " -C, --rest-api-separator This is the timestamp/username separator symbol (character) in TURN REST API.\n" " The default value is ':'.\n" -" --max-allocate-timeout= Max time, in seconds, allowed for full allocation establishment. Default is 60.\n" -" --allowed-peer-ip= Specifies an ip or range of ips that are explicitly allowed to connect to the \n" +" --max-allocate-timeout= Max time, in seconds, allowed for full allocation establishment. Default is 60.\n" +" --allowed-peer-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" -" --denied-peer-ip= Specifies an ip or range of ips that are not allowed to connect to the turn server.\n" +" --denied-peer-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" " --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"