Does Encryption use /dev/random or /dev/urandom?

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Epsilon17
OpenVpn Newbie
Posts: 2
Joined: Mon May 23, 2016 4:50 pm

Does Encryption use /dev/random or /dev/urandom?

Post by Epsilon17 » Mon May 23, 2016 4:55 pm

Hello,

I currently have a VPN tunnel setup through an Odroid C1+ which has HWRNG. I initially ran some speed tests and got about 35mbps through put which seemed ok. Upon further investigation i learned I did not have the HWRNG setup properly on my Odroid. I installed rng-tools and got it working properly and tested it using the /dev/random node to generate random numbers. Considering my ISP speed is 50mbps I expected to see it cap out at around 50mbps. However I see no difference in speed. I also don't believe its the server because I run speed tests concurrently on my desktop and hit around 52mbps, while my Odroid is still getting 35mbps, whether I have rng-tools enabled or not I see no difference.

The reason I came here is, while trying to troubleshoot this in the Odroid forums, a mod asked me to find out how openvpn accesses the /dev/random node, but I can't seem to find anything anywhere after a few hours of scouring the web and your forums.

Any help would be appreciated!

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Does Encryption use /dev/random or /dev/urandom?

Post by Traffic » Tue May 24, 2016 12:09 am

A question best asked on the user mailing list

Epsilon17
OpenVpn Newbie
Posts: 2
Joined: Mon May 23, 2016 4:50 pm

Re: Does Encryption use /dev/random or /dev/urandom?

Post by Epsilon17 » Thu May 26, 2016 8:04 pm

Traffic wrote:A question best asked on the user mailing list
How would I go about doing that?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Does Encryption use /dev/random or /dev/urandom?

Post by Traffic » Thu May 26, 2016 8:12 pm

Have you tried google ..

Post Reply