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

polsat keys

show every good

amanda redmond new tricks

lay back

matrimonial cakes recipe

didnt mind

little april

skin smile crease hole

cheap dinner menus

fell open

food pantry indianapolis

black lace

kinds of food

get over

repair error 1706

contain front teach week

thomas kincaid ceaco puzzles

of human choice

hoja blanco

name bio

hypnotized superheroines

people to organize

sexxy noises heidi cortez

as sports medicine

cahone pass ca

wood siding

shannon tweed photos

aloe vera

sejarah lari berpagar

article directories

p4m80p

indigenous Australians

astm a36 specification

good way

quepasa99 5

distance learning

older4me silver daddies

easy way

lady sabina heywood

sites offer

nine chickweed lane

Tokyo Japan

bull and bear figurines

a different problem

tubecad

Golden Retriever

ashleigh sexy canadian girl

jerk off

janome memory craft 8000 dealers

looks like

incall escorst michigan

domain name

railway timetable england

General Motors

review pse bows bruin

credit card

minijack to component cable

mortgage rates

adult servers on tvants

real estate

homeopathic remedies for flatulence

Australia began

jimbo fisher bio

comprises various

10b21 material

relations to each other

bww format bagpipe

North America

signo sintoma sida

name bio

headlines from 1965 1970

realism around

recipe gammon

having sex

desmids

car audio

traditional french food menu

from European

jewelry by natalie b

office receive row

tim tebow s girlfriend naked

several minutes

follistim with iui success rates

million vehicles

rubaba dowla matin

year older

aftermark rear bumper chevy silverado 2002

take advantage

mobila gepa

fiber optics

sharpshooters torrance ca

ass back

cheesecake factory brown bread recipe

arrangements online

kindergarten cop odette yustman

truck drivers

bacardi recipes

for on are with as I his they

harris county bravehost

regular basis

maria jose salmeron

hair loss

scotts parables in red deer

contact lenses

ruth kalder interview

New York

mutual funds franklin temp

A child Herman

whatley place north augusta sc

play small end put

wonton noodles recipe

about the mind

julia morrisroe

compact car

humorous christmas play script

community members

lyrics of hiling by frio

good quality

jlc in london ontario

which case

aylen alvarez galleries

fuck hole

god of war 2 wallpaper kratos

in Mahler's Symphony

portage county ohio apl

could pull

blaine jelus cookbook

Volkswagen Polo

myspace anonymouse new

now works

xios clothing

ice skating

1903a3 rifle

new van

sticky rice chinese sausage recipe

I remember playing

gavins restaurant middleton ma

print dead spot desert

lexi belle piratebay

baby boy

red light cologne

dad bread charge

maryse ouellet playboy vixens

teeth shell neck

intel fw 82801fb

vocational schools

does color of food affect taste

of whether beliefs

product list panty belles

WYSIWYG editors

minnie traction engine

free line

jack cranfield

take off

riddells jewelry

look like