Querying entropy state

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Querying entropy state

Chris Rees-11
Hello all,

Since the new random device has been put in, sysutils/monitorix no
longer has a sysctl to poll to view the current state of entropy (i.e.
kern.random.sys.seeded).

I have come to the understanding that it is no longer necessary or
relevant information with the new driver, and entropy is always at an
acceptable state; the author has suggested disabling this test on FreeBSD.

Am I correct that there is no point in checking for entropy any more,
and the entropy is unmeasurable?

Chris

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Querying entropy state

freebsd-security mailing list
On Tue, 15 May 2018 12:17:28 +0100
Chris Rees wrote:

> Hello all,
>
> Since the new random device has been put in, sysutils/monitorix no
> longer has a sysctl to poll to view the current state of entropy
> (i.e. kern.random.sys.seeded).
>
> I have come to the understanding that it is no longer necessary or
> relevant information with the new driver, and entropy is always at an
> acceptable state; the author has suggested disabling this test on
> FreeBSD.
>
> Am I correct that there is no point in checking for entropy any more,
> and the entropy is unmeasurable?

It hasn't been for many years.

kern.random.sys.seeded was set when yarrow first seeded itself after a
boot. As long as there's an entropy file this happened very early, and
ordinary computers would spontaneously seed well before that. The
sysctl was only relevant in some special cases like certain embedded
devices.  
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Querying entropy state

freebsd-security mailing list
On Tue, 15 May 2018 15:54:44 +0100
RW wrote:

> On Tue, 15 May 2018 12:17:28 +0100
> Chris Rees wrote:
>
> > Hello all,
> >
> > Since the new random device has been put in, sysutils/monitorix no
> > longer has a sysctl to poll to view the current state of entropy
> > (i.e. kern.random.sys.seeded).
> >
> > I have come to the understanding that it is no longer necessary or
> > relevant information with the new driver, and entropy is always at
> > an acceptable state; the author has suggested disabling this test on
> > FreeBSD.
> >
> > Am I correct that there is no point in checking for entropy any
> > more, and the entropy is unmeasurable?  
>
> It hasn't been for many years.
>
> kern.random.sys.seeded was set when yarrow first seeded itself after a
> boot. As long as there's an entropy file this happened very early, and
> ordinary computers would spontaneously seed well before that. The
> sysctl was only relevant in some special cases like certain embedded
> devices.  

And now I come to think of it, initrandom would throw in some low grade
entropy to unblock the device even if there was no entropy file, so
with the standard rc files the sysctl did nothing useful.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "[hidden email]"