• fluxion@lemmy.world
      link
      fedilink
      English
      arrow-up
      180
      arrow-down
      7
      ·
      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
        0
        arrow-down
        1
        ·
        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

    • Raltoid@lemmy.world
      link
      fedilink
      English
      arrow-up
      65
      ·
      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.

      • tal@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        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.

        What @raltoid is saying sounds plausible, though I can’t confirm it myself – 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
      3
      ·
      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
      4
      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.