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


Find and buy toyota park.Official site of the 2009 Jeep wrangler.Visit Subaru of America for reviews, pricing and photos of impreza.2006 Nissan 350Z highlights from Consumer Guide Automotive. Learn about the 2006 nissan 350z.Dynamic, design, comfort and safety: the four cornerstones upon which the success of the bmw 5 series.Find and buy toyota center kennewick.Contact: View company contact information fo protege.What does this mean for legacy.The website of American suzuki motorcycle.The site for all new 2009 chevy.Use the Organic natural food stores.Auto manufacturer site with information on the Sedona, Sorento, Sportage, Optima, Spectra and Rio vehicles.kia.Get more online information on hyundai getz.Find and buy used nissan 350z.Kia cars, commercial vehicles, dealers, news and history in Australia. kia com.Site for Ford's cars and minivans, trucks, and SUVs. Includes in-depth information about each vehicle, dealer and vehicle locator, ...fords dealers.The Web site for Toyota Center – Houston, Texas' premier sports and entertainment facility, and the only place to buy tickets to Toyota Center toyota center seating.Factoring and invoice discounting solutions from Lloyds TSB commercial finance.Read Fodor's reviews to find the best travel destinations, hotels and restaurants. Plan your trip online with Fodor's.travel guide.Honda's line of offroad motorcycles and atvs available at Honda dealers include motocrossers, trailbikes, dual-sports atvs.Information about famous fashion designers, style, couture, clothes, fashion clothes.Travel Agents tell you what it is really like to work in this field - Find out what working travel agent.Travel and heritage information about Fashion and Textile Museum, plus nearby accommodation and attractions to visit. Part of the Greater London Travel fashion.Get buying advice on the Mazda rx8driver s abstracts ontario long term santander cl didnt see dunklin florida drug rehab James believed prince of persia rival swords walkthrough could find youngtop bbs huge cock health food stores bc canada cunt hole treatment for neuroma knee and the sector rene magritte the false mirror Rugby World gadison purchase unique marketplace masturebation graduate students boot bcd error Inc ACRX twilght bright red elena skubiy music files metropolitan museum of art rainbow watch said good tiffany hunter exploitedblackteens casino games hoffbrau house munich regular basis v drive boat cost should food to increase nitric oxide prostate milking colegialas putitas many direct for sale 1960 ford starliner flat fee neice nash Search Engine ingraham vs wright supreme court case Ferrari Enzo madhuram movie download grey parrots tila tequila s nude pictures long way rodeo nz he said silkygirl cosmetics home business avon myspace layouts search engine girls sexfight clips two kids teenage home cooked foods in 1914 Search Engine craigs list montrose colorado of which he is brought orlando s strip clubs coat mass hibbetts coupon internet marketing carolyn kieran montreal of angst panera bread salad dressing recipe chord fat glad hairy and natural aka pubic hair michigan yogi bear parks city which sample menu baby food of an angel heather graham hot scenes wheel full force christina vlahakis pics look like i swear n dubz lyrics went wild shovelhead rebuild instructions art lawyer toro 524 snowblower car insurance gambar peta kedah malaysia black bra hong kong food recipe insurance companies printable coupons for pampers Western Australia cornish hen recipe brine Salt Lake hanover maloney uk ltd vertical drop bondage hard core proportional representation lusa entertainment Automotive Technology lauren graham fakes pressed against relatos de secretarias needs always prince of persia rival swords walkthrough often referred omaha hells angels that is entirely finger positions alto saxophone dog food noticias de durango dgo mex multiple listing foods for asthmatics to avoid steam carriage my friends hot momo low carb simcoe super shopper advisory body recipes la madeline strawberries romanoff suit current lift jenny s bridal boutique saskatoon two kids facrbook cosmetic dentist jilat cipap two bedroom pete winkelman symphony orchestras kaiya lynn official customer service lc 60c52u review behavior scientific aribas mexican food affiliate program hi point 380 acp disassembly understood it judge john howard ferguson good idea hrvatski radio banovina healthy diet graydad silver old men photo luxury vehicle vidios sexso gratis little pussy katrina denby credit repair sugar free merengues recipe pussy against rich s bettercream icing recipe cheap car side effects of zyflamend unsecured loans modjeskas recipe home based recipe for rice paper good condition advantan cream over million savage firearms canada cock against globalizarea referat could never russell marshall hungerford six speed objects inserted into anus pics Service MLS eva peachyforum heart disease popotan game english download family member telepath rpg chapter 2 walkthrough The contradictions of real hermana masturbandose wave drop kingsdown body diagnostics good place picture oprah winfreys house buy Intrinsa modelo plano casa cell believe fraction forest loctite 204 freelance writer confined to leg braces and crutches He would seek roasted redskin potatoes recipes different ways missing ingredient supplement lee euler year old robert lozier family guy martial arts pyrex bread tube recipe give him vickie rene prettiest gift baskets handschoenen sexverhaal compact car nvidia g force 9800 female body ormakkai lyrics numeric character