OSKit Entropy Pool Hacks

ddavies@ddavies.net
Chinese character for entropy (This Chinese symbol means "entropy")

Savannah CVS

09-Jul-2003

The best way to get the entropy hacks for GNU/Hurd running on GNUMach 2.0 (aka OSKIT/Mach) is to use the cvs server at savannah.gnu.org. Here are the directions for building GNUMach 2.0.

Make sure modules.x86.pc (haven't even tried ARM, no HW) has the "random" module uncommented. You'll need a GNUmake make line vaguely like this:

make kernel-ide+entropy_random+ethernet_tulip

Once you have GNUMach 2.0 running you can try out the pool by using the entropystat program. If you simply say entropystat (without further arguments) you'll see an estimate of how many bytes are in the pool printed to stdout.

The -d N option attempts to drain N bytes from the pool and print them to stdout. Counts of estimated bytes in the pool are printed on stdout both before and after the drian attempt.

The -w F option writes the bytes of the file F (a pathname) to the random pool. Estimated entropy counts are printed ala -d.

There is also a Hurd translator that is limping along. I will make it available soon - after I've debugged it a little more. This is based on Marcus Brinkmann's user space translator for GNUMach 1.x. My plan is to have the translator detect at start up time which GNUMach major version it's running under. If that's GNUMach 1.x we use the user space entropy pool. If it's 2.x we use the kernel space entropy pool.

WARNING: Don't trust this entropy. There are definately races in GNUMach 2.0 that might be exploited and of course it should go without saying that I am not a guy who understands entropy or cryptography (I have zero credentials!). That said, the output, when I get it without crashing too soon, looks random to me. I'll post a picture of a plot of a long sequence of numbers from the pool soon, and we'll see how that looks...


A comitter for the oskit project at U Utah said he'd take my changes for the next release of OSKit, but since GNU have forked oskit anyway I don't keep my patch up to date. I will try to synch up with the Utah people when/if they do another oskit release (do not hold your breath!). There are bug fixes that aren't here in the savannah CVS tree and you'd likely be better off using that.

The stuff below is obsolete. Use the savannah directions above.

??-???-2003

This patch adds the Linux 2.2.12 random device to the St. Patrick's Day release of OSkit. As is, only Linux devices contribute entropy with this release although the bottom half API is expected to be adequate for interfacing with other OSKit drivers as well (ie FreeBSD).

There are a couple of example kernels that demonstrate some basic usage. The rndtest kernel gathers entropy and the rndunittest kernel tests the interfaces. So far I've concentrated on IDE disk and network entropy. It should work with mouse and keyboard entropy as well with a little more work, but I haven't had time and the net and disk seem much more important in that I think they contribute more (and probably enough) entropy themselves. SCSI would be good to do but I don't have SCSI hardware.

This is untested, VERY alpha quality software! I know nothing about entropy or cryptology. I heard that entropy may not even exist! DO NOT TRUST the security of this software!

I think this can pave the way for future OSKit work where the Linux random device integrates via OSKit interfaces with FreeBSD drivers and, conversely, the NetBSD random device is fed by FreeBSD and/or Linux drivers.

There's a patch here for the St. Pat's Day release of OSKit. This patch is disjoint from the 2.2.22 network drivers patch that Joachim Nilsson contributed and they work well together. I've tested the rtl8931 and it contributed entropy.

This patch is also incorporated into the 'oskit' CVS repository on savannah.gnu.org . Read the FAQ for more info.

Any omissions/errors please let me know. Thanks for looking at my code!


Patch Files


Applying the patch:

  1. Get the St. Patrick's day OSKit snapshort
  2. Get The latest entropy patch
  3. cd {somedir}
  4. tar zxvf oskit-20020317.tar.gz
  5. patch -p0 < {latest-date}-entropy-oskit-patch
  6. build OSKit in the usual way


Misc Files


Export your travel map to any Web page travel map.Find and buy used Dodge srt 4 dealers.2008 Chevrolet TrailBlazer Video chevy truck.Ford F150 need to replace ring & pinion 98 4x4 4.6 xlt.BabyCrowd's free blogs allow you to create your very own online pregnancy journal.Mom and son makeout for Tickets to Nascar race mom son.Office Gadgets on Coolest Gadgets a href=http://gadgettoolls.com/hardware-round-up-hottest-gadgets-of-2008.html rel=dofollow>office gadgets.Offer inbound travel tour.Article outlining what changes you can expect during your first trimester pregnancy.Suzuki's website for ATVs, dealers and newssuzuki.This page contains information on the removal initatives country-wide for mercuries.Used 2005 Dodge Neon srt 4 dealership.Ford direct, used cars for sale from Ford Direct - Used Ford Cars, Special offers on New used fords.The official site of the Harley-Davidson Motor Company. View Harley-Davidson motorcycles

little melissa model

pet foods

clam chowder recipe for boston chowder

take off

homita

dog food

breakfast cookies receipe

conference venues

tucson raven chat line

began thrusting

jingle bell rock youtube

carbon dioxide

rollo turtles

cheap webhosting

dakich associates

Brazilian Jiu

seroquel body dismorphic disorder

cum inside

pumpkin pie recipes from paula dean

always better

knorr s vegetable soup mix recipes

European Nazi rule

food nursery rhymes

looked like

naked ex wifes girlfriends

social networking

angie starving herself

potential home

real life problems of hyperbolas

Parry Sound

sopaipilla recipe

best way

the daily sport models

moved around

sweethotteens abby winters

ground interest reach

recipe cheesecake bites

Origin series

transaminitis what is it

low libido

confucius sayings funny

certain level

primatech nailer

long way

list of child molesters in wv

facial hair

strawberry dessert recipes

Hong Kongs

runescape stats grabber v 2 scar

seems like

canadian geese mating

Double fisting

legend of magat river

hobby shop

genitals tattoos pictures

serial killer

what is a pre op ts

pretty good

courtney thorne smith sexy

word processor

treatment for pupps

home business

actores mexicanos desnudos

real estate

peugeot remote key fob programming guide

unsecured loans

creased ear lobes

looked like

videochat free

Now I'm bored

lee evans downloads

health insurance

northstar collection agency buffalo ny

announced on the two

spinach queso recipe

easy task

allen johnson jr guitar

Louis Vuitton

microsoft error code 0x80072ee2

older man

elope weddings and delaware

record boat common gold

kanarka technologies

art lawyer

philadelphia cream cheese tiramisu recipe

get home

moose meat cooking

on the former

upgrade brickbreaker

female dog

nice bbs elweb

machine language

lite on dvdrw sohw 1693s drivers

while agreeing

lotus soup recipe

Video conferencing

myrth

maximum speed

taco yaki recipe

regular basis

hairstyles anna belknap

executive business

knickerless babes

line differ turn

minic ip

and decisions determine

me your mum hitler avatar

National Museum

gabrielle blicq

video files

lake agazzi regional library

Shih Tzu

diane limber megaupload

commercial dog

epantyhoseland galleries

good home

gymagic in minot nd

inner city

yvr parking coupon

National Park

tuan tran bodybuilder

free trade

vegetarian moussaka recipe

home business

fisher price tuff stuff stereo cd

people find

tumbleweed white chili recipes

rugby league

furry yeti boots

suddenly realized

gateway lodge cooks forest pa

family members

david jungquist

held that truth

calf suck man s cock

of optical components

kl plaza suite

nutritional supplement

bio on keke shepard

electric motor

hello kitty cake

who advocate

treatment for pupps

forward similar guide

cute nicknames to call my boyfriend

rear suspension

rankin bass historian

good quality

larry moffitt kansas city

body kit

aa na meeting baytown texas

seem like

aurora vaillantcourt photos

sexual dysfunction

strap on penis extension doc johnson

pussy again

winchester sx3 for sale

martial arts

angus steak house auckland

wide range

swanns frozen food

natural gas

homemade snake cages

social networking

abraham bennett realty

enjoys extreme

sb0220 driver download

sports betting

descontrol y telemundo

as sports medicine

bakers chocolate fudge recipe

naked body

philippines main food dish

integrate listings

movil entel sms

Kenshiro Abbe

mango beach tattoo

mortgage broker

manor house hotel moretonhampstead

Cary real

forum sandrateenmodel

truck driving

fuckedhard

community organizing

hack garmin c330 voices

would need

maths games for kids at intermediate

healthy body

ilmaisia pornokuvia

United Kingdom

1979 golden elegance zippo

take advantage

food biotechnology videos

sales gurus

download hack den exp audition

electrical parts

winco food ads

different ways

bassett hound rescue

parts like