Maximilian H.
2016-Jan-22 13:12 UTC
Having more info, like the ip address of the vpn nodes in the xdot graph file of tinc
Hello, I am using tinc's feature to dump a graph of the vpn extensively to view the machines which are currently part of the vpn. In my tinc.conf I have this: GraphDumpFile = /tmp/tinc-graph Then I have a desktop starter that executes /usr/bin/xdot /tmp/tinc-graph to open the graph. I would love to have the ip addresses of the vpn ips of the tinc nodes in that graph, e.g. if one tinc node is called office00, then I would like the graph to not only show "office00", but "office00 172.18.0.10". I do not want the "real" ip address of the machines, but the ip address that I assigned inside the vpn. In this way I would not have to memorise or lookup the ips whenever some utterly gifted specialist needs some assistance via vnc or similar or I need to connect to some ip of a machine with ssh. Is there a way I could achieve this ? The tinc graph file starts like this: digraph { office00 [label = "office00"]; office01 [label = "office01"]; ... The label would have to say [label = "office00 172.18.0.10"]. Manual editing is out of the question, since the graph gets rewritten every time the vpn changes. A script started by a cron job is possible, but every time I change some ip configuration of the vpn or add machines then need to edit and update that cron script as well and sometimes the graph is written and I want to lookup stuff before the cron job has run - it would be easier if tinc could do that out of the box. Thanks BR Max.
Guus Sliepen
2016-Jan-22 15:29 UTC
Having more info, like the ip address of the vpn nodes in the xdot graph file of tinc
On Fri, Jan 22, 2016 at 02:12:20PM +0100, Maximilian H. wrote:> I am using tinc's feature to dump a graph of the vpn extensively to view > the machines which are currently part of the vpn. > > I would love to have the ip addresses of the vpn ips of the tinc nodes > in that graph, e.g. if one tinc node is called office00, then I would > like the graph to not only show "office00", but "office00 172.18.0.10". > I do not want the "real" ip address of the machines, but the ip address > that I assigned inside the vpn.This is not supported in tinc 1.0.x. In tinc 1.1, you can look up information in several ways using the "tinc info" command, for example "tinc info 172.18.0.10" would tell you that that address is owned by office00, and "tinc info office00" will tell you all about that node. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20160122/910154ec/attachment.sig>
Maximilian H.
2016-Jan-26 11:40 UTC
Having more info, like the ip address of the vpn nodes in the xdot graph file of tinc
Hello Guus, is there a .deb somewhere for tinc 1.1 and ubuntu 15.10 available / instruction on howto build .deb files for ubuntu ? Then I could put something together with python or the shell, inotify of the tinc graph file and tinc info. Thanks+ BR Max.> On Fri, Jan 22, 2016 at 02:12:20PM +0100, Maximilian H. wrote: > >> I am using tinc's feature to dump a graph of the vpn extensively to view >> the machines which are currently part of the vpn. >> >> I would love to have the ip addresses of the vpn ips of the tinc nodes >> in that graph, e.g. if one tinc node is called office00, then I would >> like the graph to not only show "office00", but "office00 172.18.0.10". >> I do not want the "real" ip address of the machines, but the ip address >> that I assigned inside the vpn. > > This is not supported in tinc 1.0.x. In tinc 1.1, you can look up > information in several ways using the "tinc info" command, for example > "tinc info 172.18.0.10" would tell you that that address is owned by > office00, and "tinc info office00" will tell you all about that node. > > > > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc >
Seemingly Similar Threads
- Having more info, like the ip address of the vpn nodes in the xdot graph file of tinc
- Having more info, like the ip address of the vpn nodes in the xdot graph file of tinc
- Having more info, like the ip address of the vpn nodes in the xdot graph file of tinc
- tinc on a raspberry pi - version 1.0.19 will not work
- tinc on a raspberry pi - version 1.0.19 will not work