Patch for tunnelserver mode in protocol_subnet.c

Thomas NOEL thomas.noel at auf.org
Wed Apr 13 15:58:03 CEST 2005


Hi,

Le 13.04.2005 15:44, Guus Sliepen a écrit :
>> 	if(tunnelserver && owner != myself && owner != c->node)
>> 		return false;
>>But with a "return false" the meta-connection will be closed. Wouldn't 
>>it be better to answer "true" ? I.e. don't handle the request, but dont' 
>>close the connection ?
> Tinc relies on the fact that every node in the VPN has the view of the
> VPN, ie. they all know the same list of nodes, subnets and edges.
> If some nodes have a different view, then the graph algorithms can't
> guarantee correct routing anymore. So it is never good to ignore faulty
> data from other nodes.

But others nodes can't know that I'm a tunnelserver.
So tunnelserver must "ignore faulty data"...

Or maybe tunnelserver imply that all nodes are tunnelserver ?

Thanks,
-- 
Thomas NOEL <thomas.noel at auf.org> http://www.auf.org/
Coordinateur des infrastructures techniques
Agence universitaire de la Francophonie (AUF)
Services centraux Paris - 4 place de la Sorbonne - 75005 Paris
Tél: +33 (0)1 44 41 18 18, poste 1822 Tlc: +33(0)1 44 41 18 19
 > Merci d'éviter de m'envoyer des documents Word ou PowerPoint
 > cf http://www.gnu.org/philosophy/no-word-attachments.fr.html


More information about the tinc-devel mailing list