From 73c14d6b10a9679716be34eca6289da440703d95 Mon Sep 17 00:00:00 2001 From: Pavel Punsky Date: Thu, 29 Sep 2022 11:09:10 -0700 Subject: [PATCH] Replace references to non-existent pdf file with links (#1002) Fixes #800 --- ChangeLog | 2 +- examples/scripts/restapi/secure_relay_secret.sh | 2 +- examples/scripts/restapi/secure_relay_secret_with_db_mongo.sh | 2 +- examples/scripts/restapi/secure_relay_secret_with_db_mysql.sh | 2 +- examples/scripts/restapi/secure_relay_secret_with_db_psql.sh | 2 +- examples/scripts/restapi/secure_relay_secret_with_db_redis.sh | 2 +- examples/scripts/restapi/secure_relay_secret_with_db_sqlite.sh | 2 +- examples/scripts/restapi/secure_udp_client_with_secret.sh | 2 +- src/apps/relay/mainrelay.c | 3 ++- 9 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index a7139a7..38963c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1232,7 +1232,7 @@ Version 1.7.3.0 'Superior Glokta': Version 1.7.2.0 'Superior Glokta': - Issue 9 fixed (uclient). - - Secret-based authentication implemented (see TURNServerRESTAPI.pdf). + - Secret-based authentication implemented (see https://github.com/coturn/coturn/blob/master/README.turnserver). - Uclient docs fixed. - database schema extended (table for the secret added). diff --git a/examples/scripts/restapi/secure_relay_secret.sh b/examples/scripts/restapi/secure_relay_secret.sh index 88bef48..aa004f9 100755 --- a/examples/scripts/restapi/secure_relay_secret.sh +++ b/examples/scripts/restapi/secure_relay_secret.sh @@ -1,7 +1,7 @@ #!/bin/sh # # This is an example how to start a TURN Server in -# secure 'static' 'secret' mode (see TURNServerRESTAPI.pdf) +# secure 'static' 'secret' mode (see https://github.com/coturn/coturn/blob/master/README.turnserver) # with the long-term credentials mechanism. # # We start here a TURN Server listening on IPv4 address diff --git a/examples/scripts/restapi/secure_relay_secret_with_db_mongo.sh b/examples/scripts/restapi/secure_relay_secret_with_db_mongo.sh index b53ad61..32633b3 100755 --- a/examples/scripts/restapi/secure_relay_secret_with_db_mongo.sh +++ b/examples/scripts/restapi/secure_relay_secret_with_db_mongo.sh @@ -1,7 +1,7 @@ #!/bin/sh # # This is an example how to start a TURN Server in -# secure 'dynamic' 'secret' mode (see TURNServerRESTAPI.pdf) +# secure 'dynamic' 'secret' mode (see https://github.com/coturn/coturn/blob/master/README.turnserver) # with MongoDB database for users information # with the long-term credentials mechanism. # diff --git a/examples/scripts/restapi/secure_relay_secret_with_db_mysql.sh b/examples/scripts/restapi/secure_relay_secret_with_db_mysql.sh index 9e21bba..9908714 100755 --- a/examples/scripts/restapi/secure_relay_secret_with_db_mysql.sh +++ b/examples/scripts/restapi/secure_relay_secret_with_db_mysql.sh @@ -1,7 +1,7 @@ #!/bin/sh # # This is an example how to start a TURN Server in -# secure 'dynamic' 'secret' mode (see TURNServerRESTAPI.pdf) +# secure 'dynamic' 'secret' mode (see https://github.com/coturn/coturn/blob/master/README.turnserver) # with MySQL database for users information # with the long-term credentials mechanism. # diff --git a/examples/scripts/restapi/secure_relay_secret_with_db_psql.sh b/examples/scripts/restapi/secure_relay_secret_with_db_psql.sh index e0d6cb3..971ee1e 100755 --- a/examples/scripts/restapi/secure_relay_secret_with_db_psql.sh +++ b/examples/scripts/restapi/secure_relay_secret_with_db_psql.sh @@ -1,7 +1,7 @@ #!/bin/sh # # This is an example how to start a TURN Server in -# secure 'dynamic' 'secret' mode (see TURNServerRESTAPI.pdf) +# secure 'dynamic' 'secret' mode (see https://github.com/coturn/coturn/blob/master/README.turnserver) # with PostgreSQL database for users information # with the long-term credentials mechanism. # diff --git a/examples/scripts/restapi/secure_relay_secret_with_db_redis.sh b/examples/scripts/restapi/secure_relay_secret_with_db_redis.sh index 4f0d8b1..b0f0d89 100755 --- a/examples/scripts/restapi/secure_relay_secret_with_db_redis.sh +++ b/examples/scripts/restapi/secure_relay_secret_with_db_redis.sh @@ -1,7 +1,7 @@ #!/bin/sh # # This is an example how to start a TURN Server in -# secure 'dynamic' 'secret' mode (see TURNServerRESTAPI.pdf) +# secure 'dynamic' 'secret' mode (see https://github.com/coturn/coturn/blob/master/README.turnserver) # with Redis database for users information # with the long-term credentials mechanism. # diff --git a/examples/scripts/restapi/secure_relay_secret_with_db_sqlite.sh b/examples/scripts/restapi/secure_relay_secret_with_db_sqlite.sh index 8718437..21bea13 100755 --- a/examples/scripts/restapi/secure_relay_secret_with_db_sqlite.sh +++ b/examples/scripts/restapi/secure_relay_secret_with_db_sqlite.sh @@ -1,7 +1,7 @@ #!/bin/sh # # This is an example how to start a TURN Server in -# secure 'dynamic' 'secret' mode (see TURNServerRESTAPI.pdf) +# secure 'dynamic' 'secret' mode (see https://github.com/coturn/coturn/blob/master/README.turnserver) # with SQLite database for users information # with the long-term credentials mechanism. # diff --git a/examples/scripts/restapi/secure_udp_client_with_secret.sh b/examples/scripts/restapi/secure_udp_client_with_secret.sh index fc5e0fe..87bb27c 100755 --- a/examples/scripts/restapi/secure_udp_client_with_secret.sh +++ b/examples/scripts/restapi/secure_udp_client_with_secret.sh @@ -2,7 +2,7 @@ # # This is an example of a script to run a "secure" TURN UDP client # with the long-term credentials mechanism and with -# secret-based authorization (see TURNServerRESTAPI.pdf document). +# secret-based authorization (see https://github.com/coturn/coturn/blob/master/README.turnserver document). # # Options: # diff --git a/src/apps/relay/mainrelay.c b/src/apps/relay/mainrelay.c index 5131e73..034eb7c 100644 --- a/src/apps/relay/mainrelay.c +++ b/src/apps/relay/mainrelay.c @@ -560,7 +560,8 @@ static char Usage[] = "Usage: turnserver [options]\n" #endif " --use-auth-secret TURN REST API flag.\n" " Flag that sets a special authorization option that is based upon authentication secret\n" -" (TURN Server REST API, see TURNServerRESTAPI.pdf). This option is used with timestamp.\n" +" (TURN Server REST API, see https://github.com/coturn/coturn/blob/master/README.turnserver).\n" +" This option is used with timestamp.\n" " --static-auth-secret 'Static' authentication secret value (a string) for TURN REST API only.\n" " If not set, then the turn server will try to use the 'dynamic' value\n" " in turn_secret table in user database (if present).\n"