Re:TikTok requests access to devices on local network
by adrr on Monday August 16, 2021 @01:11PM
(#28200406)
I assume signal is udp hole punching to get around NAT.
[ Parent
| on HN ]
Re:TikTok requests access to devices on local network
by ergl on Monday August 16, 2021 @05:19PM
(#28203130)
Signal uses local networking for the account migration functionality: https://support.signal.org/hc/en-us/articles/360007059752-Ba...
You scan a QR code with one device and it transfers the entire account state to the new phone.
Re:TikTok requests access to devices on local network
by danlugo92 on Monday August 16, 2021 @01:35PM
(#28200670)
What's some good resources on understanding NAT and udp hole punching that explain it in an intuitive manner?
Re:TikTok requests access to devices on local network
by zamadatix on Monday August 16, 2021 @03:00PM
(#28201563)
The simplest take on the concept is get a 3rd party with a public address to exchange the current port tuples used to connect to it between the 2 clients so the clients can then use this information to connect directly.
Beyond the basic take on it there really isn't an intuitive single explanation because "simple" things like "NAT traversal" quickly turn into "Full-cone NAT to Port-restricted NAT with UPnP behind CG-NAT" individual corner cases endlessly fighting the need to just go to IPv6.