10 Nov 2018 |
Mathijs | We could host our own IS, that is foss | 14:22:22 |
Mathijs | But using it is a little cumbersome untill riot can use well known | 14:22:49 |
Nico |
If you don't host a turn server riot falls back on Google turn server
Really? I thought it worked P2P with WebRTC and IPs given by Synapse... | 14:22:59 |
Mathijs | In reply to @nico:dorfbrunnen.eu
If you don't host a turn server riot falls back on Google turn server
Really? I thought it worked P2P with WebRTC and IPs given by Synapse... It does work p2p but you still want a stun server to find your external ip address | 14:23:42 |
| Tovok7 joined the room. | 14:23:44 |
Mathijs | Googles turn server doesn't do relay | 14:24:49 |
Mathijs | I actually went through the riot source to fins it | 14:26:12 |
Mathijs | Find* | 14:26:16 |
Nico | Ah, I thought Synapse finds the external IP address itself. Is this Google thing documented somewhere? We should really warn users in the app's description in F-Droid. | 14:29:33 |
Nico | ^ Marcus (BubuIIC) | 14:29:43 |
Nico | Mathijs: Thanks for telling me this. | 14:29:58 |
Mathijs | In reply to @nico:dorfbrunnen.eu Ah, I thought Synapse finds the external IP address itself. Is this Google thing documented somewhere? We should really warn users in the app's description in F-Droid. Its not really documented, I think | 14:31:17 |
Mathijs | Its pretty important to server hosters | 14:31:39 |
Mathijs | Not so much for the users, though | 14:31:53 |
Mathijs | Matrix.org obviously runs their own coturn | 14:32:05 |
Mathijs | Also: technically googles turn server is foss | 14:32:25 |
Mathijs | And if you properly set up a server with coturn the app never calls Google coturn | 14:33:21 |
Mathijs | Its not very hard to change either | 14:33:37 |
Mathijs | Im on mobile now, but I'll link later | 14:33:51 |
Nico | OK, but to me as a server operator this was unclear and we could put something like
Warning: If your custom home server doesn't provide its own turn server, Riot falls back to one provided by Google.
in the description. Imho we should completely cut out the fallback and calls should just fail in Riot on F-Droid. | 14:37:13 |
Mathijs | relevant code is here and here | 15:23:33 |
Mathijs | again though: googles stun server is still coturn and still FOSS | 15:24:28 |
Mathijs | I think I'll create a PR to the synapse doc or something | 15:25:08 |
Mathijs | In case you care: google doesn't provide stun, just turn. Which really only gives you your external ip address | 15:25:57 |
| TobiasK left the room. | 15:35:34 |
Nico | Mathijs: Thanks for the links. | 15:35:43 |
Nico |
In case you care: google doesn't provide stun, just turn. Which really only gives you your external ip address
I believe you, but it still gives some third party metadata about the two callers which is nowhere visible to happen like that.
| 15:36:55 |
Mathijs | sure, I'll admit I wasn't too happy when I found the turn fallback either | 15:41:19 |
Mathijs | but I just have coturn set up, so it didn't really bother me | 15:41:37 |
| TobiasK joined the room. | 15:41:38 |