From owner-freebsd-security@FreeBSD.ORG Tue Oct 2 13:14:18 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 3B930106564A; Tue, 2 Oct 2012 13:14:18 +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 E6F3B8FC14; Tue, 2 Oct 2012 13:14:17 +0000 (UTC) Received: from ds4.des.no (smtp.des.no [194.63.250.102]) by smtp.des.no (Postfix) with ESMTP id 38CEA6B16; Tue, 2 Oct 2012 15:07:05 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id D6BF9818F; Tue, 2 Oct 2012 15:07:04 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Ben Laurie References: <20120918211422.GA1400@garage.freebsd.pl> <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> Date: Tue, 02 Oct 2012 15:07:03 +0200 In-Reply-To: <86r4pqqwnm.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Tue, 25 Sep 2012 11:28:13 +0200") Message-ID: <86ipat6n0o.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 , Pawel Jakub Dawidek , John Baldwin , 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, 02 Oct 2012 13:14:18 -0000 Dag-Erling Sm=C3=B8rgrav writes: > If you give me a couple of days, I'll try to come up with a patch that > collects and stores attach times during boot so we can gather and > analyse real data. Here's the data: http://people.freebsd.org/~des/attachtimes-text.txz The tarball contains one directory for each machine I collected data from. Inside each directory is a separate text file for each device in the system. Each text file contains the attachtime deltas for that device, one sample per line. I also included the kernel patch and the source code of the program used to extract the data. The total number of experiments is 6250 elitebook 7228 epia1 6803 epia2 4034 thinkpad 13261 virtualbox 37576 total with a total of 2485193 samples. Please ignore atkbd0 and atkbdc0, at least for epia1 and epia2, as they only appear when a keyboard is connected. I also uploaded a tarball with the raw data: http://people.freebsd.org/~des/attachtimes-bin.txz DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no