• BlackEco@lemmy.blackeco.com
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    2
    ·
    edit-2
    1 year ago

    ISP still knows which sites you connect to.

    Yes, because they know the IPs your packets go to, but if there are multiple websites behind a single IP they won’t know which one (unless you use your ISP DNS server, which you should probably not)

    Which YouTube video you are watching to. etc.

    No, because the URL is contained within the HTTP packets which are encrypted with SSL (the S in HTTPS), so unless the ISP does MiM, they cannot know which URL you are visiting.

    • Yes, because they know the IPs your packets go to, but if there are multiple websites behind a single IP they won’t know which one (unless you use your ISP DNS server, which you should probably not)

      That’s not true. Almost all TLS clients use SNI to send the server name in plaintext, so the server can present the right certificate. With QUIC/http3, this is no longer done in plaintext, but the packet is still being sent alongside the initial encryption key so anyone with access to the traffic can simply decrypt these packets.

      There are trials out there for ESNI/ECH, which encrypts the SNI fields in a way the ISP can’t read, but those are far from stable, not implemented by most web servers, not enabled by default by web browsers, and require additional setup for website admins (read: won’t be widely implemented for another five to ten years).

      The URL and Host header are encrypted of course. Your ISP can find out you’re going to youtube.com, but not what video you’re watching.

      • BlackEco@lemmy.blackeco.com
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        Oh, thanks for this precision, I wasn’t aware of this. And now that I think of it, it’s obvious that the first exchange with a server has to be unencrypted

    • FarLine99@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      1 year ago

      Hmm… You have way better knowledge than I am. It seems so. Should think about this things some time later 😉