this post was submitted on 10 Aug 2023
1090 points (98.5% liked)

Technology

59605 readers
3754 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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 2 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 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.