3 ms·
Meaning the hostname is also sent in cleartext (which may be problematic for some use cases). This is the wrong level to be talking about this anyways. IPSec i
by bandrami 12y ago
Meaning the hostname is also sent in cleartext (which may be problematic for some use cases).
This is the wrong level to be talking about this anyways. IPSec is the "right" thing to do, but that ship sailed I guess.
- Dylan16807 12y agoProblematic in what cases? You could always get hostname from the IP before.
- bandrami 12y agoYou can get a PTR from an IP address, but that's not the same as "the hostname the client requested". If virtuous_activities.com and shameful_fetishes.com both resolve to the same IP address (assuming some application protocol like HTTP that can distinguish by hostname) I could certainly imagine a situation where a client would want to keep the particular hostname requested secret. (Obviously the attacker in this case would probably also be able to sniff the requests from the resolver, but still; I'm not making this complaint up or anything, a lot of people have mentioned it before.)
- Dylan16807 12y agoNo, that's not what I'm saying. My point is that hostname has always been leaked with HTTP and HTTPS. SNI does not leak any new information.
- bandrami 12y agoWhen is hostname sent plaintext in non-SNI HTTPS? (The resolver, I suppose, but that is a separate issue.)
- Dylan16807 12y agoThe certificate is sent before encryption is established. But that's a red herring. Even if it was all kept encrypted, even if you ignored DNS and reverse DNS, you could connect to the IP yourself. Yeah, technically there might be more than one hostname, but they're all related hostnames.
- bandrami 12y agobut they're all related hostnames Huh? I used to have ~100 hosting clients per IP address, none of whom were in any way related to each other (other than in having chosen me as a hosting provider).
- Dylan16807 12y agoThat's not the common case, though, and is completely awful to use as an anonymity measure.
- mark-r 12y agoActually I think it's quite common, it applies to any site not busy enough to justify a dedicated server. By the long tail principle that will be the majority of sites on the internet.
- Dylan16807 12y agoOh, I should be clear, I'm specifically talking about sites sharing a certificate. I know a lot of sites use shared hosting, but it's awkward to get a certificate for a pile of unconnected sites. Most of them will either not support HTTPS or require paying a couple dollars for an IP. (Or, these days, try to rely on SNI.)