Mercurial > hgrepos > FreeBSD > ports > net > turnserver
diff files/patch-examples_etc_turnserver.conf @ 18:4a6383e57d12
Compile with coturn 4.5.1.3 (GitHub): some security patches are already included now -- "socket" Redis option is included again
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 02 Sep 2020 22:38:36 +0200 |
| parents | 9a1ee735f28f |
| children | 735b41782ed7 |
line wrap: on
line diff
--- a/files/patch-examples_etc_turnserver.conf Sat Mar 28 18:27:46 2020 +0100 +++ b/files/patch-examples_etc_turnserver.conf Wed Sep 02 22:38:36 2020 +0200 @@ -1,11 +1,11 @@ ---- examples/etc/turnserver.conf.orig 2019-03-02 21:06:19 UTC +--- examples/etc/turnserver.conf.orig +++ examples/etc/turnserver.conf -@@ -315,17 +315,17 @@ +@@ -322,17 +322,17 @@ # as the user database. # This database can be used for long-term credential mechanism - # and it can store the secret value for secret-based timed authentication in TURN RESP API. --# Use string format as below (space separated parameters, all optional): -+# Use string format as below (space separated parameters, all optional, "socket" has higher prio than "ip"): + # and it can store the secret value for secret-based timed authentication in TURN REST API. +-# Use the string format below (space separated parameters, all optional): ++# Use the string format below (space separated parameters, all optional, "socket" has higher prio then "ip"): # -#redis-userdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" +#redis-userdb="ip=<ip-address> socket=<unix-domain-socket-path> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" @@ -14,11 +14,11 @@ # This database keeps allocations status information, and it can be also used for publishing # and delivering traffic and allocation event notifications. # The connection string has the same parameters as redis-userdb connection string. --# Use string format as below (space separated parameters, all optional): -+# Use string format as below (space separated parameters, all optional, "socket" has higher prio than "ip"): +-# Use the string format below (space separated parameters, all optional): ++# Use the string format below (space separated parameters, all optional, "socket" has higher prio than "ip"): # -#redis-statsdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" +#redis-statsdb="ip=<ip-address> socket=<unix-domain-socket-path> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" # The default realm to be used for the users when no explicit - # origin/realm relationship was found in the database, or if the TURN + # origin/realm relationship is found in the database, or if the TURN
