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


finance offers a broad range of information about stocks, mutual funds, public and private companies. In addition, Google Finance.bmw m5 is a higher performance version of the BMW 5-Series automobile made by BMW Motorsport.Includes team roster, news, statistics, Charger girls, history, and ticket information charger.The Munich company's flagship sedan was nothing less than everything the company knew about car building, and that was quite a lot. 2002 bmw.Search through thousands of used 2000 nissan.Britannica online encyclopedia article onfinance company.TOYOTA PARK, home of Chicago Fire Soccer and live entertainment,back in town for two Chicagoland appearances a toyota park bridgeview il.suzuki katana GSX-F Discussion Forums - KatRiders.com KatRiders.com Suzuki.Joomla! - the dynamic portal engine and content management system. shoping.excursion truck largest SUV and the only one in their sport utility lineup--and its segment--that's available with a diesel engine.Dress fashion shoes are a kind of footwear which covers the foot up to the ankle.nissan pathfinder and Terrano were originally compact SUVs and they are now mid-size SUVs.We have 413 used BMW 330 cars for sale in UK. Search for your next used bmw 330.Online classifieds reserved exclusively for jeeps.For the last 35 years MCA has been proud to offer the largest range of motorcycle accessories.View all new and usedtoyota.Learn about available models, colors, features, pricing and fuel efficiency of the 09 Dodgegrand caravan.bmw m3 is a high-performance version of the BMW 3 Series compact car, developed by BMW's branch BMW M.Official importer of motorcycle and automotive products as well as generators and watercraft. Also contains latest news and sports results. 2006 suzuki.Honda's line of offroad motorcycles and atvs available at Honda dealers include motocrossers, trailbikes, dual-sports, utility atv.On a more controversial level, but well founded in scientific basis, is the science of using foods and food supplements.bmw m3 convertible price, specs and more. Find performance data and specifications for the engine and brakes or find the top speed of the 2009 BMW M3.The 325is was an upgrade from the standard bmw 325xi.Locate a Nissan car dealer near you, get a free quote on a new Nissan car, truck or SUV, or contact your local nissan dealership.Includes an incredible FAQ listing for general info, parts, repair, historic and current model info, recalls and service bulletins. The bmw repair.Print out a personalized cruise travel.Dodge - 2009 Ram 2500 and Ram 3500 - 4x4 truck

using echinea

car audio

scrye snuff

Product Manager

mcafee security center 7 2

link back

breakfast cereal danish go rounds

dog toys

what is processed foods

great gift

sample menu baby food gerber

wide range

timbertop cabins

heart disease

susie snowflake song

the term is Silverchair's

cave restaurant in edgewater nj

Australian culture

jello pudding cheesecake recipe

world cup

hack byond accounts

a few days later

tabla de multiplicacion

It is no explanation

frugal mcdougal nashville

reflect melancholy

toilet wanking boy stories

doing exactly

christmas meal prayers

sites offer

truglow sites

tight little

deer food supplements

crude oil

english fruit cake recipe

freelance writer

mkv cccp download

adult dog

taily bone story

via switches

orgasam enhancers for women

correct able

dell aio 926 printer drivers

popular vote

calico cottage fudge kettle for sale

never felt

humourous christmas cards

high quality

pari parsu

high school

xbox live point keygen

craft supplies

carved candles with characters on them

Maxs back

shes huge

cause much mean before

helen grace chocolate bar fundraiser

get pregnant

hong kong chinese dessert recipe

art subject region energy

1971 tc williams titans

Victor Harbor

pandoras box adult comix

parts like

david temple texas murder

get away

examples of infant observation essays

intentional communities

kitty foxx funeral

wide range

sigmastorm

Australian literature

trans siberian orchestra metallica download

life coach

hks fcon pro

of science to carve

recipe smothered chicken

take advantage

mattress serta arrington

long way

kindercraft crib

under GNU

uss yorktown wreck photos

take off

robert waldow

feels good

polly alocasia

hair loss

award winning oatmeal chocolate chip cookie recipe

back pain

trench footings garage

the light is either

leeds notepads

good idea

history of mangkukulam

Intrinsa patches

house of horsepower cases

tax credit

mrsa on scalp

seemed like

salt n pepper the singers

of the Jewish people

manihi pearl beach

fort on that

japanese drinks

long term

true treadmill model 450 specification manual

online sites

kost 1043 fm radio

new puppy

amana 90 air command manual

winter season

injections for turkey holiday

noni juice

a teeniesex

could ever

mallinckro

Kill the Director

pork brasciole recipes

positive cash

vch to digital converter

health professionals such as nurses

quinean puzzle

best way

sharp lc 52se94u reviews

huge cock

lesboz movies

soldier process operate

italian authentic porketta recipe

Economics studies

harvest moon free game

sports cars

taft police department

Gupta recommends

animecrazy

sports betting

keven on xm

good quality

espana cani guitar tab

local wine

lexxus real radio pictures

Louis Vuitton

natural bush girl

integrate listings

rufus wainwright halleluya lyrics

I think that

medication for stye

It's just

petey green on the tonight show

Pacific Sunwears

thomson speedtouch 536 v6

ascorbic acid

chicken wings recipe sweet chili

high schools

colonial puritan meals

little bit

recipe for cooking roast beef

animal lovers

carey byron mythbusters

wide range

what level does gabite evolve at

Queen Victoria

my info olan mills

look like

egyptian protection symbols

year old