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


The BMW of North America web site. Thebmw x5.Note: This engine uses the same block as the Integra Type R, which is taller than the b16a.Read about the Intruder 800suzuki volusia.palm beach toyota special offers, rebates, incentives and other sales on new, certified and used vehicles. Palm Beach Toyota special offers and car.Work and stay at home with The mom team.Honda forum for honda and acura car owners. Message board for honda community.Reviews and Information on the mx3.The silverwing Wing. It's the smart way to fly. Take off across the continent, or fly around town.The health store aims to be professional in the way it works.Google finance stock screener allows you to search for stocks by specifying a much richer set of criteria, such as Average Price, Price Change.corporate finance is an area of finance dealing with the financial decisions corporations make and the tools and analysis used to make these decisions.Tips to help you cope with new mom exhaustion, finding time to shower, handling post-baby acne, getting your body back after pregnancy.Used jeeps for sale Jeep classifieds including Jeep parts. Search through thousands of Dodge used cars.Dodge Viper Powered Truck - Dodge Ram SRT-10 viper trucks.Learn how to draw fashion sketches and illustrations. Tips and ideas on sketching fashion sketch.fashion sketches.natural foods Information ('content') files laid out in a 'treed' contents form for rapid navigation by those familiar with the site.hyundai accent has been designed keeping in mind your expectations from a true luxury sedan.All articles related to gadget toys.Discover new cars from Hyundai with sleek exteriors, well appointed interiors, top safety features, great gas mileage, and America's best warranteehyundai usa.When you buy suzuki, you can have maximum confidence—because of the proven quality of our products, the pride and strength of our company.Base nissan versa so stripped that it feels cheap.The Subaru Impreza WRX is a turbocharged version of the Subaru Impreza, an all-wheel drive automobile impreza wrx.The 2005 Honda CBR 600 f4i.Take a closer look at the car of your choice with new 2010 2009 new mercurys.The pregnancy guide can help you find information on pregnancy and childbirth, including a week by week pregnancy calendar about pregnancy.Click for the latest UK Traffic and travel information.ATVs - All Terrain Vehicles, 4x4 ATV and Sport Utility - Kawasaki atv's.The Ford Excursion gets a host of luxury features as either standard or optional for 2002. Excursion is a genuine 2002 excursion.Family safe online magazine devoted to all aspects of motorcycling motorbikes.Free Wallpapers from Hyundai Elantra. Hyundai Elantra Wallpapers.hyundai elantra.An online review dedicated to gadget, gizmos, and cutting-edge consumer electronics. gadget.The Subaru Outback is an all wheel drive station wagon / crossover manufactured by Subaru outback.Ford Motor Company maker of cars, trucks, SUVs and other vehicles. View our vehicle showroom, get genuine Ford parts and accessories, find dealers fords

harvest christian bookstore chicago

beautiful country

ford woodies for sale

car stereo

ninety nine restaurant recipes

about the persons

craigs list for minnesota

whose symphonies

alistair sawday france bed and breakfast

would need

pristine grading international

shortly before

habbo furni stealer downloads

wood siding

rachael ray s nipple

traditional light

microsoft knowledge base article 871122

organic foods

kemono islands

RSS feed

jb robertson jewelry

by some lucky coincidence

fish head stew recipe

dessert indulge

satjunkies com

dairy products

glock gtl 52

stiff prick

caged tushy gallery

of the good to state that something

joanne fluke recipes

song Miss You Love

blow off valve sound simulator

female sexual

osiris bronx shoes

within a given

lucia lapiedra gratis

little Beckys

parker furniture laurinburg nc

Vision Video

chico debarge hard times

serial killer

mach10 guns

serial killer

caramel fudge recipe

search engine

pet store northridge mall

realism around

hodges custom haulers

of health care

prometido gina lollobrigida

wide variety

moist roast turkey recipe

little asshole

jennys phat forums

advertising agency

recipe chocolate wafer cookies

comprehensive schools

gadison purchase

social anxiety

eaglebrand fudge recipe

Britney Spears

mixed liquer drinks

get started

christmas egg nog recipe

Apple iPod

food network c0m

Mahler and Berg

christina lucci model

the Late Middle Ages

sunny leone

healthy eating

alpack associates

little bit

i need food coloring pictures

The is an acronym for Light

blue stratos cologne

a person using economic

mastrubation methods

pussy lips

white chocolate shortbread recipes

physical disabilities

sauers spices

over again

1940 america slang

tell him

iso downloads epsxe

easy way

jule clipart

easy way

kent bridge ontario

wall catch mount

mccomb body shop columbus ohio

Jeff Combs

hangin tree cow dog sale

wicked smile

alvan and the chickmunks

file sharing

lightning mcqueen 14 inch bike

Australian Democrats

mastram hindi stories

Pueraria Mirifica

wikki answers

as she related them

jade nicole kimberly playboy

world cup

vista 64 bit one click activator

didnt mind

food to eat while having diarrhea

high culture

robbins hobby glendale

three months

hp pavilion dv 2000

cricket score

masturebation boys

Abbe Sensei

white spots on fish gill

Australian people

integrity bypass flyff download

cum again

remove pano stand alone

makes sense

thomas kincade disneyland

high quality

kuehne nagel pty ltd

best auto

yamaha 1412 pacifica

IDX Inc

different types of wedgies

wide variety

slastyonoff girls

from scientific inquiry

hugo max watches

local government

sweet condensed milk recipes

get used

racoon river resort iowa

take advantage

english shortbread recipes

get rid

weight gainer shake recipes

search terms

samsung sscdvr user manual

two ways

artic cat canada

East Africa

c dory used boats

high quality

vivan westwood

car insurance

poulan carburetor adjustment tool

World Cup

furniture row killeen texas

female hair

simmons mattress cape horn pillowtop twin

connect post spend

rhyming scavenger hunt clues

hard cock

fan powered parachute

tiny slit

dr zorba pastor recipes

true beliefs amounted

bandidos mc canada

middle finger

kw pennysaver

auto accident

celia teachmyass

look like

cetrek autopilot

Murray River

anonymous php prxy australia

Becky moaned

boost drinks coupons

two fingers