• cman6@lemmy.world
    link
    fedilink
    English
    arrow-up
    167
    arrow-down
    1
    ·
    1 year ago

    In case anyone wondered how to potentially get around this…

    • Pay for a server in another country that gives you SSH access
    • Create SSH SOCKS tunnel: ssh -N -D 8008 your-server-ip
    • Open your browser and set the SOCKS server to localhost:8008 (in Chromium/Firefox you can search for this in Settings)
    • tal@kbin.social
      link
      fedilink
      arrow-up
      28
      ·
      edit-2
      1 year ago

      So, that’s definitely better than nothing, but your browser isn’t the only thing – though these days, it is a very important thing – that talks to the Internet. If, for example, you’re using a lemmy client to read this, I’d bet that it’s good odds that it doesn’t have SOCKS support.

      Though I wouldn’t be surprised if someone has made VPN software that intercepts connections and acts as a proxy SOCKS client, which would make it work more like a traditional VPN if you can reach a remote SOCKS server, though maybe with a performance hit.

      googles

      Yeah, okay, looks like stunnel can do this on Linux. So it’s a thing.

      You don’t need a 100% solution, though, to have a pretty big impact on society. Combine technical barriers with it just being easier to not think about what’s going on outside, maybe some chilling effects from legally going after people who do start doing things that you don’t like (viewing websites, spreading information, etc), and you can control people’s information environment a lot. Make using circumvention solutions illegal – okay, maybe you can bypass their system if you don’t get caught, but do you want to risk it? Make creating or spreading circumvention solutions really illegal. Do you want to risk getting in a lot of trouble so that random other person can get unrestricted or unmonitored Internet access?

      On that note, I was reading about the way North Korea does it in an article from someone who got out of North Korea. That is about as close as it gets to a 100% solution. Only a few thousand people are authorized to get Internet access. You need to apply to use the Internet with a couple of days lead time. Each pair of computers has a “librarian” monitoring what the Internet user on each side is doing, and every five minutes or so the computer will halt with whatever you were doing on the screen and require fingerprint re-authorization from the “librarian” to continue. Users are not allowed to view pages in Korean, just English and Chinese (I assume because most information out there that you’d have to go outside North Korea to get access to is likely available in either English or Chinese, and they definitely don’t want people seeing anything out of South Korea).

      That pretty much screws North Korea in terms of access to information, is a costly solution, but if you place an absolute priority on control of the information environment, North Korea does prove that it’s possible to take a society there.

      • SpaceCowboy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 year ago

        North Korea does prove that it’s possible to take a society there.

        I don’t think NK took themselves there, they were already there when the internet was invented. Easier to limit access to few people when you have draconian measures in place when access becomes possible.

        Having a society that already widely has access to one that has extremely limited access is a lot more difficult.

        • Corkyskog@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          This is a good point that many don’t think about. Even if you could somehow drop hardware and free starlink into North Korea it wouldn’t even matter because the citizens never grew up on internet culture. No one would be able to figure out what to do with it by the time they got caught.

    • petrich0r@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      edit-2
      1 year ago

      Unfortunately it would be trivial to block an SSH tunnel like this. I recall reading news 10 years ago (maybe even earlier) some foreign journalist tried this at a Beijing hotel room and got shut down in minutes. That was when people are still using PPTP and L2TP protocols to get around censorship, Wireguard and shadowsocks wouldn’t be born for another couple years.

      • MooseBoys@lemmy.world
        link
        fedilink
        English
        arrow-up
        13
        ·
        1 year ago

        trivial to block an ssh tunnel like this

        Far from trivial unless you’re willing to brick ssh completely, or at least cripple a bunch of non-VPN uses for tunneling. Of course it’s trivial to just block ssh outright, or block tunneling above a certain bandwidth. But that would also block, as an example, most remote IDE sessions, loopback-only server management frontends, etc.

        • tal@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          The Kremlin could maybe have something set up that looks for accesses to stuff inside Russia from outside Russia, then flag that IP as suspicious as being a VPN endpoint outside Russia.

          So, okay, take this scenario:

          • IP A, user inside Russia.

          • IP B, VPS outside Russia.

          • IP C, service inside Russia that state can monitor.

          User in Russia on IP A has an SSH tunnel to VPS on IP B with SOCKS that they control.

          That’s fine as long as user is only browsing the Internet outside Russia. But if you’re routing all traffic through the VPS and you use any sites in Russia, the Great Russian Firewall can see the following:

          1. IP A has a long-running SSH connection to IP B.

          2. IP B is accessing stuff in Russia.

          You could maybe also do heavier-weight traffic analsysis on top of that if you see 1 and 2, or gather data over a longer period of time, but seeing 1 and 2 alone are probably enough to block IP A to IP B connections.

          That can be defeated by using two external VPSes, opening an SSH tunnel to the first one, and then talking to SOCKS on the second (maybe with another SSH connection linking the two). But that’s increasing complexity and cost.

          • MooseBoys@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            can be defeated with two VPSes, but that’s increasing complexity and cost

            A marginal increase, perhaps. You don’t need a separate VPS - just a second IP. Accept incoming traffic on port 22 on one, and set the default route for outbound traffic to the other.

    • DefinitelyNotBirds@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      3
      ·
      1 year ago

      This is actually pretty interesting, thanks for sharing. Although i live in a third world country that doesnt care about anything at all including piracy, but this tunneling thing looks pretty handy

    • droans@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      1 year ago

      Couldn’t you also just set the VPN to use port 443?

      E: Apparently this isn’t enough. IE, for Wireguard, you would need to find a way to obfuscate the handshake.

    • Jaysyn@kbin.social
      link
      fedilink
      arrow-up
      13
      arrow-down
      10
      ·
      1 year ago

      I’m not 100%, but I think you could set this up for free with an Oracle AlwaysFree tier VM.

      (Boo Oracle, yes I know. Still very handy.)

    • fluxion@lemmy.world
      link
      fedilink
      English
      arrow-up
      223
      arrow-down
      12
      ·
      1 year ago

      Blocking all encrypted traffic… fantastic suggestion comrade, I’ll forward this on to the Kremlin. Also, you’ve been drafted.

      • raytch@lemmy.world
        link
        fedilink
        English
        arrow-up
        13
        arrow-down
        62
        ·
        1 year ago

        I suppose with “comrade” you are hinting at Soviet customs, but Russia isn’t the USSR and couldn’t be further from being socialist

        • whats_a_refoogee@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          9
          ·
          1 year ago

          Russia isn’t the USSR but it is heading towards the USSR ways, and it’s already there in many aspects. It’s not just on a technical definition, a lot of pro-war and nationalist rhetoric is rooted in the old USSR culture.

          The USSR wasn’t socialist, it was communist. And yes I know, it wasn’t real communism because real communism is a utopia.

          • Stalins_Spoon@lemmygrad.ml
            link
            fedilink
            English
            arrow-up
            8
            arrow-down
            1
            ·
            1 year ago

            Russia isn’t implementing maternal paid leave, a good universal healthcare system, guaranteed housing, food, education, and a job, so it’s not heading for the ‘USSR ways’ and the USSR was socialist

    • Raltoid@lemmy.world
      link
      fedilink
      English
      arrow-up
      80
      ·
      edit-2
      1 year ago

      It’s a custom protocol that uses SSL/TLS for key exchange and such, so it can be detected. It’s actually causing huge problems for many large Russian companies, as it’s common to use those protocols for remote access, work, etc.

      As mentioned in the article you need something like “Shadowsocks” to avoid protocl blocking, since it fully disguises the traffic as standard SSL/TLS. Which was created for, and is still used to circumvent this type of blocking in “the great firewall of china”.

      • tal@kbin.social
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Unless the whole of the inner IP packet is encrypted,

        It is, because they’re inside an encrypted stream of data.

        The way OpenVPN works is this:

        1. OpenVPN establishes a TLS connection to the OpenVPN server.

        2. Your computer’s kernel generates an IP packet.

        3. OpenVPN sucks that up, shoves it into the TLS connection. That connection is encrypted, so the network provider cannot see inside it, know whether the data is IP packets or anything else, though I suppose maybe traffic analysis might let one classify a connection as probably being a VPN.

        4. The data in that connection is broken up into IP packets, went to the OpenVPN server.

        5. The OpenVPN server decrypts the data in the TLS stream, pulls the original IP packets out.

        So the original packets are always encrypted when the network sees them. Only the OpenVPN server can see the unencrypted packet you originally sent.

        What @raltoid is saying sounds plausible, though I can’t confirm it myself off-the-cuff – that OpenVPN is detected by looking at somehing unique in the initial handshake.

        • Aux@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          VPN detection is simple: track new encrypted connections outside of Russia, connect to the same server, check if it replies as a VPN server. If it does, block the shit out of it. No need for packet inspection or any voodoo.

          • tal@kbin.social
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Fair enough. I mean, there are ways around that too, like some port knocking scheme, but I assume that this shadowsocks thing solves the same problem in a better way.

            But I do stand by what I was responding to on, the bit about the internal IP packets being encrypted and not readable.

    • zerbey@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      There’s still headers and it’s fairly trivial to block using packet analysis. Using other protocols such as SSH tunneling may work (until they try to ban that I suppose). There’s always way around these kind of blocks, it’s a cat and mouse game.

    • tool@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      2
      ·
      edit-2
      1 year ago

      Is OpenVPN not just SSL traffic?

      It’s not, it’s an IPSec VPN by default which runs over UDP. You can run it via TCP and it operates over the same port as HTTPS (443), but it’s not the same protocol and can be differentiated that way.

      A way around this would be to run an SSLVPN with a landing page where you log in instead of using an IPSec VPN or a dedicated SSLVPN client.

      Another way around it would be to create a reverse SSH tunnel on a VM/VPC in another country/state and send all your traffic through that.

      • tal@kbin.social
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        1 year ago

        Is OpenVPN not just SSL traffic?

        It’s not, it’s an IPSec VPN by default which runs over UDP. You can run it via TCP and it operates over the same port as HTTPS (443), but it’s not the same protocol and can be differentiated that way.

        I think that either I’m misunderstanding what you’re aiming to say, or that this is incorrect.

        OpenVPN can run over UDP or TCP, but it’s not IPSec, not even when running over UDP. IPSec is an entirely separate protocol.

          • Corkyskog@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            Wouldn’t those be jobs that typically require advanced education? Why would they want to throw that subset of the population into the meat grinder?

              • Corkyskog@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                3
                arrow-down
                1
                ·
                1 year ago

                Good read. So it sounds like your analysis of the situation is that it is short sighted and Putin is simply a Megalomaniac attempting to hold onto power, would you say that is an accurate summary? Or is he just crazy and super optimistic that things will change all the sudden one day?

                Because even if you kept all the people physically producing bombs and shells, eventually you will run out of the educated people that run the other industries that support the military industrial system in Russia if this goes on for long enough.

          • tal@kbin.social
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            I suspect that if things continue in the trajectory that they seem to be heading, that people from Russia who exit may likely be better-off too, as much as moving countries is a significant barrier.

        • gnuhaut
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          9
          ·
          1 year ago

          Racism comes naturally the Anglo brainpan.

          Edit: My apologies to my Anglo brothers and sisters still fighting the good fight and blowing up US government property.

          • DragonTypeWyvern@literature.cafe
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            4
            ·
            edit-2
            1 year ago

            1: Russian isn’t a race, I’m actually being jingoist, you damn racist.

            2: I’m Suomi/Celt. Slavs and Germanics can all get fucked, ancestrally speaking, you slaving imperialist pigs.

            3:That was clearly a joke, go grow some sunflowers.

        • Axiochus@lemm.ee
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          4
          ·
          1 year ago

          I see! So, to quote the sources you provided:

          “Despite widespread speculation, the law does not directly ban the operation of VPNs and anonymisers. However, it does restrict access to banned websites with the help of these tools.”

          I.e. the VPN providers themselves are not illegal, though the VPN providers technically have to not allow users to access content listed by rospotrebnadzor. That’s responsibility on the side of the providers, not a ban on use. Practically speaking it still is attempting to censor content, but neither of the three sources claim that VPN use is illegal in Russia.

          • avater@lemmy.world
            link
            fedilink
            English
            arrow-up
            8
            arrow-down
            4
            ·
            edit-2
            1 year ago

            You can argue as much as you want, but the full usage of a vpn is illegal in russia by law, because you could access real informations instead of their bullshit propaganda.

            Yes you can install it freely and “use” it to a certain degree to browse on pages uncle Putin allows you, but you can’t use it completely without any restrictions, e.g the definition of real usage in my opinion. So in my understanding the (full) usage of a vpn is prohibited by law in russia.

            And they are now actively blocking protocols…so 🤷‍♂️

            • Axiochus@lemm.ee
              link
              fedilink
              English
              arrow-up
              9
              ·
              1 year ago

              Don’t get me wrong, I think those restrictions are horrible and Putin is a tyrant, but it’s irresponsible to say that VPNs are illegal. They are not. People should use them to access alternative media like Meduza instead of accepting that there’s only state media. VPNs are still incredibly useful and we shouldn’t play into the scare tactics of the Russian government by insinuating that you can end up in jail by using VPNs. I think that’s coming, too, but these tools are still available to get around lots of the censorship. As you yourself noted, most of the VPN providers aren’t actually complying with the law, so you can access way more material, without current legal repercussions to the individual, at least based on the sources you provided.

  • Honytawk@lemmy.zip
    link
    fedilink
    English
    arrow-up
    75
    arrow-down
    4
    ·
    1 year ago

    But how are their propaganda farms going to be able to pretend they are in your country now?

    • AndyLikesCandy@reddthat.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Exemptions that only apply rules to the common people. Maybe device registration with an exception using ipv6 address

    • mihor
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      49
      ·
      1 year ago

      Maybe they don’t actually have all those propaganda farms that the dems were crying about, did that thought cross your mind?

      • nomnomdeplume@lemmy.world
        link
        fedilink
        English
        arrow-up
        25
        arrow-down
        1
        ·
        1 year ago

        Before it was widely reported, Twitter’s geocoding feature showed a ton of Russian-based accounts posing as “Americans” and only discussing politics. Would love to see lemmy be more transparent about accounts posting here too, tbh.

        • tal@kbin.social
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          1 year ago

          In all honesty, I would expect at least an organized troll farm to use VPNs ending outside Russia.

          Random people in Russia might just act directly, but it’s a red flag that’s easy to pretty-inexpensively eliminate.

          googles

          It sounds like at least the Internet Research Agency troll farm used VPNs.

          https://www.bbc.com/news/technology-43093390

          According to court documents, the IRA took several measures to hide its tracks, duping the technology companies who were unaware, or unable, to stop what was filtering through their systems.

          The key - and obvious - move was to hide the fact that these posts were coming from Russia. For that, the IRA is said to have used several Virtual Private Networks - VPNs - to route their operations through computers in the US. The operatives allegedly used stolen identities to set up PayPal accounts using real American names.

          • nomnomdeplume@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            Even if it’s just a hash of an ip4, that would go a long way towards identifying who is coming from where

        • mihor
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          9
          ·
          1 year ago

          I’d say you probably want to check my geolocation?

      • voluble@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        edit-2
        1 year ago

        They exist. Inform yourself on the Internet Research Agency, one of Russia’s state sponsored troll farms. A handful of their activities are well documented in factual records. ‘Dems’ weren’t crying about it, every rational person who doesn’t want foreign interference and disinformation flooding our spaces is concerned about it. This should not be a partisan issue whatsoever.

        • tal@kbin.social
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Yeah, I don’t even really have a problem with RT, as long as it’s labeled so that people understand that it’s the Russian state speaking. But a lot of forums rely more-or-less on the idea that people are more-or-less good faith actors. Very large scale efforts to have people pretend to be someone else and make non-good-faith arguments is something that I think that a lot of our forums can’t today handle well.

          Arguably, that’s a technical problem that needs to be fixed in some way.

      • Biblbrox@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Sadly, but we have. There is a big propaganda campaign have been raised for the last 2 years. It was here before but not in a such huge amount.

      • ThePac
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        2
        ·
        edit-2
        5 months ago

        deleted by creator

      • fluxion@lemmy.world
        link
        fedilink
        English
        arrow-up
        18
        arrow-down
        2
        ·
        1 year ago

        Won’t be long before Putin catches up to Kim Jong Un in the Oppression Olympics

            • tal@kbin.social
              link
              fedilink
              arrow-up
              11
              arrow-down
              1
              ·
              edit-2
              1 year ago

              You are talking to someone who has Stalin’s portrait as his avatar. You might not want to be investing the time into talking to him.

            • TwoGems@lemmy.world
              link
              fedilink
              English
              arrow-up
              3
              arrow-down
              1
              ·
              1 year ago

              It’s getting there though due to what Trump did. Hopefully people have the smarts to vote in the next election.

            • Stalins_Spoon@lemmygrad.ml
              link
              fedilink
              English
              arrow-up
              4
              arrow-down
              8
              ·
              1 year ago

              Highest prison population w/ privately owned prisons, besides the elite class of your country controls what happens in your country (media included), you have no say in it.

                • Stalins_Spoon@lemmygrad.ml
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  arrow-down
                  2
                  ·
                  1 year ago

                  So you admit the US has the same form of governance that Russia has? Also you could argue that all parliamentary ‘democracies’ are oligarchies or as Marx said ‘dictatorship of the bourgeoisie’

              • antonim@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                edit-2
                1 year ago

                besides the elite class of your country controls what happens in your country (media included), you have no say in it.

                Is there any state, current or historical, that was not a dictatorship according to this metric?

                Edit: ignore the question, I noticed the Stalin profile pic

              • NιƙƙιDιɱҽʂ@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 year ago

                The dollar rules in the US. That is 100% true and is definitely not a good system. However, that doesn’t make it a dictatorship unless you consider money to be their dictator.

                • Stalins_Spoon@lemmygrad.ml
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  arrow-down
                  1
                  ·
                  1 year ago

                  Money cannot be a a dictator, it’s just pieces of paper with value, however the people who hoard it in massive amounts and use it to exert influence on the system, resulting in laws that favor them and their companies, are.

          • c0c0c0@lemmy.world
            link
            fedilink
            English
            arrow-up
            8
            arrow-down
            1
            ·
            1 year ago

            This is utter nonsense. If the US was a dictatorship, I wouldn’t be scared to death of the upcoming elections.

            • Stalins_Spoon@lemmygrad.ml
              link
              fedilink
              English
              arrow-up
              4
              arrow-down
              11
              ·
              edit-2
              1 year ago

              Ask anyone who lived in a US controlled military dictatorship if they are scared of the upcoming elections. (Read the Jakarta Method by Vincent Bevins). Besides, both parties are bought out by the bourgeoisie of you country, so nothing is ‘dangerous’, about voting since it will serve the same interests either ways.

              • c0c0c0@lemmy.world
                link
                fedilink
                English
                arrow-up
                4
                arrow-down
                1
                ·
                1 year ago

                I have never before encountered someone who used the word “bourgeoisie” unironically. So cute! Now say something about the proletariat and the means of production!

                • Stalins_Spoon@lemmygrad.ml
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  arrow-down
                  2
                  ·
                  1 year ago

                  How about I say that your country will collapse in the next 30ish years, while the rest of the world celebrates. Hopefully you can enjoy the horrors of war that you inflicted in so many places.

        • Wispy2891@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

          Didn’t he say that’s so sure to be re elected that it doesn’t even need to waste money on useless elections?

  • Biblbrox@lemmy.world
    link
    fedilink
    English
    arrow-up
    56
    ·
    edit-2
    1 year ago

    I live in Russia and I have vps with wireguard vpn in Netherlands. At the current moment it works for me pretty well except the some connection failures two days ago. But they were very short. But I don’t know how long my vps will be accessible with these fucking blocking.

    • godless@lemmy.world
      link
      fedilink
      English
      arrow-up
      43
      ·
      1 year ago

      You might want to sign up with astrill. Greetings from China, we’ve been dealing with this shit for decades.

    • Nanabaz2@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Can you confirm that it is still working fine on normal home internet but not on cellular data? Have been back to Russia multiple times per year (family reasons) and none vpn ever works on cellular network. Some work at home and places.

      My own vpn is to my house in different country. Wireguard. That has always been working over home wifi here (not cellular). Even until now.

      • Biblbrox@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        For now it works both via mobile data and home provider. My mobile operator is Tinkoff. The home Internet provider - City Telekom. But sometimes it losses connection for several minutes. But generally it works well.

  • tal@kbin.social
    link
    fedilink
    arrow-up
    26
    ·
    edit-2
    1 year ago

    I am pretty confused by the article.

    What I’d expected based on what I’ve seen so far was that the Kremlin would not care what protocols are used, just whether the a given VPN provider was in Russia and whether it provided the government with access to monitor traffic in the VPN.

    So, use whatever VPN protocol you want to talk to a VPN provider where we can monitor or block traffic by seeing inside the VPN. You don’t get to talk to any VPN providers for which we can’t do that, like ones outside Russia, and the Russian government will do what it can to detect and block such protocols when they pass somewhere outside of Russia.

    But that doesn’t seem to fit with what the article says is happening.

    The media in Russia reports that the reason behind this is that the country isn’t banning specific VPNs. Instead, it’s putting restrictions on the protocols these services use.

    According to appleinsider.ru, the two protocols that are subject to the restrictions are:

    • OpenVPN
    • WireGuard

    A Russian VPN provider, Terona VPN, confirmed the recent restrictions and said its users are reporting difficulties using the service. It’s now preparing to switch to new protocols that are more resistant to blocking.

    I don’t see what blocking those protocols internal to Russia buys the Kremlin – if Terona conformed to Russian rules on state access to the VPN, I don’t see how the Kremlin benefits from blocking them.

    And I don’t see why Russia would want to permit through other protocols, though maybe there are just the only protocols that they’ve gotten around to blocking.

    EDIT: Okay, maybe Terona doesn’t conform to state rules or something and there is whitelisting of VPN providers in Russia actually happening. Looking at their VK page, it looks like Terona’s top selling point is “VPN access to free internet” and they have a bunch of country flags of countries outside of Russia. So maybe Russia is blocking VPN connectivity at the point that it exits Russia, and it’s affecting Terona users who are trying to use a VPN to access the Internet outside Russia, which would be in line with what I would have expected.

    • PeachMan@lemmy.one
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Your edit makes sense, it would be possible to block all VPN traffic but just whitelist traffic from trusted IP addresses (like those in Russia). But I don’t think we have enough info to say for sure that’s what’s happening.

  • egeres@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    1
    ·
    1 year ago

    Is it possible to bypass this block? Say, embedding VPN packets within a different protocol?

    • TheQuantumPhysicist@programming.dev
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      1
      ·
      1 year ago

      I don’t know why some moron downvoted you, but the answer is maybe. For reference, I have always bypassed SSH firewall blocking by sneaking SSH packets within https.

      The only way this won’t be possible is if the government enforces installing a certificate to use the internet, so that they can do a man-in-the-middle-attack. I heard this is already being done in Afghanistan.

      • nomadjoanne@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        1 year ago

        So sad. More and more we are seeing a world were the powers that be can do anything they want but if you do it it’s (rightfully) malware and illegal.

        The vast majority of popular apps and OSes are spyware by any reasonable definition of the term.

        • tal@kbin.social
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          I remember, back in the late 1990s, if I have the time right, when RealPlayer phoned home to check for updates, and there was enormous uproar over the privacy implications.

          Things sure have changed since then.

    • Shan@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      For simple web browsing or streaming over https you can use a socks proxy.

      For full VPN function you could try something like IPSec or L2TP, as they’re not listed in the protocols Russia is targeting.

  • rustydomino@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 year ago

    Can someone explain from a technical standpoint how they can block OpenVPN running on port 443? my admittedly limited understanding is that port 443 is the common port for https. If they blocked that port wouldn’t that mean that they would be blocking nearly the entire internet?

    • float@feddit.de
      link
      fedilink
      English
      arrow-up
      13
      ·
      1 year ago

      I don’t know what they actually do but one possibly is to look for (absence of) the TLS handshake. Or maybe they simply infect all devices on the Chinese market with MITM certificates to be able to decrypt all TLS encrypted traffic. Should be easy to force companies to do that in such a country.

      • Shan@lemmy.world
        link
        fedilink
        English
        arrow-up
        29
        ·
        1 year ago

        The port isn’t their focus, they’re looking at the protocol that is being used, regardless of the port. The protocol is still visible when not doing deep packet inspection. That’s why there suggesting a socks proxy for Russian citizens, because that uses HTTPS to tunnel traffic, so it wouldn’t be caught up in protocol analysis.

        • binom@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          1 year ago

          can you maybe link some ressources on how the protocol used can be detected? i did not know about this and would like to read into it some more :)

          • noride@lemm.ee
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            Look up NBAR for the basic idea. Each vendor has their own ‘secret sauce’ implementation, Palo Alto only needs 9 bytes of payload for disambiguation, iirc.

    • Aux@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      You can analyze the traffic, detect common patterns and also detect source of the request. Russian IT specialists are now using very complex solutions to come around the block which work a lot like MITM attacks.

    • Too Lazy Didn't Name@lemmy.woodward.tech
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      From my understanding, they are most likely just blocking the defualt port of wireguard / openvpn and IPs associated with the VPN servers of VPN providers they dont like.

      If they wanted to block VPN traffic over 443 to any IP, they would have to do deep packet inspection, which I would imagine is infeasible for Russia.

      Supposedly, the Chinese great firewall does use deep packet inspection, so it is possible to do this at the country level.

      • targetx@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        They specifically mention it’s on the protocol level which would imply it’s doing more than just blocking some ports. Not sure why you’d think China could pull that off but it would be infeasible for Russia?