From 7c87ca9df5c5c7986f5e6a4dcebe3f6a38cf157b Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 14 Jan 2011 00:05:42 +0000 Subject: [PATCH] in the most trivial way, request that the kernel arc4random re-key after we run netstart ok tedu, djm liked it too --- src/etc/rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/etc/rc b/src/etc/rc index 7b3fdb29..5a3655c2 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -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