Hello, I am new to tinc and I have read in the docs that one can "signal" tinc with various options. How to achieve this under Windows? Any assistance/pointers appreciated. Apologies, my original post was mailed from another account, hence it was rejected. Thanks Graham Smith -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.tinc-vpn.org/pipermail/tinc/attachments/20081223/5cf288f6/attachment.htm
On Tue, Dec 23, 2008 at 5:58 AM, Graham Smith (net) <graham at watchmanager.net> wrote:> Hello, > > > > I am new to tinc and I have read in the docs that one can "signal" tinc with > various options. How to achieve this under Windows?I don't use Windows, but from a glance over tincd.c, there's a "--kill=[SIGNAL]" argument that emulates this behavior. Also, the 1.1 branch has a "tincctl" program which is more flexible than sending signals. I don't know if it works with Windows or not (do they have Unix-domain sockets?) but if not a Windows developer could probably make it use the local equivalent easily.> > > > Any assistance/pointers appreciated. > > > > Apologies, my original post was mailed from another account, hence it was > rejected. > > > > Thanks > > Graham Smith > > > > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc > >-- Scott Lamb <http://www.slamb.org/>
On Tue, Dec 23, 2008 at 11:04:51PM +0200, Graham Smith wrote:> Yeah, one can control the service externally but correct me if I am wrong: > restarting tinc service would kill existing connections.It would. Although most applications do not mind if the network is gone for just a second.> I am building a small Windows config tool to make it easier for > technologically challenged persons to use tinc as VPN solution. > > It would be nice to be able to choose "Connect To" from a menu and have the > tool tell tinc about the new host/s without restarting the service.That's great! I think it would be best to look at tinc 1.1 then, because as Scott Lamb mentioned it supports sending commands and receiving data via a socket. I think this currently only works on UNIX, but unlike signals there should be a Windows counterpart for local sockets. Perhaps you know the best way for two programs to talk to each other on the same machine on Windows? It should be something similar to a pipe or a TCP socket. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.tinc-vpn.org/pipermail/tinc/attachments/20081223/c1bec7ab/attachment.pgp
Seemingly Similar Threads
- tincctl patches
- tinc 1.1pre4 on Win7x64 --mlock prevents service from starting
- tinc 1.1pre4 on Win7x64 coughs on #comment in first line of host file
- Does tinc have any plan to add radius accounting/authentication(or flowing overview)?
- tinc 1.1pre. How to automatically start vpn tunnels? How to change the installation/config path to the same as tinc 1.0.x version from ubuntu repository?