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.
[this assumes I remember correctly who DrH works for]
They asked me to do this while I worked at the BBC too. I told them no, and then left.:-)
Personally I think it goes against everything the BBC stands for (well, what they stand for in my head, probably doesn't go against their mission statement). But what can you do.
Aha, they got you too! (Score:1)
They asked me to do this while I worked at the BBC too. I told them no, and then left.
Personally I think it goes against everything the BBC stands for (well, what they stand for in my head, probably doesn't go against their mission statement). But what can you do.
Geo::IP (Score:2)
http://maxmind.com/download/geoip/api/c/ [maxmind.com]
to get the data file, then download this
http://maxmind.com/download/geoip/api/perl/ [maxmind.com]
to get the perl api (requires the data file)
-matt