From: Etienne Dechamps Date: Sun, 22 Jun 2014 09:48:34 +0000 (+0100) Subject: Add DeviceStandby option to only enable the device when nodes are reachable. X-Git-Tag: release-1.1pre11~103 X-Git-Url: http://tinc-vpn.org/git/browse?a=commitdiff_plain;h=bd451cfe1512fa69eac35a60dbe6df17bfc39154;hp=bd451cfe1512fa69eac35a60dbe6df17bfc39154;p=tinc Add DeviceStandby option to only enable the device when nodes are reachable. This adds a new DeviceStandby option; when it is disabled (the default), behavior is unchanged. If it is enabled, tinc-up will not be called during tinc initialization, but will instead be deferred until the first node is reachable, and it will be closed as soon as no nodes are reachable. This is useful because it means the device won't be set up until we are fairly sure there is something listening on the other side. This is more user-friendly, as one can check on the status of the tinc network connection just by checking the status of the network interface. Besides, it prevents the OS from thinking it is connected to some network when it is in fact completely isolated. ---