How does tinc server handle the case one client's key file is removed after connection

Azul mail at azulinho.com
Mon Jul 25 18:45:27 CEST 2016


and if you want something a bit fancier, you can use this:
https://github.com/JeevesTakesOver/Railtrack

On 25 July 2016 at 17:32, Рысь <lynx at lynxlynx.tk> wrote:

> On Mon, 25 Jul 2016 12:16:36 -0400
> Heng Wang <jason.wangh at gmail.com> wrote:
>
> > Hi Guys,
> >
> > Say when tinc is running all good, the "server" contains all the key
> > files of clients.
> > If we remove the key file for client A during run, how long before
> > does server find out the key
> > file is gone? I see a "KeyExpire" option in the conf file, is this
> > the time?
> >
> > In my own experiment, the client will still be able to connect to the
> > tinc network even if the key file is being removed. Of course the
> > connection will be gone if I restart tinc server on the client side.
> >
> > Thank you.
> > Heng
>
> Usually you manually tell tinc that a particular client has gone by
> sending a SIGHUP signal to it. There probably no configurable option to
> automatically remove a client from network once it's config (key) file
> was removed.
>
> But does not it happen automatically? Tinc tries to open
> config file on next connection attempt, and if that fails - denies it.
> At least on 1.0.x.
>
> --
> http://lynxlynx.tk/
> Power electronics made simple
> Unix and simple KISS C code
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> 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/20160725/b5f67942/attachment.html>


More information about the tinc mailing list