Fuzz testing (by )

Speaking of unearthing bugs, I'm surprised I've not found any mention of anyone fuzz testing NetBSD syscalls. There's a crashme tool which, despite the one-line summary doesn't actually call syscalls explicitly (although it may stumble across them at random) - it just executes arbitrary sequences of random numbers as code, in order to make sure all the CPU trap handlers work correctly...

So I may throw together a tool to do that for syscalls. Needless to say, it ought to be run as an isolated user (so it can only trash its own files), maybe in a chroot, and ideally on a machine without network access (for it could, in theory, open a network socket and do something unneighbourly :-).

This would be a good test of the higher-level inter-process isolation facilities in the OS kernel - namely, it'd help to find security holes such as local denial of service attacks against the kernel!

Also, another fun idea might be a fuzz tester for Xen hypercalls...

Getting the best out of pkgsrc (by )

pkgsrc, the software package installation system that comes with NetBSD, is a lovely and powerful thing, but the default out-of-the-box setup is pretty basic. There's a lot you can do to bring the power of it out that's either hidden in the pkgsrc manual or in extension packages.

So here's my quick guide to getting the best out of pkgsrc.

Read more »

Relocating the Wormery (by )

It's that time of year again when we should be neigh already have been potting up seeds, this ment we remembered our poor wormery!

The wormery had fallen out of use for several reasons and Al was concerned that the worms would no longer be alive but they can survive for months with nothing to eat so I wasnt overlly concerned. Why had it fallen out of use?

Well...

a) We produce kitchen waste at a rate the new wormery with just one bag of live worms couldnt cope with so we had to take over spill to the compost heap. Last we looked we had filled all three trays (not all with fresh kitchen waste as that would be feast city! You need to stagger the amount that goes in or things get icky as it is the last lot we put in was obviously too much but more on that later!). Thus we were waiting for there to be space again to put new waste - the bottom try was already compost in the autum but we have no were really to keep the compost so it had to stay in there and bide its time.

b) So much random stuff had been piled around it that I personally could not easily get to it and as it tended to be me who did it - it was now relying on me reminding Al - which, well, didnt happen cos I'm a scatty cow.

So we cleared things away from it - Al drianed the 'worm juice' which we store in fabric condition bottles as plant food.

Having refound the camera! Here is a picture of him pouring the worm juice from the old milk tin into the fabric softner box - over the stream incase of spillage!

Worm Juice

We then lifted the insulating bubble wrap that we put on when the temperatures drop to keep the worms munching their little hearts out rather than slowing down to complete inactivity. This when we found that obviously their had been some fruit fly eggs in something we had put in there. Little maggots were wending their merry way out of the little grids for ventualition at the top - then either getting stuck and dying there or not making it out of the bubble wrap which had hundreds of little maggot carcasses in it.

ok...

a) YUCK!!!!!

Moggots :( Unfortunatly that was my last pic as the memory card was full!

b) I DON"T DO MAGGOTS!!!! Give me spiders, catipillars, frogs, ear wigs - you name it I'm fine with it (unless the catipillars look like maggots that is!) but MAGGOTS - No, skins itching just writing this!

Unfortunatly Al couldnt lift the wormery by himself so I had to focus very hard on not running away and help him carry it out side so we could extraxt compost and relocate.

Now I was a bit concerned that it was too damp inside from the worm juice we had extracted (there is a sump in the bottom where putrid liquid pools - its conical so worms can crawl up it and not drown). Al took the lid off to risne in the stream. I looked inside - yep lots of fruit flies and it was too damp - it was sludgy mess so we had definatly been putting stuff in it at too fast a rate for the wormies to cope. Funily though it did not smell - I expected it to wreak to high heaven from the look of it but no - no odor at all?!

Lid cleaned, Al lifted the two top layers whilst I removed, the initially stuck, third and bottom layer. This layer was full of worms and nice rich compost, a bit sogger than I would have liked though I did not see any condrities (I think thats their name) - the little white worms that appear when conditions in the soil are too damp. The bizar thing though was that though the leaflet that came with the wormery had said they like egg shells - all the eggs shells we had put in were still there embedded quite prettily in dark compost giving an oolitic type of pattern.

We extracted as many worms as was easy and dumped them into the top layer. Then we put the compost into buckets with garden trowls - rescuing a few more worms on route!

This done I was muttering heavily about the twisted and bent leg on the wormery - Al recons it was were he'd just dragged it over cobble stones - I recon its were a damn great box of rubbish had been shoved next to it in the stable with no care or attention. I found another missing leg when going to get the worm treats from the stable.

We put our current kitchen waste in what had been the top layer but would now be the middle layer - liberally added worm treats and a layer of cardboard - I want to get some more coconut husk matting for it but having to wait for the money situation to settle down a bit at the mo before I can do that. We then put the now empty layer on to added lid and moved it to stand next to the drain in front of the house.

After all its ment for outside but I was initially worried that the badgers would knock it over and eat all the worms or that foxes would smell the rubbish - we'll just have to wait and see as it was pretty useless were it was!

Still the compost looks great can't wait to start growing things in it!

We got the wormery from Wiggly Wrigglers

What a day! (by )

  • 10:00am: Finish the fourth coat of varnish on a bit of furniture we're varnishing.
  • 10:30am: Start hand-mixing a 25kg sack of cement+sand mortar with water
  • 10:45am: Start hacking stones out of the rubble pile with a pickaxe, and mortaring then into place in the wall I'm building
  • 11:30am: Using the pickaxe, dig out the low points of our compacted stone and mud parking area (you can easily find the low points, after a rainy night they're lakes), and then apply the pickaxe to the rubble heap again to loosen up hardcore and shovel it into the holes, as an interim fix to the pooling-water problem.
  • 12:30am: Go and have breakfast with wife and child
  • 01:00pm: Head off to investigate a nearby builder's merchant type place, to see if their cement is cheaper than B&Qs, and to consider gravel to cover the parking area in, and to generally mooch around.
  • 02:00pm: Head down to the excellent John Stayte Services to pick up 80kg of coal, then swing by Tescos for a few essentials and to stop so Sarah can have a coffee
  • 03:30pm: Get home, put Jean to bed for a nap, and make and eat lunch
  • 05:30pm: Rush out, realising we're late for the district Cub and Scout swimming gala.
  • 09:00pm: Get home, put Jean to bed since she's tired and teething
  • 09:30pm: Deal with laundry, and add some more varnish to the furniture
  • 09:45pm: Cook and eat dinner
  • 11:00pm: Wash up, bank the fire so it'll stay lit overnight, load the dishwasher, etc.
  • 11:45pm: Blog about it all.
  • 12:00pm: Put away huge piles of laundry so we can get to our bed and sleep in it.
  • 01:40am: Finish putting away laundry. Get into bed. Start attempting to sleep.

I need an extra weekendend to recover from my weekends!

Eclipse (by )

There was a Lunar eclipse tonight - we would have missed it if Barabara hadnt have knocked!

It was a bit erry with the clouds fluttering in front of it. Still we had the cats zooming about us so all was well 🙂

WordPress Themes

Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales
Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales