Where can I find a list of ip ranges by country?
I want to whitelist my country and block everyone else from accessing my site using the .htaccess file
>>56987258
just use pfsense and block it at the router
>>56987268
>implying I have access to my hosting providers router
>implying I was asking for blocking methods
Iptables + ipset + ipdeny
http://www.ipdeny.com/ipblocks/data/countries/cn.zone for example with the chinese ranges
>>56987425
Thanks anon.
>>56987258
why?
>>56988120
>>56988120
Never trust anyone, especially the Chinese and Russians.
>>56988238
The US should be removed from the internet
>>56988271
We are the internet
>>56988271
If you go to the website, you'll see that the "attacks" coming from the US are actually just smtp polls from Microsoft.
>>56988321
so china is not allowed to smtp poll?
>>56987258
>that fucking if statment
if a == b && a == c then
d = 3 * a
>>56988271
Fuck you. We invented it. Go invent something if you can.
>>56987258
If it's to avoid attacks then you're fucked, hackers don't attack from their own machines, they attack from the botnet, half of which is probably already inside your country.
>>56990348
Yeah, but wouldn't this reduce the amount of machines, or at the very least random bots, probing for vulnerabilities?
>>56989915
>we invented it
Americans claiming that america invented the internet is just as cancerous as apple fanboys claiming that apple actually innovates.
>>56987258
Won't VPN make this exercise pointless? Considering its heavily used in attacks if I recall.