4 ms·
Here is some initial feedback: Nice selection of static binaries! However the choice to hardcode Google as a default STUN server is off-putting. IMHO, 2008's
by 1vuio0pswjnm7 5y ago
Here is some initial feedback: Nice selection of static binaries!
However the choice to hardcode Google as a default STUN server is off-putting. IMHO, 2008's n2n would never set a third party server as a default. https://luca.ntop.org/n2n.pdf https://luca.ntop.org/n2n.pdf
- pojntfx 5y agoThanks for your feedback! Is there a publicly hosted STUN server that guarantees better privacy? I'd love to use it if there is an alternative. It is of course possible to use any other STUN/TURN server by changing the `--ice` flag and host your own with i.e. `coturn` ^^
- jewel 5y agoTwo users don't need to use the same STUN server in order for udp hole punching to worj, so choosing randomly from a list might be a good way to go.
- Klasiaster 5y agoThere is work for using libp2p instead of a fixed third-party server: https://pkg.go.dev/github.com/libp2p/go-libp2p-webrtc-direct#section-readme https://pkg.go.dev/github.com/libp2p/go-libp2p-webrtc-direct...
- 1vuio0pswjnm7 5y agoOne of the beautiful things about n2n was that the supernode program is relatively small and simple. (n2n does not require the use of STUN or TURN.) There is no need for a third party to be the one running the supernode/STUN/TURN server software. Users can run it themselves. Just because home users must involve commercial third parties, e.g., ISP, cloud hosting, etc., in order to listen on globally reachable IP addresses does not also mean that users must also let those third parties have control over the software users run from those addresses.
- pojntfx 5y agon2n is neat! It is super simple to self-host the signaler in STUN/TURN in the case of weron as well: https://github.com/pojntfx/weron#1-start-a-signaling-server-with-weron-signaler https://github.com/pojntfx/weron#1-start-a-signaling-server-... and `coturn` is even vendored through the Debian repos nowadays.
- braginini 5y agoThere is a very neat implementation of a TURN from Pion https://github.com/pion/turn https://github.com/pion/turn