diff options
author | dougb <dougb@FreeBSD.org> | 2001-01-11 13:01:20 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2001-01-11 13:01:20 +0000 |
commit | ed0bc299d087ff5da618344681310644e7401700 (patch) | |
tree | 6fc043516c0aa470d83378f1879f9a7cb9eee8cc /etc/defaults | |
parent | 9213771385c22cde6b3f126a561bc3a8fe2de7b6 (diff) | |
download | FreeBSD-src-ed0bc299d087ff5da618344681310644e7401700.zip FreeBSD-src-ed0bc299d087ff5da618344681310644e7401700.tar.gz |
Add a system to save entropy from /dev/random periodically so that
it can be used to reseed at boot time. This will greatly increase
the chances that there will be sufficient entropy available at
boot time to prevent long delays.
For /etc/rc, remove the vmstat and iostat runs from the attempt
to provide some cheesy randomness if the files fail, since
those programs are dynamically linked, and ldd seems to want
some randomness to do its magic.
Guidance and parameters for this project were provided by
Mark Murray, based on the requirements of the Yarrow
algorithm. Some helpful suggestions for implementation
(including the tip about iostat and vmstat) were provided
by Sheldon Hearn. All blame for problems or mistakes is
mine of course.
Diffstat (limited to 'etc/defaults')
-rw-r--r-- | etc/defaults/rc.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index b761564..7e3d276 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -324,6 +324,9 @@ start_vinum="" # set to YES to start vinum unaligned_print="YES" # print unaligned access warnings on the alpha (or NO). entropy_file="/entropy" # Set to NO to disable caching entropy through reboots. # /var/db/entropy is preferred if / is not available. +entropy_dir="/.entropy" # Set to NO to disable caching entropy via cron. +entropy_save_sz="2048" # Size of the entropy cache files. +entropy_save_num="8" # Number of entropy cache files to save. ############################################################## ### Define source_rc_confs, the mechanism used by /etc/rc.* ## |