Long delay during login

Matt Johnston matt at ucc.asn.au
Wed Jun 22 13:35:21 WST 2005


On Mon, Jun 13, 2005 at 10:21:53AM +0100, Simon Rowe wrote:
> We're seeing a long delay when logging in using dropbear on to our embedded 
> system (60MHz PowerPC). Looking at the debug from the client end it appears 
> that the issue is the Diffie-Hellman key negotiation within dropbear
> 
> debug1: expecting SSH2_MSG_KEXDH_REPLY
> 
> [delay of about 8 seconds]
> 
> Is there anything we can change to reduce this delay?

Possibly it's blocking on the random device, though most
likely it's just quite slow at performing big number crypto
operations. It's quite possible that libtomcrypt isn't very
well optimised for powerpc - I haven't really looked that
closely. 

I'm not sure how hard it would be to add some platform
specific routines in performance hotspots - I might take a
look at what other free libraries are available.

Matt


More information about the Dropbear mailing list