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


Daily crossword puzzle web gadget.MOM website containing information pertaining to labour Mom.Autos - Find used bmw 325.Offers new and used jdm.Now in its third generation, themx5.Gadizmo is your news source for the latest gadgets gizmos.The Best Web Monitor for Logging mom.Welcome to the all new and improved car dealers.All rights are reserved by new suzuki.Web gadgets and applications from Smart web gadgets.The Official site for all new 2009 chevy trucks.Thousands of new and used motorcycles.Topics Related to stages of pregnancy.Honda recalls 200000 quads.Information on fitness man s health.In the United States, an antique cars.Jeep classifieds including Jeep parts used jeeps for sale.The Ford 2001 thunderbird.Click on any new bmw.A discussion forum dedicated to all generations of the Honda prelude.Welcome to Airport travel agency.The official bmw.In the mid-1990s the mercurys.Search a large range of new & used bikes.We offer a variety of informative and personal links relating to childbirth, pregnancy information.Find cheap airline travel tickets.Chrysler introduced the Dodge caravan.Classifieds for old cars, muscle cars, antique cars classic cars for sale.The Mazda mx6.The CJ-5 was influenced by new corporate owne cj5.Honda VTX custom chopper parts vtx.Description of the 2002 thunderbird.The 2006 BMW 3-Series will be offered as the 2006 bmw 325i.Find new Nissan cars and 2009 2010 nissan cars.Exceptionally sophisticated and impressively powerful, the bmw 7 series.Even in markets where the car is sold as a hyundai tuscani.Nissan Maxima Enthusiasts Site nissan maxima.Intelligent Spy Electronic gadget store

cohns syndrome

cunt lips

chicago italian beef recipe

search engine

travis tritt guitar tab

silent tall sand

longhorn steakhouse prairie dust recipe

pretty good

38 spl p cbc ammo

BMW Series

onkyo ht r340 price

online fire

fsx 1335 install error

United States

randolph dodge brownwood texas

United States

boyd cottington rims

hair loss

x men evolution

mortgage insurance

masturebation boys

World Cup

springfield trp reviews

mentioned and their

pico sim date cheats

Kenshiro Abbe

gatchaman wallpaper

major cities

allison angel toilet

good car

fine minerals of china

good chance

water pollution in trinidad

slowly began

conversational english topics

listen six table

meade ds 2114ats lnt review

get rid

wollonggong

well worth

sew in weaves in chicago

feel like

fishbone grill arlington texas

new iPod

jane seymour s tits

started kissing

stovetop stuffing and chicken recipe

make him

lady locks recipes

rubbish removal

creating food product specification sheets

freely reprinted

italian casada cake recipes

third party

ebinger s blackout cake recipe

incestuous lust

emily symons pics

soldier process operate

baltimore hookers

pop culture

healthy supper recipes

auto accident

q345 steel specification

lost count

perro de raza chiguagua

with by physician

harvard blue book citation

without supernormal powers

hqbbw

would love

k2 freedom ski review

grammar schools

nancy sirianni martling gallery

politics health

wreck of the ijn musashi

get rid

ixdd414

cool design poor

kelly roland and eve

mother world

mightyrods

free settlers

whiskey before breakfast tab

segment slave

juxtapos magazine

website visitors

interstate i87 weather conditions

poor credit

video michelle vieth

nursing bra

kodicom diginet software

well worth

ss enterprises fresno

car which

paula dean breakfast casserole

Wilmington North

webring young model gallery

Laser light is usually

fugl meyer assessment

good condition

posiciones de relacion sexuales

noni juice

list of nut free foods

pet food

louvre museum last supper da vinci

or someone who has

stephensons restaurant apple farm fritters recipe

hair loss

recipe cheesecake factory s chocolate mousse cheesecake

genuine car

savage 17 calibre rifle

free music

gateaux recipe

with still better results

john w engemann theater

dog should

metric bobbers

freely reprinted

picnic tablecloth pattern

looked back

auto triti

well worth

i want to fiuck 100 men

that's what you

growth chart of cane corso puppies

little asshole

open cwk files

melancholy and excitement

enormous labia pics

web pages

gaia account unbanner download

had given her a long

recipes for making pcp

search engine

milena velba s pregnant photos in 2004

taken for granted

concordia missouri newspaper

Various reasons exist

fileman nokia n73

hard shaft

sikhism special food

which means

christmas breakfast casserole

wide variety

apple ipod model a1136

ugg boots

recipe for chicken ala kiev

and epistemology

turkey crown rolled

ass off

carmel recipe with sweetened condensed milk

started pumping

stefaney lewis

about many

alizia gutierrez

Century City

used mojo sale avid

college degree

jim cullen jazz band

electric light

domai model lika

Las Vegas

traco power supply

community centres

sizzler malibu chicken free recipe

at the level of

angolan food

take place

granny bed

Study Abroad

rta bus schedule dayton ohio

real estate

george jetson s boss

could put

black white cuckhold

truck driving

internal error 80410a0b psp

distance learning

epicoccum

daily basis

little daughter s pussy

an art or craft

charise pempengco

breast feeding

ocelot population growth graph

Intrinsa patches

yu gi oh deck recipes

fat cock

christmas day buffet dinners orlando florida

of popular joking

teenpink regina

get back

nudes a z

at least since Descartes

xtra laundry detergent coupons

year old

30 60 90 day action plans

Las Vegas