Date: Thu, 01 Mar 2001 09:33:45 -0800 (PST) From: John Baldwin <jhb@FreeBSD.ORG> To: Doug Barton <DougB@gorean.org> Cc: freebsd-current@FreeBSD.ORG Subject: RE: New entropy harvesting sysctl's enabled in rc Message-ID: <XFMail.010301093345.jhb@FreeBSD.org> In-Reply-To: <3A9E51AF.AEBE999E@gorean.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01-Mar-01 Doug Barton wrote: > I was unable to test the ppp bits, but I've every reason to believe that > this will work. Comments and suggestions are welcome. The goal is to turn > on the appropriate harvesters for ethernet, and/or ppp/slip/tun based on > the presence of a configured device of that nature. So, the ethernet bits > check to see if there is an ethernet card configured, and turns on that > harvester if so. The same should be true for the ppp harvester, based on > the suggestions I received for detecting whether a tun device is or will be > in use. Erm, it doesn't hurt to turn the sysctl on if no device is present, so why not just turn it on w/o bothering to check? If there's no ether device then having the sysctl on or off doesn't change anything except that if one plugs in an ether device later or kldloads a driver later entropy won't be collected, where as if you just turn the sysctl on if network entropy is enabled regardless of what devices are configured it will all just work and DTRT. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010301093345.jhb>