DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-01-30 05:52:01

bfg100k
Member
Registered: 2007-09-15
Posts: 55

SVN problems - Internal server error in authentication

Hi guys,

I did the SVN installation according to the wiki and am able to browse the repository as anonymous. I've enabled the passwd file and authenticated write. When I try to check in a file via tortoiseSVN, I get a error message (on the client) "Internal server error in authentication". Did a google on this and apparently the problem is due to the missing /dev/random file in my box. I did a manual sym link to /dev/urandom and got it working. I suppose I can add the sym link command in my fun_plug to make it persistent. However, as I'm a linux newbie, I would like to know if this is ok to do with no repercussions and also why this is missing in the first place. I did a search on this forum and so far no one has reported this hence I'm also worried that i did something wrong to get this on my box?

Any advice is much appreciated.

Offline

 

#2 2008-01-31 04:40:36

blbrown
Member
Registered: 2007-11-02
Posts: 88
Website

Re: SVN problems - Internal server error in authentication

bfg100k, I came across this problem with BNC (saw your blog--thanks!) and SSH.  Basically, dropbear (SSH server which uses randomness to help encrypt data) would complain sometimes about not having enough "entropy" or something like that.  Anyway it came down to the same problem as what you saw--/dev/urandom vs /dev/random.  From what I read, /dev/random is normally "populated" using the semi-random actions that a user imposes on a Linux PC, including mouse movements and keyboard timing.  The idea is to get something very very close to random that programs can then query.  If the user hasn't interacted with the PC in a while, the entropy "runs out" causing programs to generate the weird error I saw.

Since the DNS-323 doesn't have a GUI, there's no good source of entropy from the user, so it has to be faked in the /dev/urandom way (not sure exactly how urandom is populated).  And since this is the case, we really have no choice on the DNS-323 but to depend on urandom by linking to it.  In my BNC start script (for use with fonz' fun_plug start/ directory) I did the same thing as you in order to avoid the dropbear errors/warnings.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB