RE: New entropy harvesting sysctl's enabled in rc

2001-03-01 Thread John Baldwin


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 [EMAIL PROTECTED] -- 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: New entropy harvesting sysctl's enabled in rc

2001-03-01 Thread Brandon D. Valentine

On Thu, 1 Mar 2001, Doug Barton wrote:

   Appropriate rc.conf(5) entries will be coming in a seperate commit. I am
working on a general cleanup/update of that file, but I plan to wait till
the reality in rc.conf is closer to what we want it to be.

This is only tangentially related but while you're talking about a
cleanup of the rc.conf(5) file, did anyone ever work up a patchset for
the NetBSD rc system that was discussed several months ago?

-- 
Brandon D. Valentine [EMAIL PROTECTED]
"Few things are harder to put up with than the annoyance of a
good example."  --  Mark Twain, Pudd'nhead Wilson


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: New entropy harvesting sysctl's enabled in rc

2001-03-01 Thread Tony Finch

Doug Barton [EMAIL PROTECTED] wrote:

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.

What about ethernet devices that aren't present at boot time but which
turn up later?

Tony.
-- 
f.a.n.finch[EMAIL PROTECTED][EMAIL PROTECTED]
FINISTERRE: EAST OR SOUTHEAST 4 OR 5 INCREASING 6 OR 7, BUT CYCLONIC BECOMING
SOUTHWESTERLY IN FAR SOUTH. SHOWERS THEN RAIN. GOOD BECOMING MODERATE.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: New entropy harvesting sysctl's enabled in rc

2001-03-01 Thread Neil Blakey-Milner

On Thu 2001-03-01 (15:57), Brandon D. Valentine wrote:
  Appropriate rc.conf(5) entries will be coming in a seperate commit. I am
 working on a general cleanup/update of that file, but I plan to wait till
 the reality in rc.conf is closer to what we want it to be.
 
 This is only tangentially related but while you're talking about a
 cleanup of the rc.conf(5) file, did anyone ever work up a patchset for
 the NetBSD rc system that was discussed several months ago?

I have a bastardisation on my laptop at home; if I can find the time
over the weekend, I'll see about getting it off there[1] and sending it
to -hackers.

[1] It has no network card anymore, and a dodgy floppy drive.  Joy.

Neil
-- 
Neil Blakey-Milner
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message