open_Netcenter Forum open_Netcenter Forum
Registrieren | FAQ | Suche | Mitgliederliste | Heutige Beiträge | Einloggen



Autor Thema: dropbear with epias FW
geert
Ist öfters hier
**
ID # 83


  Erstellt am 03. Februar 2007 20:05 (#1)  |  Zitat Zitat   PN PN   E-Mail E-Mail
If you use dropbear on the WD NetCenter you will notice
that it might work for the first login and but hangs on
a second login. This is caused by the /dev/random device that
blocks when no randomness is available. There is little
in the NetCenter to supply enough entropy for the random
number generator: there's no keyboard and no mouse attached.

I fixed/hacked this by switching to the /dev/urandom device
which is of less quality but works nonetheless.
I hacked the /opt/usr/sbin/dropbear executable by changing the string "/dev/random" in "/dev/urandom" and taking 1 character away from the next string. Very ugly indeed.
Be careful to do this with a proper editor (like emacs).

I hope that someone finds a better solution.

-----------------------
Geert

Beiträge: 23 | Mitglied seit: Februar 2007 | IP-Adresse: gespeichert
geert
Ist öfters hier
**
ID # 83


  Erstellt am 07. November 2010 04:32 (#2)  |  Zitat Zitat   PN PN   E-Mail E-Mail
I have /opt/usr/libexec/sftp-server.
This works with my hacked dropbear.
More details in the mytinker yahoo group.

-----------------------
Geert

Beiträge: 23 | Mitglied seit: Februar 2007 | IP-Adresse: gespeichert



| open_Netcenter Web - Infos, Handhabung, Anleitungen | Boardregeln


Tritanium Bulletin Board 1.6
© 2010–2014 Tritanium Scripts