Mercurial > hgrepos > FreeBSD > ports > net > turnserver
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 17:af52962aeb56 | 18:4a6383e57d12 |
|---|---|
| 1 --- examples/etc/turnserver.conf.orig 2019-03-02 21:06:19 UTC | 1 --- examples/etc/turnserver.conf.orig |
| 2 +++ examples/etc/turnserver.conf | 2 +++ examples/etc/turnserver.conf |
| 3 @@ -315,17 +315,17 @@ | 3 @@ -322,17 +322,17 @@ |
| 4 # as the user database. | 4 # as the user database. |
| 5 # This database can be used for long-term credential mechanism | 5 # This database can be used for long-term credential mechanism |
| 6 # and it can store the secret value for secret-based timed authentication in TURN RESP API. | 6 # and it can store the secret value for secret-based timed authentication in TURN REST API. |
| 7 -# Use string format as below (space separated parameters, all optional): | 7 -# Use the string format below (space separated parameters, all optional): |
| 8 +# Use string format as below (space separated parameters, all optional, "socket" has higher prio than "ip"): | 8 +# Use the string format below (space separated parameters, all optional, "socket" has higher prio then "ip"): |
| 9 # | 9 # |
| 10 -#redis-userdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" | 10 -#redis-userdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" |
| 11 +#redis-userdb="ip=<ip-address> socket=<unix-domain-socket-path> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" | 11 +#redis-userdb="ip=<ip-address> socket=<unix-domain-socket-path> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" |
| 12 | 12 |
| 13 # Redis status and statistics database connection string, if used (default - empty, no Redis stats DB used). | 13 # Redis status and statistics database connection string, if used (default - empty, no Redis stats DB used). |
| 14 # This database keeps allocations status information, and it can be also used for publishing | 14 # This database keeps allocations status information, and it can be also used for publishing |
| 15 # and delivering traffic and allocation event notifications. | 15 # and delivering traffic and allocation event notifications. |
| 16 # The connection string has the same parameters as redis-userdb connection string. | 16 # The connection string has the same parameters as redis-userdb connection string. |
| 17 -# Use string format as below (space separated parameters, all optional): | 17 -# Use the string format below (space separated parameters, all optional): |
| 18 +# Use string format as below (space separated parameters, all optional, "socket" has higher prio than "ip"): | 18 +# Use the string format below (space separated parameters, all optional, "socket" has higher prio than "ip"): |
| 19 # | 19 # |
| 20 -#redis-statsdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" | 20 -#redis-statsdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" |
| 21 +#redis-statsdb="ip=<ip-address> socket=<unix-domain-socket-path> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" | 21 +#redis-statsdb="ip=<ip-address> socket=<unix-domain-socket-path> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>" |
| 22 | 22 |
| 23 # The default realm to be used for the users when no explicit | 23 # The default realm to be used for the users when no explicit |
| 24 # origin/realm relationship was found in the database, or if the TURN | 24 # origin/realm relationship is found in the database, or if the TURN |
