innernet/shared/src
Jake McGinty 8903604caa
NAT traversal: ICE-esque candidate selection (#134)
This change adds the ability for peers to report additional candidate endpoints for other peers to attempt connections with outside of the endpoint reported by the coordinating server.

While not a complete solution to the full spectrum of NAT traversal issues (TURN-esque proxying is still notably missing), it allows peers within the same NAT to connect to each other via their LAN addresses, which is a win nonetheless. In the future, more advanced candidate discovery could be used to punch through additional types of NAT cone types as well.

Co-authored-by: Matěj Laitl <matej@laitl.cz>
2021-09-01 18:58:46 +09:00
..
interface_config.rs client: tighten some error types and apply helptext to io::Error 2021-06-16 20:26:01 +09:00
lib.rs client: support running as non-root (#94) 2021-06-10 22:57:47 +09:00
netlink.rs NAT traversal: ICE-esque candidate selection (#134) 2021-09-01 18:58:46 +09:00
prompts.rs NAT traversal: ICE-esque candidate selection (#134) 2021-09-01 18:58:46 +09:00
types.rs NAT traversal: ICE-esque candidate selection (#134) 2021-09-01 18:58:46 +09:00
wg.rs NAT traversal: ICE-esque candidate selection (#134) 2021-09-01 18:58:46 +09:00