Possible improvements to LocalDiscovery

Etienne Dechamps etienne at edechamps.fr
Sun Jul 21 18:49:30 CEST 2013


On 21/07/2013 17:41, Etienne Dechamps wrote:
> To fix these issues, I am suggesting adding functionality to the tinc
> protocol that allows nodes to advertise their own local socket addresses
> (IP and port) to the rest of the graph.

To clarify, I'm referring to the local address as returned by 
getsockname() on the metaconnection's underlying socket. Obviously 
calling getsockname() on the listen socket itself won't be very useful 
since that will return INADDR_ANY (0.0.0.0) with most configurations.

-- 
Etienne Dechamps


More information about the tinc-devel mailing list