flak rss random

OpenBSD softraid crypto boot

The upcoming OpenBSD 5.3 release includes boot support for crypto softraid partitions, which allows for full disk encryption. The installer has all the pieces, but they aren’t automatically put together. Some assembly required. The basic installation procedure has been outlined by Ryan Kavanagh, but here’s the summary. Only the initial configuration is even remotely tricky, after that it just works.

Boot install CD or bsd.rd. Either pick shell or escape to one by pressing ! during installation before getting to the disk setup part. Create new disk devices by running sh MAKEDEV in dev. Run fdisk and disklabel to create a RAID partition on the physical drive. Run bioctl with all the magic options to create the softraid drive. bioctl -c C -l /dev/sd0a -r auto softraid0 Continue the installer and install to sd1. Magic.

Posted 21 Apr 2013 17:35 by tedu Updated: 10 Oct 2016 17:35
Tagged: openbsd security

standard integer promotions

A followup of sorts to the previous post on integer types. Let’s start with a little quiz of sorts. What does this function print?

more...

Posted 12 Apr 2013 20:07 by tedu Updated: 19 Apr 2013 06:54
Tagged: c programming

how not to do mobile website ads

I used to like reading The Verge from time to time. Some of the articles are quite good, and although their review “methodology” is beyond pathetic, I could usually find something worth reading. Yesterday, however, I tried scrolling down the front page on my iPad when suddenly a new tab opened with a Mercedes ad. Huh, weird. I close it and go back. Try scrolling again, happens again. The Verge decided to stick an ad along the side of screen and trigger it on any contact. When I flicked my thumb on the screen to scroll the page, that activated the ad instead. That’s unacceptable, my intention was clearly not to open the ad. Goodbye.

Posted 11 Apr 2013 21:52 by tedu Updated: 11 Apr 2013 21:52
Tagged: rants web

capture the flag with money

“BitCoin, the Internet’s answer to “Capture the Flag” now with scoring in dollars.” - ChuckMcM

Posted 11 Apr 2013 21:10 by tedu Updated: 03 Oct 2014 18:26
Tagged: business quote web

ZFS on OpenBSD

Yesterday I committed support for ZFS. (And the people rejoiced, ever so briefly.) What would a real port look like and what would be involved?

more...

Posted 02 Apr 2013 21:55 by tedu Updated: 02 Apr 2013 22:43
Tagged: openbsd thoughts

bluesnapper design and experiences

For about two years I ran a little side project for OpenBSD called bluesnapper to provide automatic binary updates. There have been other attempts at binary packages, but they’re really more like packages than patches and targeted stable. I think my user base may have peaked around two active users, but I still learned quite a bit and consider the experiment a success.

more...

Posted 30 Mar 2013 20:41 by tedu Updated: 10 Oct 2014 00:40
Tagged: openbsd perl programming software

zombie books

I read a bunch of zombie themed novels. Some have lots of zombies, others not so many. Some are real books, some are what I was hoping were the upper echelons of more or less self published work.

more...

Posted 30 Mar 2013 19:03 by tedu Updated: 23 Jan 2014 21:03
Tagged: bookreview roundup

price discriminatory reviews

Yesterday Amazon offered up as their deal of the day this 31 disc boxed set of Harry Potter movies for the bargain price of $250, compared to the list price of $500 or the $345 they are selling it for today. I was disappointed not to find the weight listed in the product description, but spent a little time poking around the customer reviews. Unlike newspaper comments, even I sometimes find user contributed reviews interesting or helpful.

A couple quick facts. 519 total reviews. 292 (56%) one star. 154 (30%) five star. Not many in between. Of the one star reviews, I couldn’t find any verified purchases. I counted 93 (60%) verified among the five star reviews. What to make of this?

I’m not really sure how useful “too expensive” one star reviews are. I’m more than capable of looking at the price myself. What I want to learn from a review is if the product delivered is the product promised. If you haven’t purchased the product, you can’t tell me that. That’s why I love the verified purchase tag they’ve added to reviews. You have to be a pretty dedicated fanboy to buy a competitor’s product to write a disparaging review. The five star reviews aren’t that helpful either, as I do think you need to have more dollars than sense to purchase this monstrosity. Makes me wonder if anybody bought it just so they could write a review and brag about it.

In the grand scheme of things, this same problem exists in reviews of just about every (near) luxury item. There’s the haters who can only complain about the price and about how you can make your own with only $20 in materials from Walmart. And there’s the gushers, who can only wax poetic about how happy their purchase made them without ever describing their usage of the product.

Posted 29 Mar 2013 02:01 by tedu Updated: 30 Mar 2013 22:21
Tagged: business

gnome squad

I happened to be in Best Buy today and noticed the computer department had sprouted a little Google Chromebook booth next to the Apple section. It was manned by a Google shirt and badge wearing dude, kind of a hybrid Geek Squad Apple Genius type, by way of Middle-earth. Whatever, people can look however they like. He did, however, have the whole super nerd speech thing down. Not just the language but the tone radiated the extremely smug, slightly condescending attitude that I’ve previously only encountered in Hollywood depictions, never real life. And I’ve dealt with some pretty nerdy types. As for the Pixel he was pimping, his main point was that it has the highest resolution laptop screen in the world (technically arguable) and how the Pixel could natively display 4k video (not even close to true), before trying to say it was both a computer and a tablet and could run the apps for both (too vague to be entirely falsifiable). To say the least, the shopping demographic in this particular South Philly Best Buy did not find him particularly endearing. He made it clear he didn’t work for the store (if you want to buy anything, talk to somebody in a blue shirt), but if he’s somebody’s idea of a product ambassador, relations between humans and halflings are not looking good.

Posted 29 Mar 2013 02:01 by tedu Updated: 29 Mar 2013 02:01
Tagged: business philly rants

Hooray! Your Firefox is almost up to date

I recently switched one of my laptops over from OpenBSD i386 to amd64, which meant reinstalling all packages. Due to using an older mirror, this ended up downgrading a number of packages, among them a certain browser which displays a helpful message telling me I’m “up to date” whenever the currently running version differs from the previous run version.

firefox screenshot

Yes, you’re reading that right. I went from version 18 to version 17. And somebody decided that was an upgrade. The silly part is you can go to the magic URL and get the same page in any version of Firefox, but if you use another browser like Chrome they sniff the user agent and redirect you elsewhere. Why isn’t the “not Firefox” check a “not up to date Firefox” check?

Posted 26 Mar 2013 05:13 by tedu Updated: 18 Feb 2014 07:21
Tagged: bugs software