[Familiar] problem w/ dropbear ssh

Matt Johnston matt at ucc.asn.au
Fri Jan 14 13:53:06 WST 2005


On Thu, Jan 13, 2005 at 01:10:00PM -0800, Erik Hovland wrote:

> Ok, I'll have a go. Patch attached. It seems ssh was barfing on the
> 2048-bit key the remote host was offering.
> 
> This fixed the problem for me. But I have no idea if there are
> ramifications for increasing the kex buffer size by 50%.

Yep, that patch looks fairly sane, I think the 2000 bytes
was somewhat arbitrary. The proper solution might be to set
the size at runtime rather than a fixed value - I'll look at
that for the next release.

Cheers,
Matt

> --- kex.h.orig	2005-01-13 12:39:26.081910000 -0800
> +++ kex.h	2005-01-13 12:36:46.929681000 -0800
> @@ -64,6 +64,6 @@
>  
>  };
>  
> -#define MAX_KEXHASHBUF 2000
> +#define MAX_KEXHASHBUF 3000
>  
>  #endif /* _KEX_H_ */



More information about the Dropbear mailing list