The reconnect timer can be adjusted in 1.0.31?

Bright Zhao startryst at gmail.com
Sat Aug 12 11:17:10 CEST 2017


Hi, Guus

I  noticed th default reconnect for the first time is 5s, if failed the
timer will be increase, I would like to know if this timer can be adjusted?

The Max Timeout you mentioned seems not exactly the one, from the
description below, it looks to me it is the total time for connect to be
 re-established, if not it trying other tinc daemon? Different tinc deamons
have nothing related to each other, why try other daemon?

MaxTimeout = <seconds> (900)

This is the maximum delay before trying to reconnect to other tinc daemons.



Guus Sliepen <guus at tinc-vpn.org>于2017年8月12日 周六下午2:41写道:

> On Thu, Aug 10, 2017 at 09:37:13PM +0800, Bright Zhao wrote:
>
> > When the meta connection get lost, it’ll be reconnect like below:
> > Trying to re-establish outgoing connection in 5 seconds, and if it’s
> failed, then the timer will be increased for another try.
> >
> > My question is, how to adjust the reconnect timer, in some cases, the
> reconnect delay for a while(increase to something longer) will be
> beneficial for the unstable connection.
>
> You can set the maximum time that tinc will wait before reconnecting
> by setting the MaxTimeout option in tinc.conf. The default is 300
> seconds.
>
> --
> Met vriendelijke groet / with kind regards,
>      Guus Sliepen <guus at tinc-vpn.org>
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>
-- 
Sent from iPhone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20170812/d20aa5a2/attachment.html>


More information about the tinc mailing list