Bright Zhao
2017-May-06 15:32 UTC
Show the subnets learnt and update configuration without reset?
1. Is there any tools/command, we can show the subnet where a certain tinc nodes learnt? So that I can know the weight for certain subnet(in real time), instead of go back to the node’s (who advertise the subnet) configuration file to check. 2. So far in order to change the weight of a subnet, or something else, I have to reset the tinc daemon( tincd -k -n myvpn and then tincd -n myvpn) in order to make it updated, any other better ways to update the configuration and make if effect without big impact. Sent from iPhone -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20170506/112ad61b/attachment.html>
Matthew Nichols
2017-May-08 22:42 UTC
Show the subnets learnt and update configuration without reset?
SIGHUP (-kHUP) should reload that config for you and SIGURS2 (-kUSR2) will drop currently known subnets (etc) to syslog. This will not work on Windows. Both of these are in the tinc manual (http://tinc-vpn.org/documentation/tinc.pdf). From: tinc [mailto:tinc-bounces at tinc-vpn.org] On Behalf Of Bright Zhao Sent: Saturday, May 6, 2017 9:33 AM To: tinc at tinc-vpn.org Subject: Show the subnets learnt and update configuration without reset? 1. Is there any tools/command, we can show the subnet where a certain tinc nodes learnt? So that I can know the weight for certain subnet(in real time), instead of go back to the node’s (who advertise the subnet) configuration file to check. 2. So far in order to change the weight of a subnet, or something else, I have to reset the tinc daemon( tincd -k -n myvpn and then tincd -n myvpn) in order to make it updated, any other better ways to update the configuration and make if effect without big impact. Sent from iPhone -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20170508/e77d0785/attachment.html>
Bright Zhao
2017-May-10 06:10 UTC
Show the subnets learnt and update configuration without reset?
Thank you, Matthew, my mistake to overlook this from the main manual. I did a test, it resolve both of my problems, but in addition, I found the HUP can only reload the tinc.conf, but my use case is I would like to reload the local host file, because the weight of the subnet has been changed, anyway to get that updated without reset the daemon?> On 9 May 2017, at 6:42 AM, Matthew Nichols <matt.nichols at westtel.com> wrote: > > SIGHUP (-kHUP) should reload that config for you and SIGURS2 (-kUSR2) will drop currently known subnets (etc) to syslog. This will not work on Windows. > > Both of these are in the tinc manual (http://tinc-vpn.org/documentation/tinc.pdf <http://tinc-vpn.org/documentation/tinc.pdf>). > <> > From: tinc [mailto:tinc-bounces at tinc-vpn.org] On Behalf Of Bright Zhao > Sent: Saturday, May 6, 2017 9:33 AM > To: tinc at tinc-vpn.org > Subject: Show the subnets learnt and update configuration without reset? > > 1. Is there any tools/command, we can show the subnet where a certain tinc nodes learnt? So that I can know the weight for certain subnet(in real time), instead of go back to the node’s (who advertise the subnet) configuration file to check. > > > 2. So far in order to change the weight of a subnet, or something else, I have to reset the tinc daemon( tincd -k -n myvpn and then tincd -n myvpn) in order to make it updated, any other better ways to update the configuration and make if effect without big impact. > > Sent from iPhone > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org <mailto:tinc at tinc-vpn.org> > https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc <https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20170510/f95d234b/attachment-0001.html>
Seemingly Similar Threads
- Show the subnets learnt and update configuration without reset?
- How to diagnostic UDP discovery failed situation
- How to diagnostic UDP discovery failed situation
- What/why this event happens: Can't write to Linux tun/tap device (tun mode) /dev/net/tun: Input/output error
- What/why this event happens: Can't write to Linux tun/tap device (tun mode) /dev/net/tun: Input/output error