I'm doing bad things

drhyde on 2001-11-30T16:18:05

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.


Aha, they got you too!

Matts on 2001-11-30T16:59:57

[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.

Geo::IP

wickline on 2002-09-19T18:47:30

To turn oodles of IPs into countries or regions, download this

        http://maxmind.com/download/geoip/api/c/

to get the data file, then download this

        http://maxmind.com/download/geoip/api/perl/

to get the perl api (requires the data file)

-matt