Subject: Re: rnd(4) not using network entropy source
To: Paul Chakravarti <pc000@passtheaardvark.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 07/19/2001 11:00:28
On Thu, 19 Jul 2001, Paul Chakravarti wrote:
> I used rndctl to enable collection of timing & entropy data from my network
> device (ex0) however this doesnt seem to be contributing any data - ie.
I see that "rndctl -l" on my NetBSD 1.5.1_BETA (i386) system also showed
zero bits for net (ne0) and my cd0 disk (which rcd0d being used). (So it
seems like it also isn't using the cd0 disk event timing information --
or at least it isn't displaying it.)
Then I enabled collection of timing information and entropy estimation
with:
rndctl -c -t net
rndctl -e -t net
And a little later, I started receiving data:
ne0 558 net estimate, collect
And then:
ne0 1838 net estimate, collect
The rnd(4) manual page says:
RND_TYPE_NET The device is a network interface. By default, timing in-
formation is collected from this source type, but entropy
is not estimated.
But I see from your example that you already had the estimate and collect
flags set for you net device.
I am not sure what this all means. (Can anyone explain?)
Now to figure out why my cd0 disk still shows 0 bits ...
Jeremy C. Reed
http://www.reedmedia.net/