Blocking Entire Countries from Your Website for Better Traffic – Opinion
developmentfriendly.com
developmentfriendly.com
This is a great paragraph: Blocking entire countries from accessing your website is a potent method to acquire more targeted, relevant, and qualified traffic to your website. Not to mention, your website traffic analytics will be squeaky clean, your web hosting service resources will receive a significant boost in performance, and you can (in most cases) close the door on spam.
What are "squeaky clean" traffic analytics? How will this close the door on spam? What metrics are shared to support the idea that the ensuing traffic is more targeted, relevant, qualified?
This garbage does not belong here.
Cloudflare’s the modern version of it, complete with factoring in origin location to a request’s likelihood to be abuse.
Africa, South America, and the rest of the (in a broad sense) “global south” weren’t online enough to be a major source of trouble, back then, so those weren’t often blocked AFAIK.
First if you block any nation of significance, you're going to have a list of rules a mile long. And I would wager that that list is constantly changing with additions and deletions, so you'll want to stay up to date. Firewall performance issues begin to weigh on you with thousands of IPv4 ranges loaded.
Second, of course, geolocation is notoriously unreliable, so your block list will have false positives and false negatives, and won't do anything to stop someone with the simplest VPN, unless you also strive to block every open proxy and exit node.
Are there data brokers who sell ready-made blocklists for things like this? They exist for adblockers, so do they exist for firewall systems and cloud providers? I would imagine this could cost money, but should be an attractive feature for any enterprise. "Block hostile nation states in one fell swoop!"
It really seems like this would work better at the eBGP level, but unless you run your own autonomous system, this is not a realistic option either.
The point of this article wasn't to completely restrict traffic from one country, but to reduce the vast amount of garbage/bot traffic that is generated by regions outside the US (like russia, for instance). Of course it can't stop simple use by VPN, but that wasn't the point. That would not really be "garbage traffic" unless it was a distributed attack.
That said, this article is light on substance.
Sure, but what's the mechanism behind it? They advertise the functionality, but everyone knows that geolocation is riddled with errors, so don't be surprised if it's not perfect -- even with "just a few clicks".
The beauty of it is ASNs are much more granular than GEO subnets and will allow you to block bad actors in your geo. Plus, they are by construction rather precise with few false positives.
Check your traffic once in a while, if you get DDoSed or bruteforced just ban the AS and forget about the tens of thousands of IPs it could have used otherwise.
I'm wondering what's afoot.
IMO blocking entire countries is completely useless then again I mostly have experience operating very high traffic sites, maybe things are different for tiny inconsequential blogs.