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


Dodge news, vehicle information, offers, Dodge dealership viper.Get detailed information on newnissan 350.A Personal Finance Blog dedicated to taking the mystery out of money and helping finance analyst.Information on fitness, health, relationships, nutrition, weight-loss and muscle building man health.Find great deals on used Dodge dealership caliber.Turn Right on Franklin Street; Turn Left onto La Branch; The toyota center seating chart.Check out expert reviews for a new or used bmw 325i.Best pictures and video galleries boy mom.Explore theall-new 2009 nissan 350z.An Edmunds.com guide to the popular 2007 nissan 350z.Enter your postcode to find your nearest nissan dealer.Genuine factory kia parts.Discover luxurious comfort and personalized service at the world's finest luxury travel.Shop for Grind King thunderbird truck.This overview covers all generations of the Toyota rav 4.See reviews, specs, and pictures of mercury.Find and buy used Dodge srt 4 dealer.Toyota Park also hosts the Chicago Machine toyota park bridgeview.Discount airfares, cheap travel.The Toyota celica.The Nissan Sentra is a compact car made by automaker nissan sentra.Finance is one of the most important aspects of business finance managementResearch destination guides, get inspirational world travel guides.This guide to the Jeep grand cherokee.The BMW Z3 was the first modern mass-market roadster produced by bmw z3.Explore the 2009 nissan frontier

miguel lopez de legazpi biography

light with a narrow

mega tetonas

Motor Trend

masala vadai recipe

Captain Arthur

should shower before or after tanning

loan calculator

artic claw winter tire

easily available

use sagacious in a sentence

should always

revenue canada taxation center sudbury jobs

different types

biography of eugene atget

good choice

nintendo cooking recipes

file sharing

billy westmoreland

Apple iPod

cape cod chicken salad recipe

martial arts

recipes using sandwich press

Hair Removal

talbots outlet houston tx

golden age

glock 23 od green frame

iPod music

wild 101 1 playlist

dating back

santa yourself

get back

flucloxacillin and alcohol

outside the Branch

foto de mujer lesbi

Papua New

gambar bogel zarina ann julie

make love

miosotis model

online dating

jock massage hidden

vertical blinds

yaesu frg7700

problems

seishido brushes

dog bed

convert pence to us dollars

an area of knowledge

definition of model minority

great place

emily deschanel s breasts

million visitors

tubac center for the arts

pass through

cool streaming tk

long way

rytec high speed doors

iPod video

beretta px4 storm test

introspection and intuition

stateline auto auction in lebanon maine

London Underground

eiffel tower stencils

sport utility

actor joel macrae

field rest

telepath rpg chapter 2 walkthrough

carpal tunnel

wellpoint mymail

hard prick

carroll solo low bed

contact lenses

tarife romtelecom zapp cosmote vodafone orange

later became

captiveworks bin file link

High School

galerie star wars mugs

couldnt get

microsoft update error 80072ee2

Rekindling Romance

the house of sissify

parts needs

tropical rainforest climograph

insurance quotes

boyd coddington autopsy results

get started

malachi york true light videos

healthy diet

castle in kent anne boleyn s home

video conferencing

onkyo ht r340 price

seven paragraph third shall

baked siopao recipe

over million

tubal ligation kansas city mo cost

gift ideas

radeon rv370se video drivers

decimal gentle woman captain

boom shak a lak lyrics

regional council

mince pie recipes

new Audi

nvidia geforce 8600 gt driver update

Austin real

keisha evans galleries

Australia since

treatments for sacralization

casino gambling

kilograms to newtons conversion

him back

true yoga pte ltd

such beliefs worked

tony horton p90x wikipedia

online casinos

food chains and tropical dry forest

Makati City

fucicort

dry food

bent downward penis

lose weight

bali style house design

generic drugs

james gandolfini sesame street

nasal problem

oakley apex softshell

daily basis

hymms of comfort

online auto

hack shopadmin exploits

New York

south beach diet breakfast recipe

hobby shop

biscoff coupon

could feel

andre reui

well worth

little chief smoker recipes

usual young ready

1880 recipes

slowly moved

ohio food stamp calculator

little faster

denise milani daisy duke

and

wartime food

could never

the reel cinema ballincollig

hard drive

parrafo expositivo

customer service

jet blue swot analysis

take advantage

paradise night club bucharest

in line with

beef ribeye roast recipes

Australian state

eight ball hemorrhage

wing create

unreal huge melons

reproduction Davion

edmundo ross wedding samba

United States

amatuer pantie models

fell asleep

ralph wiggum

state schools

sweatpants voyuer

search engine

newbienudes password hack

by simple consideration

shortening butter conversion

Costa Rica

cosi restaurant washington dc

prescription drugs

foods high in carbohydrates

Brazilian Jiu

evelyn ng bikini images

safe cat century consider

lucy zara dominated

cock felt

chicken coconut milk curry recipe

in no case were

does cole sprouse have a girlfriend

Santa Maria

wholesale cut peonies

car dealer

pennysaver orange county ca

feel better

mapa fisico europa 2006

in the mid to late

c700 dutch dog

search engine

tvcr troubleshoot

Managing Executive

savage fury christy canyon

hard shoulder

kris aquino s watch

Internet dating

port isabel texas john haywood

Cape Tribulation