Banning the way you're thinking of doing is never a good idea. You will end up banning countries you don't want to ban. Some examples from your last posted list...
62.5.0.0 to 62.5.127.255 = United Kingdom
62.16.128.0 to 62.16.255.255 = Norway
62.32.0.0 to 62.32.15.15 = Switzerland
62.32.15.16 to 62.32.15.31 = United Kingdom
62.32.53.0 to 62.32.53.31 = United States
62.61.64.0 to 62.61.127.255 = Finland
62.63.192.0 to 62.63.255.255 = Sweden
62.68.64.0 to 62.68.67.255 = Greece
The list goes on and on.
IP addresses always move around. Even if you use the current list from the link posted above. You have to periodically update the IPs or you'll lose countries because of IP moves. The only good way to ban countries is to have GeoIP installed on the server and kept up to date. You'll get between 99.5 and 99.8 percent accurracy using GeoIP.
|