Most active commenters
  • zelphirkalt(3)
  • 42lux(3)

←back to thread

597 points classichasclass | 15 comments | | HN request time: 0.221s | source | bottom
1. phplovesong ◴[] No.45010894[source]
We block China and Russia. DDOS attacks and other hack attempts went down by 95%.

We have no chinese users/customers so in theory this does not effect business at all. Also russia is sanctioned and our russian userbase does not actually live in russia, so blocking russia did not effect users at all.

replies(3): >>45010936 #>>45011063 #>>45012448 #
2. mavamaarten ◴[] No.45010936[source]
Same here. It sucks. But it's just cost vs reward at some point.
3. praptak ◴[] No.45011063[source]
How did you choose where to get the IP addresses to block? I guess I'm mostly asking where this problem (i.e. "get all IPs for country X") is on the scale from "obviously solved" to "hard and you need to play catch up constantly".

I did a quick search and found a few databases but none of them looks like the obvious winner.

replies(4): >>45011134 #>>45011160 #>>45011377 #>>45012750 #
4. bakugo ◴[] No.45011134[source]
Maxmind's GeoIP database is the industry standard, I believe. You can download a free version of it.

If your site is behind cloudflare, blocking/challenging by country is a built-in feature.

5. tietjens ◴[] No.45011160[source]
The common cloud platforms allow you to do geo-blocking.
6. spc476 ◴[] No.45011377[source]
I used CYMRU <https://www.team-cymru.com/ip-asn-mapping> to do the mapping for the post.
7. zelphirkalt ◴[] No.45012448[source]
Which will ensure you never get customers from those countries. And so the circle closes ...
replies(3): >>45012496 #>>45013697 #>>45023200 #
8. 42lux ◴[] No.45012496[source]
The regulatory burden of conducting business with countries like Russia or China is a critical factor that offhand comments like yours consistently overlook.
replies(1): >>45019969 #
9. preinheimer ◴[] No.45012750[source]
MaxMind is very common, IPInfo is also good. https://ipinfo.io/developers/database-download

If you want to test your IP blocks, we have servers on both China and Russia, we can try to take a screenshot from there to see what we get (free, no signup) https://testlocal.ly/

10. maldonad0 ◴[] No.45013697[source]
I used to run a forum that blocked IPs from outside Western Europe. I had no interest in users from beyond. It's not all about money.
11. zelphirkalt ◴[] No.45019969{3}[source]
It is funny how people immediately jump to conclusions, while I was merely pointing out an circular argument. People immediately think I am jumping to "aid one side". Shows much more about them than me, actually.
replies(1): >>45020228 #
12. 42lux ◴[] No.45020228{4}[source]
Nobody is jumping to any conclusions except you with this very comment. ;)
replies(1): >>45025972 #
13. phplovesong ◴[] No.45023200[source]
We dont plan to target China or mainland russia. Both are run by an oppressive regime, and that not something we want to be part of.
14. zelphirkalt ◴[] No.45025972{5}[source]
My conclusion is: People downvote, but why, when I am merely stating, that the reasoning is circular? Are they unable to get this simple fact? Or are they interpreting more into it, than there is? What is more likely? I choose to believe the second one.
replies(1): >>45042375 #
15. 42lux ◴[] No.45042375{6}[source]
You realize we can't see the scores on other people's posts, right? We have no idea whether or how many downvotes you received. You're talking to people who have no interest in doing business with these countries, so I don't understand how this could be circular reasoning.

Your offhand comment also doesn't make sense in the context of this subthread. The effort companies have to invest to do business with Russia and China is prohibitively high, and that's a completely valid concern. It's not that everyone universally hates or loves these countries. It's simply impractical for most businesses to navigate those markets.