[uClibc] dropbear config

Rob Landley rob at landley.net
Sun Feb 20 05:21:31 UTC 2005


On Friday 18 February 2005 03:48 pm, Rich Ireland wrote:
> Rob Landley wrote:
> > On Thursday 17 February 2005 11:06 am, Rich Ireland wrote:
> >>After looking over the dropbear code, almost it looks like it's not
> >>connecting the session to a login/tty process.  The client side is quite
> >>happy to sit forever connected to dropbear without a login - no timeouts
> >>or errors until I kill the dropbear process on the target.
> >
> > I hadn't noticed earlier that you were using devfs.  I'm always amazed
> > when anyone can get that to work even briefly.  I'm guessing you're going
> > to have to either strace dropbear or stick printfs in it to figure out
> > <strike>how devfs is to blame</strike> what the actual problem is. :)
>
> It appears that dropbear hangs right after identifying the client app.
> Interestingly, the next call in line is seed_random().
>
> So, after changing options.h to use /dev/urandom instead of /dev/random,
> dropbear seems to work just fine.  It's slow, but it works.

Search options.h for "#define DROPBEAR_SMALL_CODE" and try commenting it out.  
That can speed it up by about 50%, according to the comment...

Rob



More information about the uClibc mailing list