]> git.meshlink.io Git - meshlink/commitdiff
Allow nodes to learn their own reflexive UDP address.
authorGuus Sliepen <guus@meshlink.io>
Thu, 31 Oct 2019 21:26:25 +0000 (22:26 +0100)
committerGuus Sliepen <guus@meshlink.io>
Thu, 31 Oct 2019 21:26:25 +0000 (22:26 +0100)
When a node gets a succesful UDP probe reply, it informs the peer of the
UDP address and port that it has. The peer can then use this information to
inform other nodes it wants to communicate with.

Currently, this is only done to close the time window where two nodes have
established an SPTPS session via a third node, while the third node hasn't
learned of the two nodes' UDP addresses, in which case it was too late for
the third node to assist with hole punching.


No differences found