Marco Amrein
2003-Dec-05 15:28 UTC
Numerous disconections and MaxTimeout appears to be ignored
Hi I've compiled Tinc 1.0.2 from source but I'm having trouble. Not only am I having disconnections all the time (could be a network issue however) but even worse, Tinc is ignoring my MaxTimeout = 60 and is waiting longer and longer and longer (logfile shows it at 120 seconds). Is this a bug or have i misconfigured anything? best regards Marco Amrein Dec 5 11:25:12 frank tinc.vpn[6620]: Trying to re-establish outgoing connection in 115 seconds Dec 5 11:27:09 frank tinc.vpn[6620]: Trying to connect to zappa (x.x.x.x port 655) Dec 5 11:27:09 frank tinc.vpn[6620]: Connected to zappa (x.x.x.x port 655) Dec 5 11:27:09 frank tinc.vpn[6620]: Connection with zappa (x.x.x.x port 655) activated Dec 5 11:36:32 frank tinc.vpn[6620]: Sending meta data to zappa (x.x.x.x port 655) failed: Resource temporarily unavailable Dec 5 11:36:32 frank tinc.vpn[6620]: Closing connection with zappa (x.x.x.x port 655) Dec 5 11:36:32 kfrank tinc.vpn[6620]: Trying to re-establish outgoing connection in 120 seconds D zappa# cat /usr/local/etc/tinc/vpn/tinc.conf name = zappa BindToInterface = eth0 device = /dev/tun MaxTimeout = 60 privateKeyFile = /usr/local/etc/tinc/vpn/rsa_key.priv frank# cat /usr/local/etc/tinc/vpn/tinc.conf name = frank BindToAddress = 212.43.131.10 connectTo = zappa device = /dev/tun MaxTimeout = 60 privateKeyFile = /usr/local/etc/tinc/vpn/rsa_key.priv all host files contain the following relevant lines: ... port = 655 compression = 11 IndirectData = yes TCPOnly = yes ... -- +++ GMX - die erste Adresse f?r Mail, Message, More +++ Neu: Preissenkung f?r MMS und FreeMMS! http://www.gmx.net Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://tinc.nl.linux.org/
Guus Sliepen
2003-Dec-05 15:47 UTC
Numerous disconections and MaxTimeout appears to be ignored
On Fri, Dec 05, 2003 at 03:28:10PM +0100, Marco Amrein wrote:> I've compiled Tinc 1.0.2 from source but I'm having trouble. Not only am I > having disconnections all the time (could be a network issue however) but even > worse, Tinc is ignoring my MaxTimeout = 60 and is waiting longer and longer > and longer (logfile shows it at 120 seconds). Is this a bug or have i > misconfigured anything?It's a small bug, tinc tries to read MaxTimeout from hosts/frank instead of tinc.conf. So as a workaround, put it in your hosts/ files. Seeing that you have TCPOnly = yes, and the error message is:> Dec 5 11:36:32 frank tinc.vpn[6620]: Sending meta data to zappa (x.x.x.x > port 655) failed: Resource temporarily unavailableI believe you're trying to send much more data through your VPN than the bandwidth of your connection to the Internet. If that's true, then you should try to limit the amount of traffic that is sent to the virtual network interface. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@sliepen.eu.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20031205/64595937/attachment.pgp