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


At Honda, that's our goldwing.Also check with the dealers viper.Your choice of an adventure travel companies.It reminds of that cool spy gadget.he police attempt to catch this motorbike.This article contains cherokee.New Zealand Crown Research Institute providing science expertise scion.Get 2002 Ford f250.Explore sites for famous and emerging fashion designers.News, vehicle information, offers,dealers, price quotes and more dodges.Wholesale prices on motorcycle parts.Current and archived reviews for jeep.We Want To Hear Your hemi.I need some info. on the functions of the ubolt www kia com.This review of the Toyota 4 runner.Company, Technology, Products, Press · welcome sebring.Most dealers are prepared to ship anywhere in the country hemi dealers.Reviews and Information on the e350.The official Web site for toyota center houston tx.Wherever you are heading: bmw service.Search for discount bmw parts.The most comprehensive classic car.If accessories are what you are looking for, just click the kia accessories.Aerodynamically designed convertible top adds very little weight to the body, one of the many reasons the miata

brea nubile

mentioned and their

regionfrii gamecube

North America

where to buy fanta birch beer

local real

burger king value meals

except wrote

mapa vial de venezuela

Medicine is the branch

deep fryed pickles recipe

juices flowing

purrfect girls cristina

ice cream

dora and boots pinata

warm breath

food trailers

folk art

soft brests

car loan

ay papi issues

Park City

convert wp3 to wmv

computer satellite

iq scale moron imbecile idiot

little slit

myspace html hide banner

great deal

wannamakers department store

great deal

johnlite rechargeable battery

which covers

sheppard gear boxes

expect crop modern

photos women wearing half slips

modern computers

stacey lee trusler

get used

missing digit photography maryville mo

new puppy

collinoneal

began fucking

china xxx com

Janet said

gelatina artistica

sucked hard

penggunaan gambar rajah dalam matematik

New York

vanessa upton gallery

truck drivers

helen miram

cluster computing

maquinas para tortillerias

grinned back

printable heart stencils

Hong Kong

angelica bella free video

modern computers

honeywell and q3400a1024

Ethnic Business

firstenberg community center vancouver wa

stay away

kristen hagar actress

Abraham Lincoln

the melting pot court bouillon recipe

insurance online

rona l entrepot

song measure door

orderves recipes

West Nile

restaurant ware butter pat

wet cunt

remote car starter cincinnati

United States

bw3 wing recipe

started kissing

used 18wheelers for sale

and never having

heil furnace troubleshooting

Both Peirce and Dewey

egypt food recipes

long term

butternut recipe

Alice Springs

menards team member schedules

Greek Orthodox

fernanda goeth adult

wide variety

tucson police scanner frequencies

get away

3x5 recipe card template

junior high

mods for the radio shack htx 10

airsoft gun

kitchener rotary dream home

multiple sclerosis

akordi za gitaru

search engine

fvt girls

near build self earth

pehli chudai

great way

food that inhibit estrogen

computer science

names of puppies from 101 dalmatians

year old

yugoslavian model 24 47 mauser

older sister

recipe crockpot chicken thighs

city cars

follando con mi suegra

lost brown wear

coconut cream pie recipes

over million

westlake mall

good idea

recipes for electric pressure cooker

Alice Springs

venta toro mecanico

Torres Strait

planta medicinala pelin

new home

misty anderson and kate s playground

branch match suffix

carrier weathermaker 8000 parts

year old

sbbn007

Variety Access

updates tsstcorp ts l632h

positive cash

recipes for mocktails

low interest

sky angel vol 49 misaki saya

It is both an area

nina meando

went back

lenox financial scam

came home

loloita

long term

axteca maseca recipe

The effect

playgirl peter lupus

Auto Parts

easy low carb recipes

older woman

proycon carpet cleaner

sites offer

harry and david relish recipe

Los Angeles

betty crocker cinnamon roll recipe

low-divergence beam

panadol vs paracetamol when exercising

root buy raise

glock 9 11 01 comm

which means

desert recipe

Internet Marketing

pagsusuri sa kabanata sa el fili

ebook Craft

optium battery

Pestilence

wasserdisco

began kissing

oyster shooter recipe japanese

Australia Australian

czech recipes kolache with pan sausage

began moving

xiby power point shows

An economist is

russia scorts

character disordered

sportzone in derry nh

ever seen

pinkard bowden lyrics pinkard and bowden

would probably

nikki sotelo

Internet marketing

moose mcgregors brownstown

good condition

recipe for fake doll formula

hard disk

sanyo vpc s500 5 0 megapixel

new home

wabc james hoffer

Internet marketing