News for hackers. Stuff that matters.
Re:Gitlab Blocked Iranians’ Access by dijit on Sunday October 25, 2020 @10:32AM (#24886573)
Quick note that anyone using a US based cloud provider will likely be blocking all sanctioned countries. It’s not configurable at all.

It was a sticking point for us when deploying the sequel to a game I was working on. Ultimately we determined that the benefits of using the provider outweighed the benefit to users since we weren’t shipping the game there officially anyway. (With one notable exception)

It still leaves a sour taste in my mouth.

It should be noted that it’s also Cuba and Crimea that are blocked. I was principally annoyed at the lack of usability in Crimea, as any way you slice it it’s part of a country that is not being sanctioned in the same way and the citizenry did nothing wrong.

Re:Gitlab Blocked Iranians’ Access by lucb1e on Sunday October 25, 2020 @11:02AM (#24886783)
> US based cloud provider

Huh, I thought it was GitLab B.V. and that still exists[1], but Wikipedia says they're headquartered in the USA as of 2018[2] and the official "About" page[3] mentions Amsterdam, the Netherlands nor B.V., but does mention a "GitLab Inc.". The history on Wikipedia doesn't mention them having moved and still has the "Tech companies from the Netherlands" category (not sure if that's because they're still originally from there, or because the category was never removed).

Not sure blocking Iran would have happened if they hadn't opened a corp overseas.

[1] https://www.kvk.nl/orderstraat/product-kiezen/?kvknummer=600...

[2] https://en.wikipedia.org/w/index.php?title=GitLab&diff=82685...

[3] https://about.gitlab.com/company/

Edit: slightly older, 2017 reference of USA headquarters https://www.ycombinator.com/library/6J-gitlab-s-secret-to-ma...

Editv2: the TOS still says that the intellectual property is with GitLab B.V. but the branding page says the trademark is held by GitLab Inc. The privacy policy is not GDPR-complaint (on multiple counts and I haven't even read it, just spotted some things like implicit+non-opt-outable consent while looking for who is the data controller) and doesn't mention who the data controller is. It does make clear that all data goes to the USA and you better suck it up. Looks like they fully embraced all of the USA's freedoms including censorship and privacy violations under their home country's law. I'm giving up searching for more info about the move at this point: there is no news article in HN search, the blog search requires me to accept more tracking which (after seeing the illegal-in-the-EU privacy policy) I'm not sure I'm willing to engage in, and the website seems to have had mixed mentions of B.V. and Inc. as of 2016.

Re:Gitlab Blocked Iranians’ Access by dijit on Sunday October 25, 2020 @02:12PM (#24888495)
Gitlab is hosted on google cloud, and fronted by cloudflare... those IP restrictions apply to google cloud, AWS, Azure and Oracle Cloud. (and Cloudflare since that's a US company also)
Re:Gitlab Blocked Iranians’ Access by miracle2k on Sunday October 25, 2020 @08:40PM (#24891609)
To my knowledge, services hosted on AWS are not blocked in Iran.

Also, if that were the case, literally have the internet would cease to function w/o VPN, which should give pause to those who would shrug off such a policy.

Re:Gitlab Blocked Iranians’ Access by DetroitThrow on Monday October 26, 2020 @12:18PM (#24897787)
>To my knowledge, services hosted on AWS are not blocked in Iran.

Your knowledge is blatantly wrong, despite multiple people telling you otherwise:

https://reclaimthenet.org/amazon-aws-iran-proxies-vpn-sancti...

Re:Gitlab Blocked Iranians’ Access by miracle2k on Monday October 26, 2020 @01:09PM (#24898454)
This article is talking about Iranians being able to use AWS to host services. We are talking about services I host on AWS being accessible in Iran without a VPN.
Re:Gitlab Blocked Iranians’ Access by dijit on Monday October 26, 2020 @01:23PM (#24898614)
Those are also blocked, but I genuinely implore you to make an Iranian friend (somehow) and ask them what works.

For myself, I saw my users go to zero when I migrated to AWS+GCP over my European based co-location provider.

I was hosting services that had 30,000~ monthly active users from Iran at the time.

https://en.wikipedia.org/wiki/Internet_censorship_in_Iran#Un...

Re:Gitlab Blocked Iranians’ Access by miracle2k on Monday October 26, 2020 @02:36PM (#24899507)
Admittedly, it's been a couple of months since I've been to Iran, so I just asked a friend in Mashad. He confirmed to me that my websites, running on a Kubernetes cluster on EC2 in the eu-west-1 are accessible without a VPN.

Maybe your issue was due to use of GCP?

I moved all my stuff to AWS specifically because Google Cloud does have this kind of block. I care about this a lot, so if your friends in Iran have different things to report, let's look into it to figure out what is going on.

Re:Gitlab Blocked Iranians’ Access by dijit on Monday October 26, 2020 @07:59AM (#24895157)
I just checked and they are.

Unless someone is fronting them with a transparent reverse proxy inside Iran, those services will be unavailable. Blocked on AWS’s side as part of their compliance with US sanctions.

Re:Gitlab Blocked Iranians’ Access by ralph84 on Sunday October 25, 2020 @03:36PM (#24889208)
The minute they took money from US VCs they agreed to play by US rules.
Re:Gitlab Blocked Iranians’ Access by names_are_hard on Sunday October 25, 2020 @12:15PM (#24887348)
In the past I worked for an Israeli company listed on a US stock exchange. They were proud that they had customers in virtually every corner of the world, and had just six countries they couldn't do business in. One (Lebanon) because of the Israeli government, and five (including Iran) because of the US.

Most interesting to me: apparently when they first went public and became subject to US regulation they had to close quite a large number of customer accounts in Iran.

Re:Gitlab Blocked Iranians’ Access by freehunter on Sunday October 25, 2020 @06:24PM (#24890561)
It’s interesting to me that the US views Iran more harshly than Israel does.
Re:Gitlab Blocked Iranians’ Access by RedComet on Sunday October 25, 2020 @08:46PM (#24891655)
It doesn't, the US is just Israel's proxy warrior in this fight. (cf. the Clean Break memo, etc)
Re:Gitlab Blocked Iranians’ Access by markdown on Sunday October 25, 2020 @10:53PM (#24892431)
> just Israel's proxy warrior in this fight

That's a charitable way to put it.

Re:Gitlab Blocked Iranians’ Access by mcny on Sunday October 25, 2020 @06:48PM (#24890761)
Iran, Israel, Kingdom of Saudi Arabia... There is so much going on there. Are they all at conflict with one another? Who are allies? How does this work?
Re:Gitlab Blocked Iranians’ Access by Fuzzwah on Sunday October 25, 2020 @07:27PM (#24891103)
On a long enough time scale, everyone is the bad guy.
Re:Gitlab Blocked Iranians’ Access by sudosysgen on Sunday October 25, 2020 @08:25PM (#24891499)
Israel is an ally of the KSA against Iran, though they both pretend not to be for domestic consumption. They are indeed both in conflict with one another, because in truth Iran is really the only country in the Middle East that could threaten to become an independent power, on the level of say, Turkey.
Re:Gitlab Blocked Iranians’ Access by toast0 on Sunday October 25, 2020 @12:47PM (#24887638)
At least on some clouds, it's configurable, but your lawyers need to speak to their lawyers, etc, to get worldwide access enabled, and annual reconfirmation between lawyers.

You would probably have to be in an OFAC exception category, of course. Routing to sanctioned countries from a provider that mostly blocks them probably isn't the best either.

Re:Gitlab Blocked Iranians’ Access by Symbiote on Sunday October 25, 2020 @01:00PM (#24887763)
I only use Amazon Route 53. Does anyone know if that's ever been blocked in Iran etc?

It doesn't seem to be blocked at the moment, but it's also something I can't find any official documentation on.

Re:Gitlab Blocked Iranians’ Access by dijit on Sunday October 25, 2020 @06:54PM (#24890802)
It would only affect you if your doing direct DNS requests to route53- which is almost never the case for clients.
Re:Gitlab Blocked Iranians’ Access by Symbiote on Sunday October 25, 2020 @09:23PM (#24891906)
But an Iranian ISP's customers will probably use that ISP's DNS servers, and that DNS resolver does query Route 53 from Iran.
Re:Gitlab Blocked Iranians’ Access by KorematsuFred on Monday October 26, 2020 @01:08AM (#24892997)
Does that mean Ali Cloud would be a better option here ?
Re:Gitlab Blocked Iranians’ Access by dicomdan on Monday October 26, 2020 @01:10AM (#24893001)
Not really.
Re:Gitlab Blocked Iranians’ Access by CKN23-ARIN on Monday October 26, 2020 @01:29AM (#24893066)
Other than GCP, which US based cloud providers do this?
Re:Gitlab Blocked Iranians’ Access by DetroitThrow on Monday October 26, 2020 @12:21PM (#24897829)
AWS: https://reclaimthenet.org/amazon-aws-iran-proxies-vpn-sancti...

I'm not sure Azure has been available for Iranian IPs for the past few years or ever, feel free to Google "Azure Blocked Iran" though - plenty of petitions.

Re:Gitlab Blocked Iranians’ Access by CKN23-ARIN on Tuesday October 27, 2020 @08:09PM (#24913523)
AWS and Azure prevent Iran-based users from having an account, but if you have an account, you can exchange traffic with Iranian IPs. GCP blocks traffic to/from Iranian IPs for all users. It sounded to me like GP was referring to the latter type of blocking.
Re:Gitlab Blocked Iranians’ Access by da39a3ee on Sunday October 25, 2020 @10:54AM (#24886721)
You might want to delete the "and the citizenry did nothing wrong" ending to your otherwise reasonable post. I don't think you meant it the way it sounds.
Re:Gitlab Blocked Iranians’ Access by jrochkind1 on Sunday October 25, 2020 @11:19AM (#24886916)
I legit am not sure how it sounded to you in a way that seemed unfortunate.
Re:Gitlab Blocked Iranians’ Access by da39a3ee on Sunday October 25, 2020 @03:13PM (#24889026)
It implies that, unlike Crimea, the citizenry of countries _other_ than Crimea (Iran/Sudan/Cuba etc) _did_ do something wrong.
Re:Gitlab Blocked Iranians’ Access by jrochkind1 on Sunday October 25, 2020 @10:26PM (#24892293)
Ah, I see.

I mean, yeah, I think that kind of is the theory behind US sanctions sometimes honestly. It's pretty messed up. (And the US, which is a "democracy", would want to avoid looking in the mirror too).

Re:Gitlab Blocked Iranians’ Access by da39a3ee on Sunday October 25, 2020 @03:13PM (#24889020)
I am being misunderstood because of the wording I used. The reason "and the citizenry did nothing wrong" is problematic is because it implies that, unlike Crimea, the citizenry of countries _other_ than Crimea (Iran/Sudan/Cuba etc) _did_ do something wrong.

I was not saying that the citizens of Crimea did something wrong: I was saying the opposite.

Re:Gitlab Blocked Iranians’ Access by hevelvarik on Sunday October 25, 2020 @11:42PM (#24892639)
It was obvious and you are dealing with pedants
Re:Gitlab Blocked Iranians’ Access by bigbubba on Sunday October 25, 2020 @01:11PM (#24887870)
What do you think the citizenry of Crimea did wrong?
Re:Gitlab Blocked Iranians’ Access by da39a3ee on Sunday October 25, 2020 @03:39PM (#24889243)
Nothing; see my reply elsewhere in this thread. I meant the opposite of what you understood me to mean, but I can see why I was misunderstood.
Re:Gitlab Blocked Iranians’ Access by trhway on Sunday October 25, 2020 @01:23PM (#24887983)
they voted wrong way.
Re:Gitlab Blocked Iranians’ Access by bigbubba on Sunday October 25, 2020 @01:53PM (#24888308)
I'm under the impression that nobody but Russian state media claims that election was legitimate.
Re:Gitlab Blocked Iranians’ Access by f6v on Saturday October 31, 2020 @01:07PM (#24953138)
Ah yes, the legitimacy. I don't think it means what it's implied to mean. The USA do many illegitimate things and no-one bats an eye.
Re:Gitlab Blocked Iranians’ Access by trhway on Sunday October 25, 2020 @02:08PM (#24888445)
wrong way in wrong elections :) Of course, like any Russian election it was just a formality, a décor. Nobody really needed it as the will of the people was clear - no more threats of more of those "trains of friendships" full of Western Ukrainian nationalists, especially given all the quiet massive arming of those nationalists that had happened under the cover of the Ministry of Internal Affairs in the run up to the 2014.
Re:Gitlab Blocked Iranians’ Access by kdmytro on Sunday October 25, 2020 @03:12PM (#24889015)
What massive arming?
Re:Gitlab Blocked Iranians’ Access by einpoklum on Sunday October 25, 2020 @11:11AM (#24886855)
> I was principally annoyed at the lack of usability in Crimea, as any way you slice it it’s part of a country that is not being sanctioned in the same way and the citizenry did nothing wrong.

If "doing wrong things" is a criterion for being blocked on GitLab, then there are _so_ many organizations and states which should be blocked, and arguably hundreds of Millions of people who serve in military forces which do wrong things etc.

So, there is really no justification for this regardless of slicing. IMHO.