annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
4a6383e57d12 Compile with coturn 4.5.1.3 (GitHub): some security patches are already included now -- "socket" Redis option is included again
Franz Glasner <fzglas.hg@dom66.de>
parents: 4
diff changeset
1 --- examples/etc/turnserver.conf.orig
4
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2 +++ 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
Franz Glasner <fzglas.hg@dom66.de>
parents: 4
diff changeset
3 @@ -322,17 +322,17 @@
4
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
4 # as the user database.
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
5 # This database can be used for long-term credential mechanism
18
4a6383e57d12 Compile with coturn 4.5.1.3 (GitHub): some security patches are already included now -- "socket" Redis option is included again
Franz Glasner <fzglas.hg@dom66.de>
parents: 4
diff changeset
6 # and it can store the secret value for secret-based timed authentication in TURN REST API.
4a6383e57d12 Compile with coturn 4.5.1.3 (GitHub): some security patches are already included now -- "socket" Redis option is included again
Franz Glasner <fzglas.hg@dom66.de>
parents: 4
diff changeset
7 -# Use the string format below (space separated parameters, all optional):
4a6383e57d12 Compile with coturn 4.5.1.3 (GitHub): some security patches are already included now -- "socket" Redis option is included again
Franz Glasner <fzglas.hg@dom66.de>
parents: 4
diff changeset
8 +# Use the string format below (space separated parameters, all optional, "socket" has higher prio then "ip"):
4
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
9 #
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
10 -#redis-userdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
11 +#redis-userdb="ip=<ip-address> socket=<unix-domain-socket-path> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
12
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
13 # Redis status and statistics database connection string, if used (default - empty, no Redis stats DB used).
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
14 # This database keeps allocations status information, and it can be also used for publishing
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
15 # and delivering traffic and allocation event notifications.
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
16 # The connection string has the same parameters as redis-userdb connection string.
18
4a6383e57d12 Compile with coturn 4.5.1.3 (GitHub): some security patches are already included now -- "socket" Redis option is included again
Franz Glasner <fzglas.hg@dom66.de>
parents: 4
diff changeset
17 -# Use the string format below (space separated parameters, all optional):
4a6383e57d12 Compile with coturn 4.5.1.3 (GitHub): some security patches are already included now -- "socket" Redis option is included again
Franz Glasner <fzglas.hg@dom66.de>
parents: 4
diff changeset
18 +# Use the string format below (space separated parameters, all optional, "socket" has higher prio than "ip"):
4
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
19 #
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
20 -#redis-statsdb="ip=<ip-address> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
21 +#redis-statsdb="ip=<ip-address> socket=<unix-domain-socket-path> dbname=<database-number> password=<database-user-password> port=<port> connect_timeout=<seconds>"
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
22
9a1ee735f28f Patch to allow redis connections by a Unix socket.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
23 # The default realm to be used for the users when no explicit
18
4a6383e57d12 Compile with coturn 4.5.1.3 (GitHub): some security patches are already included now -- "socket" Redis option is included again
Franz Glasner <fzglas.hg@dom66.de>
parents: 4
diff changeset
24 # origin/realm relationship is found in the database, or if the TURN