<div dir="ltr">Thanks Guss, some comments and questions:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If you make the yellow nodes ConnectTo all other nodes, and not have<br>
AutoConnect = yes, and the other nodes just have AutoConnect = yes but<br>
no ConnectTo's, then you will get the desired graph.</blockquote><div><br></div><div>The reason this approach is not desirable is because it fails at automation. It requires us to add a new line of AutoConnect = <new node that joined tinc> to both yellow nodes everytime a new node node joins, while in the current setup as long as the keys of every new node are exchanged between the new nodes and the yellow nodes, the ConnectTo's can stay constant<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br></div><div>Yes, AutoConnect will still remove outgoing connections that it thinks<br>
are redundant. So even if the initial ConnectTo's will cause nodes to<br>
connect to the yellow ones, after a while they can remove those.</div></blockquote><div><br></div><div>Is this optimization also vulnerable to the bug we saw earlier with regard to the network split? Or given that the ConnectTo's exist, peer nodes, will fall back onto these, thereby 'recovering' in some sense if a network split were to occur due to the the AutoConnect bug?</div><div> <br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">   -nirmal</div></div>
<br><div class="gmail_quote">On Thu, Aug 31, 2017 at 1:27 PM, Guus Sliepen <span dir="ltr"><<a href="mailto:guus@tinc-vpn.org" target="_blank">guus@tinc-vpn.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Aug 31, 2017 at 10:40:39AM -0700, Nirmal Thacker wrote:<br>
<br>
> Following your suggestion we reconfigured our tinc network as follows.<br>
> Here is a new graph and below is our updated configuration:<br>
> <a href="http://imgur.com/a/n6ksh" rel="noreferrer" target="_blank">http://imgur.com/a/n6ksh</a><br>
</span>[...]<br>
<span class="">> We are concerned that:<br>
> - We still dont see edges in the graph that show connections between every<br>
> blue labeled node to both the yellow labeled nodes<br>
><br>
> Any reason why we dont see these edges?<br>
<br>
</span>Yes, AutoConnect will still remove outgoing connections that it thinks<br>
are redundant. So even if the initial ConnectTo's will cause nodes to<br>
connect to the yellow ones, after a while they can remove those.<br>
<span class=""><br>
> Is there something missing in our configuration?<br>
<br>
</span>If you make the yellow nodes ConnectTo all other nodes, and not have<br>
AutoConnect = yes, and the other nodes just have AutoConnect = yes but<br>
no ConnectTo's, then you will get the desired graph.<br>
<span class=""><br>
> > > - What is the workaround until we patch with this fix? Using a<br>
> > combination of AutoConnect and ConnectTo?<br>
> ><br>
> > Yes.<br>
<br>
</span>I should've elaborated here.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Met vriendelijke groet / with kind regards,<br>
     Guus Sliepen <<a href="mailto:guus@tinc-vpn.org">guus@tinc-vpn.org</a>><br>
</div></div><br>______________________________<wbr>_________________<br>
tinc mailing list<br>
<a href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a><br>
<a href="https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc" rel="noreferrer" target="_blank">https://www.tinc-vpn.org/cgi-<wbr>bin/mailman/listinfo/tinc</a><br>
<br></blockquote></div><br></div>