Skip to content

Commit c317a19

Browse files
committed
Some more typo's fixed
1 parent 0259b91 commit c317a19

File tree

7 files changed

+25
-25
lines changed

7 files changed

+25
-25
lines changed

Diff for: README.turnadmin

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Only sha256 is supported as the hash function.
7070

7171
-L, --list-admin List admin users in the database.
7272

73-
-s, --set-secret=<value> Add shared secret for TURN RESP API
73+
-s, --set-secret=<value> Add shared secret for TURN REST API
7474

7575
-S, --show-secret Show stored shared secrets for TURN REST API
7676

Diff for: README.turnserver

+4-4
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ User database settings:
8787
-e, --psql-userdb User database connection string for PostgreSQL.
8888
This database can be used for long-term credentials mechanism,
8989
and it can store the secret value
90-
for secret-based timed authentication in TURN RESP API.
90+
for secret-based timed authentication in TURN REST API.
9191
The connection string format is like that:
9292

9393
"host=<host> dbname=<dbname> user=<db-user> password=<db-user-password> connect_timeout=<seconds>"
@@ -105,7 +105,7 @@ User database settings:
105105
-M, --mysql-userdb User database connection string for MySQL or MariaDB.
106106
This database can be used for long-term credentials mechanism,
107107
and it can store the secret value for
108-
secret-based timed authentication in TURN RESP API.
108+
secret-based timed authentication in TURN REST API.
109109
The connection string format is like that:
110110

111111
"host=<host> dbname=<dbname> user=<db-user> password=<db-user-password> connect_timeout=<seconds> read_timeout=<seconds>"
@@ -128,7 +128,7 @@ User database settings:
128128
-J, --mongo-userdb User database connection string for MongoDB.
129129
This database can be used for long-term credentials mechanism,
130130
and it can store the secret value
131-
for secret-based timed authentication in TURN RESP API.
131+
for secret-based timed authentication in TURN REST API.
132132
The connection string format is like that:
133133

134134
"mongodb://username:password@host:port/database?options"
@@ -141,7 +141,7 @@ User database settings:
141141
-N, --redis-userdb User database connection string for Redis.
142142
This database can be used for long-term credentials mechanism,
143143
and it can store the secret
144-
value for secret-based timed authentication in TURN RESP API.
144+
value for secret-based timed authentication in TURN REST API.
145145
The connection string format is like that:
146146

147147
"ip=<ip-addr> dbname=<db-number> password=<db-password> connect_timeout=<seconds>"

Diff for: docker/coturn/turnserver.conf

+4-4
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ lt-cred-mech
273273
# PostgreSQL database connection string in the case that we are using PostgreSQL
274274
# as the user database.
275275
# This database can be used for long-term credential mechanism
276-
# and it can store the secret value for secret-based timed authentication in TURN RESP API.
276+
# and it can store the secret value for secret-based timed authentication in TURN REST API.
277277
# See http://www.postgresql.org/docs/8.4/static/libpq-connect.html for 8.x PostgreSQL
278278
# versions connection string format, see
279279
# http://www.postgresql.org/docs/9.2/static/libpq-connect.html#LIBPQ-CONNSTRING
@@ -286,7 +286,7 @@ lt-cred-mech
286286
# MySQL database connection string in the case that we are using MySQL
287287
# as the user database.
288288
# This database can be used for long-term credential mechanism
289-
# and it can store the secret value for secret-based timed authentication in TURN RESP API.
289+
# and it can store the secret value for secret-based timed authentication in TURN REST API.
290290
#
291291
# Optional connection string parameters for the secure communications (SSL):
292292
# ca, capath, cert, key, cipher
@@ -312,7 +312,7 @@ mysql-userdb="host=mysql dbname=coturn user=coturn password=CHANGE_ME port=3306
312312
# MongoDB database connection string in the case that we are using MongoDB
313313
# as the user database.
314314
# This database can be used for long-term credential mechanism
315-
# and it can store the secret value for secret-based timed authentication in TURN RESP API.
315+
# and it can store the secret value for secret-based timed authentication in TURN REST API.
316316
# Use string format is described at http://hergert.me/docs/mongo-c-driver/mongoc_uri.html
317317
#
318318
#mongo-userdb="mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]"
@@ -323,7 +323,7 @@ mysql-userdb="host=mysql dbname=coturn user=coturn password=CHANGE_ME port=3306
323323
# Redis database connection string in the case that we are using Redis
324324
# as the user database.
325325
# This database can be used for long-term credential mechanism
326-
# and it can store the secret value for secret-based timed authentication in TURN RESP API.
326+
# and it can store the secret value for secret-based timed authentication in TURN REST API.
327327
# Use string format as below (space separated parameters, all optional):
328328
#
329329
#redis-userdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"

Diff for: examples/etc/turnserver.conf

+4-4
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
# PostgreSQL database connection string in the case that we are using PostgreSQL
272272
# as the user database.
273273
# This database can be used for long-term credential mechanism
274-
# and it can store the secret value for secret-based timed authentication in TURN RESP API.
274+
# and it can store the secret value for secret-based timed authentication in TURN REST API.
275275
# See http://www.postgresql.org/docs/8.4/static/libpq-connect.html for 8.x PostgreSQL
276276
# versions connection string format, see
277277
# http://www.postgresql.org/docs/9.2/static/libpq-connect.html#LIBPQ-CONNSTRING
@@ -282,7 +282,7 @@
282282
# MySQL database connection string in the case that we are using MySQL
283283
# as the user database.
284284
# This database can be used for long-term credential mechanism
285-
# and it can store the secret value for secret-based timed authentication in TURN RESP API.
285+
# and it can store the secret value for secret-based timed authentication in TURN REST API.
286286
#
287287
# Optional connection string parameters for the secure communications (SSL):
288288
# ca, capath, cert, key, cipher
@@ -306,15 +306,15 @@
306306
# MongoDB database connection string in the case that we are using MongoDB
307307
# as the user database.
308308
# This database can be used for long-term credential mechanism
309-
# and it can store the secret value for secret-based timed authentication in TURN RESP API.
309+
# and it can store the secret value for secret-based timed authentication in TURN REST API.
310310
# Use string format is described at http://hergert.me/docs/mongo-c-driver/mongoc_uri.html
311311
#
312312
#mongo-userdb="mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]"
313313

314314
# Redis database connection string in the case that we are using Redis
315315
# as the user database.
316316
# This database can be used for long-term credential mechanism
317-
# and it can store the secret value for secret-based timed authentication in TURN RESP API.
317+
# and it can store the secret value for secret-based timed authentication in TURN REST API.
318318
# Use string format as below (space separated parameters, all optional):
319319
#
320320
#redis-userdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"

Diff for: man/man1/turnadmin.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ List long\-term users in the database.
104104
\fB\-L\fP, \fB\-\-list\-admin\fP
105105
List admin users in the database.
106106
.PP
107-
\fB\-s\fP, \fB\-\-set\-secret\fP=<value> Add shared secret for TURN RESP API
107+
\fB\-s\fP, \fB\-\-set\-secret\fP=<value> Add shared secret for TURN REST API
108108
.TP
109109
.B
110110
\fB\-S\fP, \fB\-\-show\-secret\fP

Diff for: man/man1/turnserver.1

+6-6
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ SQLite user database file name (default \- /var/db/turndb or
140140
User database connection string for PostgreSQL.
141141
This database can be used for long\-term credentials mechanism,
142142
and it can store the secret value
143-
for secret\-based timed authentication in TURN RESP API.
143+
for secret\-based timed authentication in TURN REST API.
144144
The connection string format is like that:
145145
.RS
146146
.PP
@@ -162,7 +162,7 @@ Also, see http://www.PostgreSQL.org for full PostgreSQL documentation.
162162
User database connection string for MySQL or MariaDB.
163163
This database can be used for long\-term credentials mechanism,
164164
and it can store the secret value for
165-
secret\-based timed authentication in TURN RESP API.
165+
secret\-based timed authentication in TURN REST API.
166166
The connection string format is like that:
167167
.RS
168168
.PP
@@ -192,7 +192,7 @@ If you want to use cleartext password then do not set this option!
192192
User database connection string for MongoDB.
193193
This database can be used for long\-term credentials mechanism,
194194
and it can store the secret value
195-
for secret\-based timed authentication in TURN RESP API.
195+
for secret\-based timed authentication in TURN REST API.
196196
The connection string format is like that:
197197
.RS
198198
.PP
@@ -209,7 +209,7 @@ for full MongoDB documentation.
209209
User database connection string for Redis.
210210
This database can be used for long\-term credentials mechanism,
211211
and it can store the secret
212-
value for secret\-based timed authentication in TURN RESP API.
212+
value for secret\-based timed authentication in TURN REST API.
213213
The connection string format is like that:
214214
.RS
215215
.PP
@@ -907,7 +907,7 @@ The temporary user is generated as:
907907
temporary\-username="timestamp" + ":" + "username"
908908
.PP
909909
where username is the persistent user name, and the timestamp format is just
910-
seconds sinse 1970 \- the same value as \fBtime\fP(NULL) function returns.
910+
seconds since 1970 \- the same value as \fBtime\fP(NULL) function returns.
911911
.PP
912912
The temporary password is obtained as HMAC\-SHA1 function over the temporary
913913
username, with shared secret as the HMAC key, and then the result is encoded:
@@ -987,7 +987,7 @@ The TURN server may use "\fB\-\-stale\-nonce\fP" option for extra security: in
987987
some time, the nonce expires and the client will obtain 438 error response
988988
with the new nonce, and the client will have to start using the new nonce.
989989
.PP
990-
In subsequent communications, the sever and the client will always assume
990+
In subsequent communications, the server and the client will always assume
991991
the same password \- the original password becomes the session parameter and
992992
is never expiring. So the password is not changing while the session is valid
993993
and unexpired. So, if the session is properly maintained, it may go forever,

Diff for: src/apps/relay/mainrelay.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ static char Usage[] = "Usage: turnserver [options]\n"
482482
#if !defined(TURN_NO_PQ)
483483
" -e, --psql-userdb, --sql-userdb <conn-string> PostgreSQL database connection string, if used (default - empty, no PostreSQL DB used).\n"
484484
" This database can be used for long-term credentials mechanism users,\n"
485-
" and it can store the secret value(s) for secret-based timed authentication in TURN RESP API.\n"
485+
" and it can store the secret value(s) for secret-based timed authentication in TURN REST API.\n"
486486
" See http://www.postgresql.org/docs/8.4/static/libpq-connect.html for 8.x PostgreSQL\n"
487487
" versions format, see \n"
488488
" http://www.postgresql.org/docs/9.2/static/libpq-connect.html#LIBPQ-CONNSTRING\n"
@@ -491,7 +491,7 @@ static char Usage[] = "Usage: turnserver [options]\n"
491491
#if !defined(TURN_NO_MYSQL)
492492
" -M, --mysql-userdb <connection-string> MySQL database connection string, if used (default - empty, no MySQL DB used).\n"
493493
" This database can be used for long-term credentials mechanism users,\n"
494-
" and it can store the secret value(s) for secret-based timed authentication in TURN RESP API.\n"
494+
" and it can store the secret value(s) for secret-based timed authentication in TURN REST API.\n"
495495
" The connection string my be space-separated list of parameters:\n"
496496
" \"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"
497497
" The connection string parameters for the secure communications (SSL):\n"
@@ -508,12 +508,12 @@ static char Usage[] = "Usage: turnserver [options]\n"
508508
#if !defined(TURN_NO_MONGO)
509509
" -J, --mongo-userdb <connection-string> MongoDB connection string, if used (default - empty, no MongoDB used).\n"
510510
" This database can be used for long-term credentials mechanism users,\n"
511-
" and it can store the secret value(s) for secret-based timed authentication in TURN RESP API.\n"
511+
" and it can store the secret value(s) for secret-based timed authentication in TURN REST API.\n"
512512
#endif
513513
#if !defined(TURN_NO_HIREDIS)
514514
" -N, --redis-userdb <connection-string> Redis user database connection string, if used (default - empty, no Redis DB used).\n"
515515
" This database can be used for long-term credentials mechanism users,\n"
516-
" and it can store the secret value(s) for secret-based timed authentication in TURN RESP API.\n"
516+
" and it can store the secret value(s) for secret-based timed authentication in TURN REST API.\n"
517517
" The connection string my be space-separated list of parameters:\n"
518518
" \"host=<ip-addr> dbname=<db-number> \\\n password=<database-user-password> port=<db-port> connect_timeout=<seconds>\".\n\n"
519519
" All connection-string parameters are optional.\n\n"
@@ -661,7 +661,7 @@ static char AdminUsage[] = "Usage: turnadmin [command] [options]\n"
661661
" -D, --delete-admin delete an admin user\n"
662662
" -l, --list list all long-term mechanism users\n"
663663
" -L, --list-admin list all admin users\n"
664-
" -s, --set-secret=<value> Add shared secret for TURN RESP API\n"
664+
" -s, --set-secret=<value> Add shared secret for TURN REST API\n"
665665
" -S, --show-secret Show stored shared secrets for TURN REST API\n"
666666
" -X, --delete-secret=<value> Delete a shared secret\n"
667667
" --delete-all-secrets Delete all shared secrets for REST API\n"

0 commit comments

Comments
 (0)