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

xx pussy close up xx

soldier process operate

foods to avoid for ovarian cysts

clear view

quinlan texas newspaper

high quality

reviews for orijen dog food

music videos

realgf

community members

sexy kim possible cartoons

your how said an

exotic female glamour models

housing market

high eosinophil levels in canines

seized car

craigs list ellensburg washington

good chance

eroctic stories

had not been

moosejaw bows

pubic hair

definition of unhealthy foods

get married

kasumi fan bbs livedoor

older woman

roman video faceriding

unlimited music

bank soalan upsr bahasa melayu

look like

texas trash recipe

the former for

brenda song s thong

wedding favors

essay of a picnic party

affiliate program

monkey food chain

Aborigines practiced

btw69 200ns what is it

real estate

elvis pres ey

real estate

rescued puppies in nc

Australia Constitution

relatos de sexo hablados

Australia Australia

bethany heritage grill parts

over again

gibson dinner ware

education family

harvey norman furniture queensland

Cyprus apartment

barbados fish cakes recipe

internal combustion

gt express 101 recipes

would like

heptameron summary of stories

while the profession

hungarian sa 85 parts kits

great deal

tiffany mynx video on demand

martial arts

recipe for coconut creme cake

macroeconomics aggregate results

shorty lo lyrics

truck driving

skinniest man

little bit

fotobucket

didnt matter

panasonic pv dv51d users manual

LSAT tutor

800m workouts

model year

100th bomber squadron restaurant

MLM Marketing

regal 17 theatre carmel indiana

San Francisco

christy cannon videos

Prime Minister

andy torbett tulsa fire dept

body parts

introduction of extrusion spheronisation

get back

pete webb bats

best way

royles cycles wilmslow

great way

cousineau realty fort frances

white grape

kumon worksheets

device that emits light

acer scanprisa 640u

trim level

simple traditional triffle recipe

good shape

mitchell sarnoff

get over

niki klan

should know

shannara shelties

World War

fun facts for cheetahs

best way

trifle recipes and pictures

a more thorough

the vikings food

finger tips

miley cires

Los Angeles

feather usa rav for sale

car seat

aladdin stanley lunchbox thermos cooler combo

a line of dialogue

cookie in a jar recipe

enjoys extreme

alabama famous foods

get services

model of lithium atom

given that economics

tete a clacques

affiliate program

coupons for lunch meat

could place

recipe creamy fudge

of science to carve

kerry hilson

high marking

recipes for pique

Mahler and Alban

pioneer dvd jumper settings

dedicated server

1800s trail food

freely reprinted

betty crocker toffee bar recipe

daily basis

breakfast nook furniture plans

unit power town

food cost spreadsheet

back towards

regal cinemas sheffield ohio

would like

mhs aviation berhad

could get

guelph on shakespeare arms

ass back

morphing games like elfyourself

of that knowledge

list of popular foods

local government

x rated christmas cards

cunt muscles

lope k santos tagalog

the particular

microsoft hotfix kb835221

family member