Using tinc1.0pre5 Three machines A, B, and C tinc.conf on A: ----------------- Name = A PrivateKeyFile = /usr/local/etc/tinc/vpn/rsa_key.priv Device = /dev/tun ConnectTo = B tinc.conf on B: ----------------- Name = B PrivateKeyFile = /usr/local/etc/tinc/vpn/rsa_key.priv Device = /dev/tun ConnectTo = C A is up and connected to B which is up. Machine C is down. The log on B shows it periodically attempting to connect to C. It tries about 3 minutes, times out, waits, and then tries again. During any and all of those three minute periods when B is trying to connect to C, all communication between A and B stops. After the connect fails and B waits packets flow between A and B again until the next time B tries to contact C and they stop again. This makes the setup very hard to use when C is down. Is this "correct" behavior or a bug? Eric Bina ebina1@insightbb.com Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://tinc.nl.linux.org/
On Mon, Feb 18, 2002 at 04:57:49PM -0600, ebina1 wrote:> During any and all of those three minute periods when B is trying > to connect to C, all communication between A and B stops. After the > connect fails and B waits packets flow between A and B again until > the next time B tries to contact C and they stop again. > > This makes the setup very hard to use when C is down. > Is this "correct" behavior or a bug?It's a bug. The connect() system call is blocking, thereby stopping tinc from doing anything until either the connection to C is established or a long timeout is reached. It's just fixed in the CVS version. I guess we'll try to get out a new release ASAP because more people have encountered this bug. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@sliepen.warande.net> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20020219/3e1c37e0/attachment.pgp