Browse Source

in the most trivial way, request that the kernel arc4random re-key after

we run netstart
ok tedu, djm liked it too
OPENBSD_4_9
deraadt 14 years ago
parent
commit
7c87ca9df5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/etc/rc

+ 2
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.347 2011/01/10 06:44:49 deraadt Exp $
# $OpenBSD: rc,v 1.348 2011/01/14 00:05:42 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -294,6 +294,7 @@ if [ -f /etc/resolv.conf.save ]; then
touch /etc/resolv.conf
fi
. /etc/netstart
echo rekey > /dev/arandom # any write triggers an RC4 rekey
if [ X"${pf}" != X"NO" ]; then
if [ -f ${pf_rules} ]; then


Loading…
Cancel
Save