Patch for tunnelserver mode in protocol_subnet.c

Thomas NOEL thomas.noel at auf.org
Wed Apr 13 11:25:20 CEST 2005


Hello,

Here is a patch for protocol_subnet.c with two modifications :

- in tunnelserver mode, tinc must check subnets in the ".../hosts/owner"
   config file, not in "c->config_tree" (which is the configuration
   of the meta-connection from which we receive the ADD_SUBNET message).

- this checking can be made before the check of the owner, especially
   before any "new_node" call.

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
-------------- section suivante --------------
Une pi?ce jointe non texte a ?t? nettoy?e...
Nom: tunnelserver-check-correct-file-for-subnet.patch
Type: text/x-patch
Taille: 2501 octets
Desc: non disponible
Url: http://brouwer.uvt.nl/pipermail/tinc-devel/attachments/20050413/b8dbd3ad/tunnelserver-check-correct-file-for-subnet.bin


More information about the tinc-devel mailing list