From owner-freebsd-security@FreeBSD.ORG Tue Sep 25 10:58:40 2012 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB7EE1065672; Tue, 25 Sep 2012 10:58:40 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 81CDB8FC0A; Tue, 25 Sep 2012 10:58:40 +0000 (UTC) Received: from ds4.des.no (smtp.des.no [194.63.250.102]) by smtp.des.no (Postfix) with ESMTP id A886C60FA; Tue, 25 Sep 2012 12:58:38 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 463678161; Tue, 25 Sep 2012 12:58:37 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Pawel Jakub Dawidek References: <20120919231051.4bc5335b@gumby.homeunix.com> <20120920102104.GA1397@garage.freebsd.pl> <201209200758.51924.jhb@freebsd.org> <20120922080323.GA1454@garage.freebsd.pl> <20120922195325.GH1454@garage.freebsd.pl> <505E59DC.7090505@gmail.com> <20120923151706.GN1454@garage.freebsd.pl> <5060D723.6020305@gmail.com> <86r4pqqwnm.fsf@ds4.des.no> <20120925102240.GC1571@garage.freebsd.pl> Date: Tue, 25 Sep 2012 12:58:37 +0200 In-Reply-To: <20120925102240.GC1571@garage.freebsd.pl> (Pawel Jakub Dawidek's message of "Tue, 25 Sep 2012 12:22:41 +0200") Message-ID: <86mx0eqsgy.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Jonathan Anderson , John Baldwin , Ben Laurie , freebsd-security@freebsd.org, RW , Mariusz Gromada Subject: Re: Collecting entropy from device_attach() times. X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 10:58:40 -0000 Pawel Jakub Dawidek writes: > Note that this fake data is the hardest to gather entropy from, as it > doesn't interact with any external hardware. I'm all for testing it on > real hardware and I expect to be able to gather even more entropy from > it (so discarding less than top 7 bits). The problem with making > observations during boot takes much, much longer, so it will limit the > number os samples significantly, and as you know the more samples the > better. I have a handful of SFF machines which support PXE. I can easily set up an NFS root where /etc/rc just remounts / rw, dumps the data and reboots. With a sub-minute cycle time, I can get a couple of hundred thousand samples per machine over the weekend. (I don't even need PXE - they'll probably boot faster from USB sticks or disks) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no