Skip to content

Shutdowns, intensified blocking in Iran since 2022-09-21 #125

Open

Description

@wkrp

There are reports of shutdowns in some mobile ISPs in Iran since about 2022-09-21 16:00 UTC (20:30 Tehran IRDT, about 8 hours ago). I don't know much technical detail yet.

IODA doesn't show a major drop in the country as a whole:
https://ioda.inetintel.cc.gatech.edu/country/IR?from=1663135200&until=1663826399
IODA Signals for Iran (Islamic Republic Of), 2022-09-14 to 2022-09-22

But you can see an effect in certain ISPs, like IranCell here:
https://ioda.inetintel.cc.gatech.edu/asn/44244?from=1663135200&until=1663826399
pngout

It may be a good idea to review #102, lessons from the January 2022 shutdown in Kazakhstan, and for example do some port scans to see if there are holes in the shutdown.

If you experience a shutdown and are able to get online for even a little while, Access Now has a form to report your experience:
https://www.accessnow.org/keepiton/#take-action
https://forms.gle/pUh6EPwwtkD65BDY6

Some Twitter posts:

https://twitter.com/OliverLinow/status/1572698570498920449 (archive)

#Iran Internet Black Out - 21.09.2022
14:00 UTC: Instagram was blocked
15:45 UTC: Mobile internet operators starting to switch off their networks
@DeutscheWelle

https://twitter.com/DougMadory/status/1572657304335716353 (archive)

Internet connectivity for Iran's primary mobile operators were cut in recent hours. #IranProtests2022

Traffic volumes for MCI (AS197207) from @kentikinc:

Internet traffic to MCI (AS197207)

https://twitter.com/CloudflareRadar/status/1572662811951771648 (archive)

Amid #IranProtests2022), #Internet disruptions have been observed at major #mobile carriers in #Iran🇮🇷.

@CloudFlareRadar data shows significant drops in traffic at AS57218 (Rightel), AS197207 (MCI), and AS44244 (Irancell), as well as at a country level.

https://radar.cloudflare.com/ir?date_filter=last_24_hours

Internet traffic change in Iran (last 24 hours)
Internet traffic change AS57218 - RIGHTEL
Internet traffic change AS197207 - MCCI-AS
Internet traffic change AS44244 - IRANCELL-AS

Activity

  1. wkrp commented on Sep 22, 2022

    @wkrp
    MemberAuthor

    There are some simple network tests that can help find any ways through the shutdown that may exist. During the January 2022 shutdown in Kazakhstan, it was discovered that TCP ports 3875 and 179 worked, when all other ports were blocked. You can try testing these ports in a mobile web browser. portquiz.net is a server that responds with a web page on all ports.

    Or, if DNS resolution is blocked:

    Here is an Nmap command to run to test all TCP ports. It should run in 11 minutes or less. scanme.nmap.org does not have every port open, but the ports that are not open respond with a RST, so it can still be useful to detect blocking.

    nmap -v -v -v -n -Pn -p- --reason -oN 'scanme-allports-%D%T.nmap' --min-rate 100 scanme.nmap.org
    
    nmap -v -v -v -n -Pn -p- --reason -oN 'scanme-allports-%D%T.nmap' --min-rate 100 45.33.32.156
    

    It will be good to know about reachability of DNS resolvers, both of foreign resolvers directly and via domestic ISP resolvers.

    dig @185.49.141.38 example.com
    dig example.com
    

    On Windows, you can try

    nslookup example.com 185.49.141.38
    nslookup example.com
    

    I got the address of the resolver 185.49.141.38 from https://dnsprivacy.org/test_servers/; you can try any other resolver. In the output, you are looking for status: NOERROR and an A record response of 93.184.216.34 (at least, that's what I see right now).

  2. wkrp commented on Sep 23, 2022

    @wkrp
    MemberAuthor

    The first major shutdown began about 2022-09-21 16:00 UTC (20:30 IRDT) and ended 6 to 12 hours later, depending on the network.

    It was followed by another shutdown that started about 2022-09-22 12:00 UTC (15:30 IRDT) and ended about 8 hours later.

    https://twitter.com/CloudflareRadar/status/1573067153036787713 (archive)

    After a second set of outages spanning between 6-8 hours, connectivity has once again been restored on Iranian network providers Rightel, Irancell, and MCI.

    @Cloudflare data shows that traffic returned at 2025 UTC.

    https://radar.cloudflare.com/ir?date_filter=last_24_hours

    #KeepItOn
    #IranProtests2022

    Netflow Gbps by ASN

    IODA links for exploration:

    https://ioda.inetintel.cc.gatech.edu/asn/44244?from=1663221600&until=1663912799
    https://ioda.inetintel.cc.gatech.edu/asn/57218?from=1663221600&until=1663912799
    https://ioda.inetintel.cc.gatech.edu/asn/197207?from=1663221600&until=1663912799

  3. wkrp commented on Sep 23, 2022

    @wkrp
    MemberAuthor

    At approximately the same time as the start of the shutdowns, there was a large increase of bandwidth at the Snowflake, so much so that it threatens to overwhelm the capacity of the bridge. (This is the bridge that has already had significant engineering and hardware upgrades for scaling.) This is a graph of send/recv bandwidth at the network interface over the past 5 days:

    bandwidth on network interface

    The big crater on 2022-09-22 is where the server was running out of memory and swapping.

    We are in the process of making some changes to the server in response to the increased load. We have already doubled the number of tor instances, which relieved some of the CPU pressure. We are also testing some performance optimizations and hope to deploy them tomorrow.

  4. wkrp commented on Sep 24, 2022

    @wkrp
    MemberAuthor

    A third outage occurred starting 2022-09-23 12:15 UTC (15:45 IRDT) and lasted about 8.5 hours.

    A fourth outage started at 2022-09-24 14:00 UTC (17:30 IRDT) and is still ongoing.

    https://twitter.com/CloudflareRadar/status/1573429947766562830 (archive)

    Connectivity was restored to Irancell, Rightel, and MCI in #Iran at 2030 UTC after an 8.5 hour outage, the third one this week.

    Analysis of #HTTP & #TLS version usage suggests that selected #UDP blocking may be occurring on some networks as well.

    https://radar.cloudflare.com/ir?date_filter=last_24_hours

    Netflow Gbps by ASN

    https://twitter.com/CloudflareRadar/status/1573689073268580354 (archive)

    For the fourth consecutive day, #Internet shutdowns have been observed at Rightel, Irancell, and MCI in #Iran🇮🇷.

    @Cloudflare data shows today's outages began around 1400 UTC.

    https://radar.cloudflare.com/asn/44244?date_filter=last_7_days
    https://radar.cloudflare.com/asn/57218?date_filter=last_7_days
    https://radar.cloudflare.com/asn/197207?date_filter=last_7_days

    #KeepItOn
    #IranProtests2022

    Netflow Gbps by ASN

  5. mrphs commented on Sep 24, 2022

    @mrphs
    Collaborator

    A friend just ran the nmap and dig test on AS57218. dig times out. and nmap doesn't get a response back from the host.

    All 65535 scanned ports on scanme.nmap.org (45.33.32.156) are in ignored states.
    Not shown: 65535 filtered tcp ports (no-response)
    

    PS: I tweeted about this ticket, hoping more technical folks inside the country would see this and run the tests. I will update the thread if I get any more responses.

  6. wkrp commented on Sep 24, 2022

    @wkrp
    MemberAuthor

    My understanding is that people on mobile ISPs are able to access domestic Iranian services even during a shutdown. It would be helpful to know if there are any domestic DNS resolvers that permit recursive queries of foreign domains and are accessible during a shutdown. The idea is to tunnel through an accessible domestic DNS server to reach the outside world during a shutdown.

    There are some lists of public DNS servers in Iran:

    You can test whether the resolvers permit recursive queries using a command like the following. Ideally, you run the command on a laptop that is tethered to a mobile phone, during a shutdown.

    for res in 213.176.123.5 194.225.62.80 185.161.112.33 2.185.239.136; do dig "@$res" example.com; done
    

    If you don't have a tethered laptop, you can do DNS resolver tests from a mobile phone. You just have to change the system DNS setting (instructions for Android, iPhone) and enter one of the resolver IP addresses above. Then open a browser and try to access any foreign web site, like example.com. It won't work, but you can tell from the error message whether DNS resolution worked.

    Error message Meaning
    Server not found The DNS resolution failed
    Connection timed out The DNS resolution worked
    Connection refused The DNS resolution worked
  7. wkrp commented on Sep 24, 2022

    @wkrp
    MemberAuthor

    A friend just ran the nmap and dig test on AS57218. dig times out. and nmap doesn't get a response back from the host.

    Thanks for this.

    scanme.nmap.org (45.33.32.156)

    The fact that both a hostname and an IP address are listed implies that either forward or reverse DNS resolution must have worked. I'm not sure if the test used the hostname scanme.nmap.org or the IP address 45.33.32.156, but even if you only give an IP address, Nmap will do a reverse lookup to get a hostname if possible.

    You can test reverse resolution using the -x option of dig:

    $ dig -x 45.33.32.156
    ...
    ;; ANSWER SECTION:
    156.32.33.45.in-addr.arpa. 3357 IN      PTR     scanme.nmap.org.
    

    It would be interesting if reverse but not forward DNS worked during a shutdown. I don't know of any tunnels that use PTR queries and PTR records, but it's not impossible: dnscat2 can use constrained types like TXT, MX, CNAME, A, and AAAA. But let's try to get more confirmation about whether forward recursive queries work or not.

  8. mrphs commented on Sep 25, 2022

    @mrphs
    Collaborator

    New OONI report is out: https://ooni.org/post/2022-iran-blocks-social-media-mahsa-amini-protests/

    A whole lot of things are blocked now. The networks I had access to are all at 0% connectivity based on what CloudFlare Radar is showing 😣

  9. wkrp commented on Sep 26, 2022

    @wkrp
    MemberAuthor

    New OONI report is out: https://ooni.org/post/2022-iran-blocks-social-media-mahsa-amini-protests/

    Besides the shutdowns which started this thread, the report covers:

    The blocking of DoH resolvers is interesting to me. It should be superfluous to block DNS resolution if endpoints are already blocked. Maybe the censors are going for defense in depth. Maybe encrypted DNS was being used for tunneling. Maybe it exposes a weakness: some services are blocked only by DNS and not by, e.g., TLS SNI filtering, therefore it is required to block secure DNS. Or possibly there's no specific intention behind it, just a setting on some firewall hardware.

  10. gfw-report commented on Sep 27, 2022

    @gfw-report
    Contributor

    New blocking of Apple App Store and Google Play Store in some/more ISPs, since 2022-09-22.

    the blocking of Google Play Store and Apple App Store may limit Iranians’ ability to install or update apps.

    The blocking of the application stores creates a typical chicken-or-egg problem in censorship circumvention. That is, users need a bootstrapping to get access to the application stores so that they can download other circumvention tools. Fortunately, the bootstrapping channel doesn't have to be very robust or censorship-resistant; it can be a low bandwidth, high latency channel that only works temporarily. Some bootstrapping channels include:

    For Android, getting users an APK file should be enough for bootstrapping. It can be done by sharing the APK files via some low profile channels, for example hosting an APK on an uncensored website and share users a link to it.


    For iOS, users may have to use the Apple App Store to download the software. One may want to take the advantage of iOS's built-in VPN client that supports IKEv2, IPsec, and L2TP protocols:

    • One may use the VPNGate to get publicly available L2TP or IPsec VPN. This may have already been a popular circumvention choice in Iran, given that Iran ranks the second in "countries with most users" as of today September 27, 2022. Specifically,
    1. Settings -> VPN -> Add VPN Configuration... , configure as follows:
    Description: Gate
    Type: L2TP (Try changing it to IPSec if it doesn't work)
    server: 219.100.37.100 (Try different IP addresses if it doesn't work)
    Account: vpn
    Password: vpn
    Secret: vpn
    
    1. Save the setting by clicking on the "Done" on the upper-right corner.

    2. Select Gate (unkonwn) and click the Status button to turn on the VPN.

    • One may also setup IPsec VPN on their own servers with a one-click script. Specifically,
    1. On the server, wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh. Pay attention to the VPN credential information in the script's output.

    2. On your phone, Settings -> VPN -> Add VPN Configuration... , configure as follows:

    Description: myvpn
    Type: IPsec
    server: 
    Account: vpnuser
    Password: 
    Secret: 
    
    1. Save the setting by clicking on the "Done" on the upper-right corner.

    2. Select myvpn (unkonwn) and click the Status button to turn on the VPN.

  11. fortuna commented on Sep 28, 2022

    @fortuna

    I probed all DNS servers from https://public-dns.info/nameserver/ir.html for the IP of example.com at around 6:39 pm UTC, September 28. I believe that's during the curfew. The results below are resolver_ip, resolver_asn dig_response

    $ while IFS=, read -r resolver_ip _ resolver_asn _; do echo -n "$resolver_asn $resolver_ip "; dig +short +time=1 +tries=1 @$resolver_ip unique-$RANDOM.example.com && echo NXDOMAIN; done < <(tail +2 ir.csv | sort -g) | sort -g
    6736 194.225.73.141 NXDOMAIN
    12880 217.218.127.127 NXDOMAIN
    15611 213.176.123.5 ;; connection timed out; no servers could be reached
    43754 37.156.145.21 ;; connection timed out; no servers could be reached
    43754 37.156.145.229 ;; connection timed out; no servers could be reached
    43965 194.225.62.80 ;; connection timed out; no servers could be reached
    48715 185.51.200.10 ;; connection timed out; no servers could be reached
    48715 185.51.200.50 ;; connection timed out; no servers could be reached
    49666 2.189.44.44 NXDOMAIN
    50057 185.161.112.33 NXDOMAIN
    50057 185.161.112.34 NXDOMAIN
    56402 46.224.1.42 NXDOMAIN
    56402 46.224.1.43 NXDOMAIN
    56547 31.24.234.37 NXDOMAIN
    58224 80.191.40.41 ;; connection timed out; no servers could be reached
    58303 81.163.3.1 ;; connection timed out; no servers could be reached
    60627 185.113.59.253 ;; connection timed out; no servers could be reached
    60976 82.99.242.155 ;; connection timed out; no servers could be reached
    60976 91.99.101.12 ;; connection timed out; no servers could be reached
    202468 185.231.182.126 ;; connection timed out; no servers could be reached
    202468 185.97.117.187 ;; connection timed out; no servers could be reached
    209596 91.245.229.1 ;; connection timed out; no servers could be reached
    212907 185.187.84.15 ;; connection timed out; no servers could be reached
    

    The ASes that returned NXDOMAIN are probably able to access external DNS resolvers.

    Edit: In my initial test I was reusing the same domain, which could trigger cached results. It's now using a unique domain per query.

  12. abdallahalsalmi commented on Sep 29, 2022

    @abdallahalsalmi

    Irancell (owned in part by MTN Group) and MCCI, a state-owned entity, account for over 60% of Iranian mobile phone users, if not more. The internet shutdowns are clearly aimed at mobile networks to stop the protestors from mobilising and organising (and sharing information too).

  13. Fardinak commented on Oct 1, 2022

    @Fardinak

    Hi there 👋

    I found this thread a couple of days ago when a friend of mine sent me @fortuna's tweet. Since then I have been running some tests (including the port scan). The nmap results would be irrelevant since we haven't had a shutdown since I've started testing. But in the past couple of days I've been witnessing some strange behaviour.

    I first noticed that my VPN client was not detecting my location properly a couple of days ago. My initial thought was that this is an internal issue (caching my IP from the other VPNs I've been testing). Tonight I realized it's much more than that.

    Right now, on an AS58224 (TCI) connection I'm getting the following results:

    https://isbgpsafeyet.com
    Your ISP (AS58224) does not implement BGP safely.
    
    https://radar.cloudflare.com/my-connection
    IP address: 162.55.57.188
    Geolocation: Germany
    AS: 24940 (Hetzner Online, DE)
    
    https://browserleaks.com (connection timeout)
    
    https://www.dnsleaktest.com
    5.200.200.26
    5.200.200.50
    
    $ dig +short whoami.akamai.net
    ;; communications error to 5.200.200.200#53: timed out
    5.200.200.50
    

    Note that the Geolocation and AS detected by Cloudflare is not consistent with the other results.

    Switching over to AS197207 (MCCI) using an iPhone's hotspot returns the following results:

    https://isbgpsafeyet.com
    Your ISP (Mobile Communication Company of Iran, AS197207) does not implement BGP safely.
    
    https://radar.cloudflare.com/my-connection
    IP address: 65.108.155.56
    Geolocation: Helsinki, Finland
    AS: 24940 (Hetzner Online, DE)
    
    https://browserleaks.com/ip
    County: Iran
    Region: Tehran
    Network: AS197207
    DNS Leak Test: Found 42 Servers, 6 ISP, 4 Locations
    
    https://www.dnsleaktest.com: Extended test
    21 results, 5 ISPs, 5 locations
    
    $ dig +short whoami.akamai.net
    195.27.183.45
    

    On the iPhone using the Net Analyzer app shows two 10/8 IPs as DNS servers when using MCCI cellular and 5.200.200.200 when using TCI over Wi-Fi.

    The DNS Leak tests return a variable number of servers (between 20 to 60) a few of which (2 or 3) are usually the correct one. But based on these, I'm either getting service from Layer 3, Cloudflare, Google, Vodafone or Lumen and am located anywhere from the UK to Japan!

    Anyways, thought this might be of interest. I'm also curious to know what you think about this situation.
    I'll keep an eye out and run the port scan if there is another shutdown.

    p.s. all tests were run on a fresh linux VM with a dedicated USB Wireless card and no manual network configuration.

  14. 19 remaining items

  15. hexrot commented on Oct 20, 2022

    @hexrot

    @wkrp
    flakes traffic
    again at my firefox-LibreWolve instances
    no traffic at my safari-iCab instances

  16. n8fr8 commented on Oct 20, 2022

    @n8fr8

    Orbot for Android 16.6.3-BETA-2-tor.0.4.7.10 with utls enabled, now available here:
    https://github.com/guardianproject/orbot/releases/tag/16.6.3-BETA-2-tor.0.4.7.10

    (arm64 direct APK: https://github.com/guardianproject/orbot/releases/download/16.6.3-BETA-2-tor.0.4.7.10/Orbot-16.6.3-BETA-2-tor.0.4.7.10-fullperm-arm64-v8a-release.apk )

    This uses "utls-imitate=hellochrome_auto" - we will add the other options and ability to customize/select in the next update.

    This release also has the ability to get Snowflake logs directly from the log window (enable Prefs->DEBUG log, tap on status messages to open log window, tap on snowflake icon to show snowflake log, then share!)

  17. mehdifirefox commented on Oct 20, 2022

    @mehdifirefox
  18. n8fr8 commented on Oct 20, 2022

    @n8fr8

    Thank you. Did you enable Snowflake under the Bridges section on the main screen?

    Otherwise, if it isn't too much trouble, can you try the following steps, to get some more details from the Snowflake log?

    1. enable "Debug Log" near bottom of the Settings menu
    2. restart Orbot
    3. tap the status line (where it shows the "starting..." etc messages)
    4. tap the snowflake icon next to "Log"
    5. tap the share button

    then post that output here, or send the output of that to my email? nathan@guardianproject.info

  19. mehdifirefox commented on Oct 20, 2022

    @mehdifirefox
  20. n8fr8 commented on Oct 20, 2022

    @n8fr8

    Received the log. Thank you very much. If you have a chance to try Snowflake in Orbot instead of obfs4 bridges, please do.

  21. mehdifirefox commented on Oct 20, 2022

    @mehdifirefox
  22. free-the-internet commented on Oct 20, 2022

    @free-the-internet

    I thank you for trying to limit the internet Whenever you need my help, I am at your service I don't see the Snowflake option in the bridge section
    …
    On Thu, 20 Oct 2022, 22:22 Nathan Freitas, @.> wrote: Received the log. Thank you very much. If you have a chance to try Snowflake in Orbot instead of obfs4 bridges, please do. — Reply to this email directly, view it on GitHub <#125 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF26MY76VL3AOLE4VBUJKWLWEGIIVANCNFSM6AAAAAAQSTBP2Y . You are receiving this because you commented.Message ID: @.>

    You sure? It is very easy to find in Orbot. At the main page there is "Use Brdiges" option:
    image

    and if you tap on it, there are 2 snowflake options: 1. fastly 2: AMP. Choose the first one and go back to main page, then press Start.

  23. n8fr8 commented on Oct 20, 2022

    @n8fr8

    On older devices, Android 9 and before, we don't support Snowflake, and those options are not displayed. We are looking into if we can remedy that, but there were issues with the Go code crashing.

  24. hexrot commented on Oct 21, 2022

    @hexrot

    To whom it may concern >
    Intel Core Server, MacOS 10.15.7
    4browsers at once on one account
    snowflake traffic:
    Firefox: low
    firefox-based browser LibreWolf: four times higher !
    LibreWolf install may require to tap the option- or control key.
    Safari: none
    safari-based browser iCab: low
    No hunch, whether the results are generalizable.

  25. hexrot commented on Oct 24, 2022

    @hexrot

    Any other n==bie task in which I Might be helpful? ;-))

  26. mysteriousshade commented on Oct 24, 2022

    @mysteriousshade

    How can i find witch UDP ports are open and available in Windows OS.

    TOR doesn't work in Iran now, L2TP VPN works on most ISP.

  27. mysteriousshade commented on Oct 24, 2022

    @mysteriousshade

    Maybe government monitor this post so revealing our information maybe against what we are trying to do.

  28. mehdifirefox commented on Dec 1, 2022

    @mehdifirefox

    گزارش جدیدی درباره اثرات شبکه در ایران از سپتامبر 2022 ارائه شده است. این گزارش با همکاری بسیاری از مشارکت کنندگان است: OONI ، IODA ، آزمایشگاه اندازه گیری (M-Lab) ، Cloudflare ، Kentik ، Censored Planet ، ISOC ، و Article19 .

    https://ooni.org/post/2022-report-technical-multistakeholder-iran/

     جدول زمانی رویدادها در ایران بین 16 سپتامبر 2022 تا 16 اکتبر 2022

    خلاصه موضوعات کلیدی:

    * [قطعی شبکه تلفن همراه ](https://ooni.org/post/2022-iran-technical-multistakeholder-report/#mobile-network-outages)
    
    * [Regional outages](https://ooni.org/post/2022-iran-technical-multistakeholder-report/#regional-outages)
    
    * [HTTP/3 and QUIC traffic drop](https://ooni.org/post/2022-iran-technical-multistakeholder-report/#http3-and-quic-traffic-drop)
    
    * [اختلال IPv6 در ایرانسل ](https://ooni.org/post/2022-iran-technical-multistakeholder-report/#ipv6-disruption-on-irancell)
    
    * [افزایش مسدود کردن DNS رمزگذاری شده ](https://ooni.org/post/2022-iran-technical-multistakeholder-report/#increased-blocking-of-encrypted-dns)
    
    * [تاثیر بر تست سرعت اینترنت ](https://ooni.org/post/2022-iran-technical-multistakeholder-report/#impact-on-internet-speed-tests)
    
    * [مسدود کردن واتساپ، اینستاگرام، اسکایپ، لینکدین و وایبر ](https://ooni.org/post/2022-iran-technical-multistakeholder-report/#blocking-of-whatsapp-instagram-skype-viber-and-linkedin)
    
    * [مسدود کردن فروشگاه Google Play و Apple App Store ](https://ooni.org/post/2022-iran-technical-multistakeholder-report/#blocking-of-google-play-store-and-apple-app-store)
    
    * [مسدود کردن مخازن افزونه مرورگر ](https://ooni.org/post/2022-iran-technical-multistakeholder-report/#blocking-of-browser-extension-repositories)
    
    * [هزینه اقتصادی تعطیلی ](https://ooni.org/post/2022-iran-technical-multistakeholder-report/#the-economic-impact-of-irans-internet-shutdowns)
    

    Had a lot of effort to write this report
    One word wrote Iran like China.
    Or everything was blocked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions