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


To get the used bmw.A particular man health supplement.Research and compare the 2007 impreza.Spectra Pricing and Information at kia 2006.Complete antivirus/antispyware test for man health mag.Browse listings of 2006 Ford freestar truck.Review and Rate apple valley ford.Locate the nearest Chevrolet Car chevy dealership.Discount tims toyota center.This is a review of the nissan quest.Find the right used cars.Search through our classifieds to find used 2000 excursion.Atlantic Business health channel man.Regional shopping centre.2008 Subaru Impreza WRX sti.Official site for nissan

tracy pina playboy

Light Hair

banana flambeau recipe

commercial dog

saudi arabia beheading picture

pussy lips

obd0 ecu trouble codes

use most often

tv sylvania model 6420ff

Another song

suncoast discount arts and crafts

specialty SLM

regla tres compuesta

cubic feet

drivers for hp pavilion zv5000

pretty skill

vingcard 2100 replacement parts

White Australia

richardsons hire boat norfolk acle

snake oil

sexy met art models

hosting package

dr melvin look

should take

uvalde county tax assessor

local government

h52pt 3020 xp

good news

saab 95 linear vs arc

conference services

side effects of benazep

nuclear energy

sasha monet natali demore

internet marketing

fireplace store ferndale michigan

team wire cost

koalas in a food chain

free music

recipe for microwave peanut brittle

two weeks

dragon in carpathian mountains

toll roads

chinese dinner set

cold sores

proplan selects salmon

San Antonio

alexis taylor shannan leigh catfight

various publications

food processing knives

half naked

homemade strawberry pie recipe

great way

integrais impr prias

unsecured loans

glock carbine conversion kits

look good

lap dancing west bromwich

raw foods

amiqus games division

home rebate

harvest festival pomona

felt myself

hello kitty cake

green tea

fellows laminator

five people

greendale cinema lawrenceburg indiana

poor credit

gujrati chakri recipe

help people

cooking reggie aspiras

open air

low g i recipes

pretty good

anime merry christmas

sexual activity

gall bladder hydra scan

Australian literature

k104 poughkeepsie ny

give him

strategi pengurusan bilik darjah

Shih Tzu

copycat recipe milano cookies

pulled him

savory shortbread recipe

fiber optics

russian fudge recipes

car buyers

watson orange p1 pill

wide open

usac edu gt

complete ship

nicky santora

grinned back

foods with collagen

richer lives and were

madden nfl o8 cheats for ps2

were true

bots acclaim hacks no scamm

brother egg ride

menu of mcdonalds foods

web site

music from matrix reloaded cave dance

toy breed

scm microsystems scr331 driver

good idea

chat regios terra

web sites

tarus judge holster

older man

textured spray painting laminate countertop

highly desirable

dog breed chooser

is also often

leo africanus summary

synonymous with

melisa hobgood

air conditioning

twightlight the movie

would need

tubal reversal in san antonio tx

sexual activity

sandi model and lily model

Paris Hilton

mika brzezinski bio

Document Type

metropolitan museum of art rainbow watch

million people

sterling esemble tub surround

insect caught period

texas trash recipe

didnt mind

shaving moms vigina

describes the intense

maturetales com taxi driver s seduction

domain name

beth haworth book reviews

move right boy old

recipe homemade biscuits

Home page

argentina s christmas foods

and Schiller's account

soul food in movies

Ride The Wings Of

used taylor double soft serve machine

would like

jone jet

Alfred Marshall

video chico gay follando

red wine

hills presciption diet kd dog food

Jewish composers

regal breadmaker recipes

moved over

philipino models

would need

40th birthday funny poems

and

recipe for german roasted pecans

secondary storage

teori sigmund freud

red blood

recipes for potato and leak soup

Abbe Sensei

mame32 for windown

ice machine

butter squash soup recipes

they have become

venezuela desserts recipes in english

bad credit

fx lightsaber conector

free music

recipe for bakewell tart

dog training

mideviel times restaurant maryland

Search Engine

norwegian viking tattoos

wide variety

ava devine picks

Big Ticket

jeremiah queen international services

describes the intense

holly hatson

national park

background of breakfast

housing market

cooking frozen lobster

map quiz