RE: Keepalive timeout with dropbear client

2016-06-07 Thread David Chapdelaine
Hi Matt, Thanks for pointing out that this change was done in more recent versions. Updating to a more recent version should be possible for us. Regards, David From: Matt Johnston [mailto:m...@ucc.asn.au] Sent: Tuesday, June 7, 2016 8:44 AM To: David Chapdelaine Cc: dropbear@ucc.asn.au Subject

Re: Keepalive timeout with dropbear client

2016-06-07 Thread Matt Johnston
Hi David, Dropbear since 2015.68 always sets the socket non-blocking [1], so I think that change should be safe on older versions. The only risk I can think of is if it gets in some state where it might spin with 100% CPU. Cheers, Matt [1] https://secure.ucc.asn.au/hg/dropbear/annotate/10f198

Keepalive timeout with dropbear client

2016-06-07 Thread David Chapdelaine
Hi everyone, We have been using version 65 of Dropbear to maintain an ssh connection to a central server. It usually works fine, but when there is a network failure the Dropbear client waits until there is a tcp timeout before declaring that there was a keepalive timeout. So in practice even th