X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Ftinc.texi;h=5bd4c6c2a4524ee4025f69b6afd8048572811fdd;hp=7bea5ebc88ccd244ebda54db3b4726bb4702bb1b;hb=54a30e30ad41d7c0e73fcc4e6ff23c3e85af75c4;hpb=bded1b74cc23c60e7319ed9e7465413b94a7914e diff --git a/doc/tinc.texi b/doc/tinc.texi index 7bea5ebc..5bd4c6c2 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -1100,6 +1100,13 @@ This script is started when the tinc daemon with name @var{host} becomes reachab @item @value{sysconfdir}/tinc/@var{netname}/hosts/@var{host}-down This script is started when the tinc daemon with name @var{host} becomes unreachable. + +@item @value{sysconfdir}/tinc/@var{netname}/subnet-up +This script is started when a Subnet becomes reachable. +The Subnet and the node it belongs to are passed in environment variables. + +@item @value{sysconfdir}/tinc/@var{netname}/subnet-down +This script is started when a Subnet becomes unreachable. @end table @cindex environment variables @@ -1129,6 +1136,7 @@ This should be used for commands like ifconfig. @cindex NODE @item NODE When a host becomes (un)reachable, this is set to its name. +If a subnet becomes (un)reachable, this is set to the owner of that subnet. @cindex REMOTEADDRESS @item REMOTEADDRESS @@ -1138,6 +1146,11 @@ When a host becomes (un)reachable, this is set to its real address. @item REMOTEPORT When a host becomes (un)reachable, this is set to the port number it uses for communication with other tinc daemons. + +@cindex SUBNET +@item SUBNET +When a subnet becomes (un)reachable, this is set to the subnet. + @end table