Skip to content

Russia blocks 2026 #6293

Closed as not planned
Closed as not planned

Description

Just an explanation of what's probably happening in Russia now https://habr.com/ru/articles/1044396/. But I believe that there are more fingerprints banned and probably there are some other unknown vulnerabilities. So everyone is switching to Naive proxy now, and I will probably also have to do this in the future. All I want to do is to help X-ray as much as I can.

So the actual text:
The algorithm doesn't rely directly on the specific IP addresses of intermediate nodes in the network (e.g., your servers). This is actually a good thing, as it means these nodes aren't blacklisted. This is especially true given that some applications are snooping. However, the bad news is that entire subnets and even ASs are affected, including those of popular Russian data centers (e.g., Selectel, Yandex.Cloud, Cloud.ru, etc.). This is significantly different from methods that only affected foreign providers—TCP 16-20 (aka I4-25), etc.; we'll refer to such subnets as "suspicious" from now on.

So, the point is that the censor evaluates the ClientHello during the TLS handshake for each TLS connection. Among other things, it takes into account the following attributes:

The server's IP address (more precisely, its subnet, AS, or even broader "network" attribute);

SNI (Server Name Indication);

The "browser" fingerprint (or rather, the fingerprint of anyone trying to impersonate it, which is what Reality does via uTLS).

The algorithm is based on these attributes (if the answer to any question below is "no," we allow the traffic without restrictions; if "yes," we analyze it further down the chain):

  • Is the IP address part of a "suspicious subnet"?
  • Is the "browser" fingerprint suspicious? These fingerprints, on average, include those from Chrome, Safari, and iOS (though Firefox, Android, OkHttp, Edge, 360 Browser, and QQ Browser are currently supported by most operators);
  • Have there been more than three concurrent attempts to establish a TLS connection to the server (i.e., with a delay of less than ~20-50 ms between them) in the last 60 seconds? And this is within the same SNI, meaning changing it resets the number and changes the context. It's also worth noting that dozens of simultaneous connections are typical for different clients to bypass restrictions, especially if muxes and other similar devices aren't used.

If the answer to the last question is yes, then all current and future connection attempts are frozen for 120 seconds.

An interesting detail:

If you manage to freeze connections for 120 seconds (which, of course, isn't very difficult), and then try to change the browser's fingerprint (including to an unsuspicious one), you'll also be blocked for 600 seconds. During this time, any TLS connections are frozen (TCP connections are allowed), regardless of the fingerprint and SNI.

Activity

  1. legiz-ru commented on Jun 8, 2026

    @legiz-ru

    От нас то что требуется?
    Эти everyone c наивом здесь с нами в одной комнате?
    Все что помогает обходить эту блокировку 2026 внедрено в ядро как минимум в 2024м? Чем помочь то?

  2. IKitKatt commented on Jun 8, 2026

    @IKitKatt

    От нас то что требуется? Эти everyone c наивом здесь с нами в одной комнате? Все что помогает обходить эту блокировку 2026 внедрено в ядро как минимум в 2024м? Чем помочь то?

    Обновить отпечатки.

    Отпечатки и так правильной версии. Что именно хотите обновлять?

  3. sqsvp commented on Jun 8, 2026

    @sqsvp

    @legiz-ru нет, недостаточно. Интервал между открытиями tls соединений в xhttp сейчас регулировать нельзя, фингерпринты очевидно устаревшие:
    refraction-networking/utls#397
    refraction-networking/utls#373 (comment)
    Единственный способ обойти проверки — это ограничить количество соединений тремя, либо поменять фингерпринт на ff или qq, но это не является долгосрочным решением, добавят дополнительные проверки и прокси перестанут работать у всех.
    Не очень понимаю причин вашей уверенности в том что все нормально, мы в шаге от пропасти.

  4. Davoyan commented on Jun 8, 2026

    @Davoyan
    Contributor

    @sqsvp

    Thank you for referencing my post. I made it quite clear there that the initial Xray VLESS Reality/TLS connection has an identical ClientHello to Chrome 148 on Windows.

    I specifically compared the JA4 fingerprints of a real Windows Chrome 148 and uTLS Chrome 133 during the initial TLS handshake. In both cases, the ClientHello did not contain the pre_shared_key extension, so there is no difference between them in that regard.
    Because of that, if the detection logic were targeting the absence of pre_shared_key, it would also flag legitimate Chrome browsers.

    Not only does the theory support this, but testing confirms it as well: Chrome is indeed affected. HTTPS websites fail to open on IP addresses where the utls fingerprint issue, or whatever you call this, occurs.

    You claim that the fingerprint is outdated, but it seems you didn't even understand the point of my post.

  5. ginta1337 commented on Jun 8, 2026

    @ginta1337

    Отладкой хоть кто-нибудь занимался?
    Это новосибирская блокировка + привязка к ja4 фингерпринту. Тоже самое можно воспроизвести на стоковом Chrome.
    Вижн предсидателя R не работает у нас - открывать на каждый новый коннект через прокси, новую сессию до сервера и тырить Server Hello с max.ru откровенное палево.

    {
          "protocol": "vless",
          "tag": "proxy",
          "settings": {
            "vnext": [
              {
                "address": "1.1.1.1",
                "port": 8443,
                "users": [
                  {
                    "id": "XXXXXX",
                    "encryption": "none",
                    "flow": "" // НЕ НУЖОН
                  }
                ]
              }
            ]
          },
          "streamSettings": {
            "network": "tcp",
            "security": "reality",
            "realitySettings": {
              "fingerprint": "chrome",
              "serverName": "self.steal.ru",
              "publicKey": "XXXX",
              "shortId": ""
            }
          },
          "mux": {
            "enabled": true, // ЭТО БАЗА
            "concurrency": 8,
            "xudpConcurrency": 4,
            "xudpProxyUDP443": "reject"
          }
        }

    Это будет работать за счёт мультеплексирования, но это ещё не финал. Есть ещё что править в плане хардкода максимального кол-ва открытых конеектов. Но пока главное, что бы они не происходили одновременно.

  6. sqsvp commented on Jun 8, 2026

    @sqsvp

    @Davoyan i will quote you

    However, it's possible that the detection is looking at subsequent connections rather than the very first one, where session resumption comes into play and real Chrome may start sending pre_shared_key

    The temporal properties of real Chrome may not be preserved by utls with the current chrome fingerprint. Since the censor analyses not only the first but also subsequent connections i can assume that these temporal properties of fingerprint are used to detect proxy connections.

  7. sqsvp commented on Jun 8, 2026

    @sqsvp

    @ginta1337 блокировка возникает даже на xhttp со стандартными настройками mux. Нужно честное сравнение chrome fingerprint с browser dialer.

  8. Davoyan commented on Jun 8, 2026

    @Davoyan
    Contributor

    @sqsvp

    i will quote you
    It's possible in theory, but there is no evedence that pre_shared_key comes into play.
    I'll say it for the third time. The INITIAL connection, even in a REAL Chrome browser, is established without the pre_shared_key extension. There is no logical reason to target it specifically.
    Real HTTPS websites accessed through REAL Chrome were also affected on the problematic IP addresses.
    Chrome 133 in ults and Chrome 148 fingerprints are matched.

    i can assume that these temporal properties of fingerprint are used to detect proxy connections
    Accoring to my test - no.

    It's not even utls issue, as you claim. In utls lib you can find ticket session and pre_shared_key implementation.
    Please take the time to properly understand the topic before making such statements.

  9. ginta1337 commented on Jun 8, 2026

    @ginta1337

    @sqsvp Ну так нужно тьюнить кол-во открываемых соединений красиво. Фингерпринт используется только для свзяи коннектов для последующей блокировки. Представь что у тебя за nat сидят люди. У них разные броузеры и разные фингерпринты. Что бы хоть как-то снизить сопутсвущий ущерб от таких тупых блокировок по эвристике привязка к ja4 и существует.
    Да, возможно они уже перешли на Ja5 и не учитывают GREASE. Но лично я такого не заметил.

  10. sqsvp commented on Jun 8, 2026

    @sqsvp

    @ginta1337 ТСПУ стоит перед NAT, а не после него

  11. ginta1337 commented on Jun 8, 2026

    @ginta1337

    @sqsvp у меня дома роутер стоит,перед ним никакого ТПСУ нет /thread

  12. Davoyan commented on Jun 8, 2026

    @Davoyan
    Contributor

    @ginta1337 ТСПУ стоит перед NAT, а не после него

    Just imagine the look on the face of a system administrator responsible for an office of 200 employees, all sharing a single public IP address.

  13. sqsvp commented on Jun 8, 2026

    @sqsvp

    @Davoyan

    Real HTTPS websites accessed through REAL Chrome were also affected on the problematic IP addresses.

    In my experience real sites are affected only after the block was triggered, not before. My point of view on this issue is that we still don't know the blocking mechanism so any assumptions we currently make is speculative. As for my take on NAT, TSPU has more capabilities to distinguish separate clients than you declare.

  14. sqsvp commented on Jun 8, 2026

    @sqsvp

    @ginta1337 почему ты заявляешь о блокировке по ja4 фингепринту как о свершившемся факте? Я читаю наблюдения на ntc.party и прочих источниках и не вижу четкой картины происходящего чтобы так уверенно рассуждать.
    У людей есть более интересные наблюдения здесь

  15. samanajd2 commented on Jun 8, 2026

    @samanajd2
  16. Fangliding commented on Jun 8, 2026

    @Fangliding
    Member

    有人提到这种基于连接数的封锁 mux.cool 或者 xhttp2 都是解决办法
    其他泛反封锁的讨论请前往 XTLS/BBS 这里只处理bug或者实际存在的需要更新代码处理的指纹(如果有解决办法)

  17. RPRX commented on Jun 9, 2026

    @RPRX
    Member
  18. yooni-web commented on Jun 11, 2026

    @yooni-web

    Тема уже закрыта была, прошу прощения что пишу сюда, но хочу поделиться отзывом.
    refraction-networking/utls#399
    Этот реквест реализовал разработчик форка nekobox+, и это действительно очень помогло, соединение перестало падать. Ничего более не помогало из предложенных - фрагментация, mux, смена sni, даже хоста.

  19. ginta1337 commented on Jul 26, 2026

    @ginta1337

    Забыл принять таблетки, поэтому чуствую своим долгом отписать тут.
    Да, действительно, обновление uTLS уже давно требуется, однако это не решит проблемы, а может только усугубить. Существует множество проектов, которые уже давно форкнулись от этого старья.
    РКН срисовали список отпечатков от сюда, взяли вторым фактором кол-во CH на короткий промежуток времени и прикрыли списком доверенных IP, что бы не лупить по своим. Получился вполне солидный детект.
    Randomized fingerprint работал бы стабильно, если бы не вызывал иногда tls alert.
    Т.е. все эти присядания с PSK по сути не имеют смысла, ибо Browser Dialer c WS/XHTTP делает это на много красивее, подражая отпечатку траффика, а не только JA4.
    Навайбил тест-сьют на сибирскую блокировку, играйтесь.
    РКН советую закупать пробнички уже сейчас, а владельцам аэропортов не надеяться на ECH и QUIC. Ибо они уже были заблокированы года полтора назад, по крайней мере на моём провайдере. И не вижу причин, почему бы их стоило разблокировать. Вполне возможно, это ловушка Бэтмена, как и REALITY с sni max.ru
    Наверное, лучше было бы создать отдельный тикет в BBS, но мне лень теребить уважаемых. Ищуший знаний да прочтёт

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions