Mea culpa. Mea maxima culpa. I am collaborating with those eeeeeevil people who want to restrict what you can watch. Specifically, as part of my work, I need to figger out a way of limiting streaming media to people in specific countries. You and I know that this is impossible, and, surprisingly, the rights owners seem to have paid attention when they were told this and will be happy with 90% accuracy.
I have a very rough alpha version of software for doing the IP-to-country resolving. Please play with it by telnetting to plough.barnyard.co.uk port 2323. Right now it only knows about addresses assigned by RIPE. I'd be grateful for any bug reports.