Timeout during authentication - connection timeout not configurable?

Nick Hibma nick at van-laarhoven.org
Wed Mar 29 20:59:33 CEST 2017


>> We use tincd over VSAT connections, and if the contract has been reduced to a bare minimum -and- the ship is moving, latency reaches 2 - 5 seconds (yes, seconds). Generally this is not a problem if you are patient (and most smart phones are), but tincd is slightly too fast in deciding that it is not going to work. We also use the tinc connection to check whether any traffic is possible.
>> 
>> Is there an option somewhere to set the connection timeout? I've already set the ping timeout to 15s and I would like to set the connect timeout to 15s as well.
> 
> The connection timeout is always the same as PingTimeout in tinc.

I remember it being faster than that, but in that case I must be mistaken. I had a look around at how to set that timeout and noticed people use a select() construct to do it, not a simple socket setting. So I guess your comment make sense then.

Well, I'll check again and get back to you if I can figure out what actually goes wrong.

Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 873 bytes
Desc: Message signed with OpenPGP
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20170329/5c8961ee/attachment.sig>


More information about the tinc mailing list