Patch for tunnelserver mode in protocol_subnet.c
Guus Sliepen
guus at tinc-vpn.org
Wed Apr 13 15:08:03 CEST 2005
On Wed, Apr 13, 2005 at 11:25:20AM +0200, Thomas NOEL wrote:
> - 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).
But these two are the same, because:
if(tunnelserver && owner != myself && owner != c->node)
return false;
> - this checking can be made before the check of the owner, especially
> before any "new_node" call.
I agree with that.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus at sliepen.eu.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://brouwer.uvt.nl/pipermail/tinc-devel/attachments/20050413/54b09fe6/attachment.pgp
More information about the tinc-devel
mailing list