Basically, we have a site that allows uploads of images, files, and mp3s to users and due to some of the features on this site, it would have no use to out of country users except to exploit its features.
Banning out of country IPs would reduce the possibility of abuse. Accuracy isnt important, really.
what country would you like to block ?
You can find it by search around this forum !
Yes, I know. Like I said in my original post, I want to block ALL countries except US and canada. Blocking all those IPs would result in a larger performance hit than just allowing the US and Canada, which is why I'm asking for those specific IP ranges.
I don't know about the list of IP ranges/classes. Really. I'd instead suggest you block A, B and C classes that you _know_ for sure are not US/Canadian based. Some might still be able to access it, but you don't want to make a mistake and block too many US based people. This method goes against everything I'd usually say in regards to security or abuse, and I'd usually recommend you just block everyone and only allow those you know you can trust--in that regard, it would be the more accurate, but it would also potentially block legitimate US/CA based traffic.
You can try using this list to block the rest of the countries, they have the specific country lists you can use to block for all except USA and Canada. A bit weird to block so extensively : ), but here it is http://www.blackholes.us/