6 ms·
Feels like placebo security to me. If the protocol is http, any attacker can still see the domain name through the host header. Plus it does nothing to stop the
by gruez 9y ago
Feels like placebo security to me. If the protocol is http, any attacker can still see the domain name through the host header. Plus it does nothing to stop them from intercepting/modifying the request/response. If the protocol is ssl/tls the domain name is in the sni. You'll inevitably have to disable it every time you use public wifi (to get the captive portal to show up). Using TLS adds latency, because of the tcp handshake required (unless they're using DTLS), and it exposes all the domain names you visit to google, so it's actually worse than regular dns.
- kbwt 9y ago> Using TLS adds latency, because of the tcp handshake required TCP Fast Open gets rid of the TCP handshake latency, but even with TLS session ids-or-tickets there is still a round-trip for ServerHello — presumably because the standardization bodies don't trust that the client is ever capable of avoiding nonce reuse or generating a secure random number. Keeping the TCP+TLS connection alive might be feasible but you will either have to spend a lot of energy transmitting frequent keep-alive packets or run into problems on IPv4 if the network provider discards NAT mappings faster than your send interval. Unfortunately the adoption of both RFCs is really poor, with TCP Fast Open not working with Chrome on Linux (I have it set to enable in developer settings, and it does work in Firefox) and nginx still not supporting proper session ticket key rollover.
- YouKnowBetter 9y agoPlacebo for what? It is just another way to bring you some privacy about your DNS activity /like DNSCrypt does too) and a way for you as client to simply validate DNSSEC end-to-end.
- therealmarv 9y agoyour argumentation reads like the disadvantages of HTTP vs. HTTPS. Latency issues have been mostly resolved... it's not 1999.
- hannob 9y ago> Feels like placebo security to me. If the protocol is http, any attacker can still see the domain name through the host header. Plus it does nothing to stop them from intercepting/modifying the request/response. If the protocol is ssl/tls the domain name is in the sni. This is an interesting argument that people have been having over and over. Whenever someone proposes to encrypt DNS someone will come up with "but SNI still leaks the host name". Whenever someone proposes to encrypt SNI then surely someone will point out "DNS still leaks the host name". Yeah, you need to encrypt both. But that fact is no argument for not encrypting at all.
- vetinari 9y agoSNI works because it is not encrypted, that's the point why it was introduced in the first place. What key are you going to use to encrypt it?
- dullgiulio 9y agoIn theory you don't need a key if you do a DH exchange, but I suppose that's too many round trips and makes things generally much more complicated in the protocol later (unless you discard the first DH-exchange, wasting even more round-trips).
- Ajedi32 9y agoDH exchange on its own isn't secure against active MITM attackers.
- cesarb 9y ago> You'll inevitably have to disable it every time you use public wifi (to get the captive portal to show up). In my experience, captive portals use a MITM on HTTP connections, not a DNS hijack. If they hijacked the DNS request, the browser's DNS cache would keep the wrong response, breaking access to the real website even after login to the captive portal. > Using TLS adds latency, because of the tcp handshake required (unless they're using DTLS), and it exposes all the domain names you visit to google, so it's actually worse than regular dns. The TCP handshake latency would be only on the first request, the same connection can be reused for further queries, especially if you are using a single recursive resolver for all queries, which is the case if it "exposes all the domain names you visit to google".