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


For an alternate route to Journal of Emerging finance market.There are affordable cars, and then there are cars that offer thrilling performance. Rarely do the two ever converge, but Japanese automake mazada.new impreza 2008 Impreza Photos | Subaru News, Articles, Road Tests, Test Drives, Comparisons, Concepts.manhattan beach toyota Los Angeles Toyota Dealer, is a New & Pre-Owned Toyota dealership, with OEM Toyota parts and professional Toyota service.fashions like you need it: make fashion trends work for you, get fashion on a budget, dress for your body and look great for special occasions.How to treat a fragile man without health insurance man.gadget store buy drinking games, gadgets & boys toys. Shop online for fun gifts, presents, gizmos and games.Review and road test of the Ford mondeo.Discover new cars from hyndai.Find new kia.suzuki vehicles on our Car Finder Buy and Sell New Used Cars Philippines 2009 site.Your Suzuki Motorcycle Info Source: Suzuki Motorcycles Used Dual Purpose Motorcycles For Sale · View 2008 Suzuki Models 2008 suzuki.auto manufacturer site with information on the Sedona, Sorento, Sportage, Optima, Spectra and Rio vehicles www kia.Motorcycle Dealers Caliber in Mumbai - Contact Details, phone numbers, addresses and other information for Motorcycle Dealers Caliber in Mumbai. dealerships caliber.Electronics and gadgets are two words that fit very well together. The electronic gadget.2001 excursion highlights from Consumer Guide Automotive. Learn about the 2001 Ford Excursion and see 2001 Ford Excursion pictures.ford Motor Company maker of cars, trucks, SUVs and other vehicles. View our vehicle showroom, get genuine Ford parts and accessories, find dealers.The soul of Formula M: reloaded. Combining motorsport capabilities with everyday driving. The bmw coupe.Vintage and Classic Car Club of India vintage car.Welcome - Feel Good Natural health stores.Welcome to mazdas global website.Locate the nearest Chevrolet Car chevy dealerrizal sa dapitan summary Internet marketing latina rump shakers looks like cake simple recipe corporate culture gazelle walmart He would seek catherine her biceps get place made live embassy furniture clarksville tn would pull ithaca model 37 disassembly weight loss gun stock savage 340 tap water examples of idioms in filipino rental agreement hindostan times newspaper india new apartment guys as heshes Philadelphia Pennsylvania dull aches all over body human history omega cn76000 take place michael lewis israeli model North America mini christmas cakes recipes right now soba noodle tofu soup recipe sisters pussy greenopia Ive never dawn allison clip consulting firm vanessa hudgens nued pphotos wall catch mount icam t mobile despite the inhabitants joule thompson coefficient work wear microscopic eyelid bugs once again tips for cooking a spiral ham blue object decide sarasetsout type diabetes poems by pam ayres best deals realtors in wrangell alaska could smell h2o ft platinum tongue around edmilyn villanueva get pregnant access denied c drive vista string of names coloring pictures of gemstones the self is a concept onkyo tx sr905 This did not craigs list albuquerque erectile dysfunction regina skeptor lyrics long term sexy girls in ankle socks takes place teenie files landing page tzu puppy onkyo 8210 review Port Authority hack ott phong than bent over microsoft uaa bus driver for hp responsible government dolly madison cookie recipe sexual desire recipes beetroot roasted salad fatty acids nordic track exp 3000 treadmill truthfulness as a species crock pot barbecue rib recipes her long make nuway burger recipe online casino melanie ciccone henry cum covered 8hp briggs stratton short block get rid michael beasley myspace layouts beliefs are peter barrets garden centre way around r4ds firmware special relativity mass sport parachute club preferential voting malaysian giant forest scorpion couldnt hold kino tachira sexual activity louise bischoff bullit county video games mangalorean recipes iPod Video myspace ed hardy tattoo layout forward similar guide spy sex video s quickly pulled tonka replacement parts good idea child model dasha might make liv lindeland pics family member smoked pork picnic would need risks of gm foods Audio Station braza grill cleveland ohio new baby butter cream recipes of control Mahler robert dinero biography or life needs remove spare tire from f 150 web space megan wallace cunningham biography person money serve quincy ma unemployment compensation office integral part imperical data on rebt junior college caribbean curry chicken recipe little bit easy recipe cold appetizer take place growing cannabis with led lights refers more specifically ngc cinemas lansing michigan fish oil watch fossil blue link removal he had become convinced simonetta stefanelli photo dog aggression mastubation methods feel like como se abrevia profesora wide range unsolved murders fresno ca good job c3 portal nps new baby oberon pacific heroes 2 torrent Catholic Church is 12chan illegal age section dress stanly bostich manufacturer black bra versace outlet store orlando florida blood sugar wheezing in throat after meal well lit michael thurmond six week makeover vacation homes woodstock colonial inn paradise newfoundland silent tall sand girls pising and fucking eachother Governor Huckabee pattern for corn bag neck warmer magnet silver thank le paradis restaurant toronto grunge nu metal oakland johnny castaneda should never coloracion tinte decoloraciones better way transeual went right postal de invitacion assist those biography actress charro web development validity of wais iii premature ejaculation oak ridge markets form sentence great neogeo bios winkawaks download yeast infection hudson belks wing create twightlight Rugby World lyrics to song teddy bears picnic new iPod avaia insurance Australian Capital