Re: Collecting entropy from device_attach() times.

看板FB_security作者時間13年前 (2012/09/28 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串70/80 (看更多)
I now have two EPIAs, a laptop and a VirtualBox VM gathering data using this patch: http://people.freebsd.org/~des/software/attachtimes.diff If you want to join in, here's how to prepare a USB stick: fetch http://people.freebsd.org/~des/software/attachtimes.tgz dd if=3D/dev/zero of=3D/dev/da0 bs=3D1m count=3D1 gpart create -s gpt da0 gpart bootcode -b /boot/pmbr da0 gpart add -b 34 -s 94 -t freebsd-boot da0 gpart bootcode -p /boot/gptboot -i 1 da0 gpart add -t freebsd-ufs da0 newfs -Uj /dev/da0p2 mount -t ufs /dev/da0p2 /mnt tar zxf attachtimes.tgz -C /mnt sed -i.orig -e 's/ada0/da0/' /mnt/etc/fstab umount /mnt or a VirtualBox disk image: fetch http://people.freebsd.org/~des/software/attachtimes.tgz rm -f attachtimes.img truncate -s 4G attachtimes.img mdconfig attachtimes.img gpart create -s gpt md0 gpart bootcode -b /boot/pmbr md0 gpart add -b 34 -s 94 -t freebsd-boot md0 gpart bootcode -p /boot/gptboot -i 1 md0 gpart add -t freebsd-ufs md0 newfs -Uj /dev/md0p2 mount -t ufs /dev/md0p2 /mnt tar zxf attachtimes.tgz -C /mnt vi /mnt/boot/loader.conf # remove the ata hint umount /mnt mdconfig -d -u 0 VBoxManage convertfromraw attachtimes.img attachtimes.vdi The kernel and binaries in the tarball are 32-bit. The updated patch is at http://people.freebsd.org/~des/software/attachtimes.diff. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #1GPEY-Rx (FB_security)
討論串 (同標題文章)
文章代碼(AID): #1GPEY-Rx (FB_security)