News for hackers. Stuff that matters.
Re:Chrome is deploying HTTP/3 and IETF QUIC by floatingatoll on Wednesday October 07, 2020 @01:14PM (#24710397)
Users don’t need to care about the difference between HTTP, HTTP2, and HTTP3. It’s relevant only to browser engineers and server operators.

There’s no reason to ask everyone on the planet to change “https:” to “http3:” when we still can’t even reliably complete the “http:” to “https:” transition. We’ve learned that users simply do not care at all about “http:” or “https:”. We shouldn’t have to ask people to update their QR codes for HTTP3 just because we updated the protocol.

Should we have introduced ftpp:// for passive FTP to distinguish it from classic FTP? No: it would only confuse users, cause frustration for pages linking to FTP urls, and both servers and clients are perfectly capable of negotiating this silently without surfacing it to the user.

In general the pushback with HTTP3 is that site operators would rather not have to do the extra work to enable it. But from a user’s perspective, there is no work to enable it. It’s just https:// like always and one day it gets faster. Sites that refuse to do the extra work to turn it on will be visibly slower than their peers once it’s widespread enough.

If you believe that HTTP3 should have had its own URI spec, you would have needed to make that case a few years ago to the committee implementing it; it’s not going to change now. I assume their discussion about that is in the archives, and I expect it boils down to “this is not relevant to users, they should not be expected to care”.

Re:Chrome is deploying HTTP/3 and IETF QUIC by jeffbee on Wednesday October 07, 2020 @01:26PM (#24710539)
But users don't type or even see the URI scheme any more. It is also an implementation detail.

I just think it's weird that we've left ourselves without any way to send a client directly to an HTTP/3 site. Instead they _must_ establish a TCP connection to the site and be redirected via Alt-Svc headers to HTTP/3.

Re:Chrome is deploying HTTP/3 and IETF QUIC by vitaliyf on Wednesday October 07, 2020 @01:31PM (#24710584)
I am not going to claim myself if this is "right" or "wrong" but there is some work on that being done via https://datatracker.ietf.org/doc/draft-ietf-dnsop-svcb-https... - see https://blog.cloudflare.com/speeding-up-https-and-http-3-neg...
Re:Chrome is deploying HTTP/3 and IETF QUIC by floatingatoll on Wednesday October 07, 2020 @09:27PM (#24714721)
Previously, though only 2 comments across 4 posts:

https://hn.algolia.com/?q=https%3A%2F%2Fblog.cloudflare.com%...

Re:Chrome is deploying HTTP/3 and IETF QUIC by bastawhiz on Wednesday October 07, 2020 @01:29PM (#24710568)
What's the backwards compatibility story for that? Links just don't work for older browsers? Why spend all the time making H3 work seamlessly with H2 if we're only going to introduce a new scheme that only works in new HTTP clients?
Re:Chrome is deploying HTTP/3 and IETF QUIC by toast0 on Wednesday October 07, 2020 @03:01PM (#24711463)
Elsewhere in the thread, it sounds like there's a DNS way to suggest http/3. If adoption is high, clients might end up doing something like happy eyeballs; send tcp syns as well as the udp equivalents, and use whichever comes back first or use them all but prefer the fastest one, etc.
Re:Chrome is deploying HTTP/3 and IETF QUIC by tialaramex on Wednesday October 07, 2020 @07:14PM (#24713930)
According to Apple (I don't own an iPhone) if you have iOS 14 and go into the Experimental Features settings and turn on support for draft HTTP/3 then it will try to do SVCB (that's the "DNS way to suggest http/3") and if it concludes that HTTP/3 is possible and there's no contraindication it will race an HTTP/3 connection vs HTTP/2

If it notices that HTTP/3 always loses or fails, it will gradually stop trying on the rationale that your network is broken so it's a waste of time.

If your site uses Cloudflare, this Just Works™ since Cloudflare will answer HTTP/3 and emit DNS records saying it speaks HTTP/3 so there's no new work for you. Otherwise, to enable it you'd need to either create SVCB records in your DNS (your DNS server may need to be updated) or use the Alt-Svc: feature and give up on the performance improvement for first visits.

Re:Chrome is deploying HTTP/3 and IETF QUIC by floatingatoll on Thursday October 08, 2020 @12:17AM (#24715734)
Home > Settings > Safari > Experimental Features, for Safari on iOS 14.

Home > Settings > Developer, for anywhere in iOS 14 that uses the system HTTP library.

Note that you'll need a device with development mode enabled for the latter.

https://developer.apple.com/wwdc20/10111 has more details near the end.

Re:Chrome is deploying HTTP/3 and IETF QUIC by ziml77 on Wednesday October 07, 2020 @01:53PM (#24710798)
That's not true unless the server is set up to handle redirecting. Every time I go to unifi.home.arpa:8443 I get the message:

    Bad Request
    This combination of host and port requires TLS.
I have to explicitly type the https:// for it to work.
Re:Chrome is deploying HTTP/3 and IETF QUIC by floatingatoll on Thursday October 08, 2020 @04:32PM (#24723604)
To restate my comment in more precise terms, users do not care which protocol of { HTTP/0, HTTP/1, HTTP/2, HTTP/3 } their browser selects and uses when communicating with the remote server at whatever URL they entered. They expect the URL to work, and they don't care how.

The Unifi issue you cite is due to a series of problems that are related to the http:// to https:// migration, most of which Unifi could have easily discovered and mitigated had they cared to. I'm really disappointed in Unifi here, but the browser is at fault, too.

First: Your browser's fallback process for handling "the user entered an invalid URI" is attempting http:// first, rather than https:// first.

Second: The Unifi is responding over http:// with a completely useless error page, rather than a redirect to https:// at the same port.

Third: The Unifi probably isn't setting a Strict-Transport-Security header on responses to https://:8443, which means that your browser can't learn a better default.

Fourth: If the Unifi's instructions tell you to enter "unifi.home.arpa:8443" rather than "https://unifi.home.arpa:8443", their instructions are clearly wrong. (If you're not following their instructions precisely as written, that would explain your discover of the prior three; I can't say I blame you — I would have left it off too.)

Re:Chrome is deploying HTTP/3 and IETF QUIC by logicOnly on Wednesday October 07, 2020 @01:54PM (#24710809)
One of my biggest complaints is how https flags text based websites for being dangerous.

What danger could possibly happen if I'm reading about a Physical Therapy clinic?

They don't take credit cards, there's no information for me to enter on the website.

But unless the Physical Therapist knows how to manage the server, they get this scary warning.

Maybe it isn't a big deal to US healthcare because they make lots of money. But I imagine there are others that don't have the technical abilities to upgrade to https. Could your grandma do it for her sewing store?

Re:Chrome is deploying HTTP/3 and IETF QUIC by derefr on Wednesday October 07, 2020 @02:17PM (#24711044)
Just because the original site was simple, doesn't mean that the thing an MITM replaces it with needs to be. Sites aren't apps; sites that do little don't "install" into the browser with an intentionally-limited set of permissions, such that an attacker would then be limited in their attack by those permissions. An MITM can replace the site with basically whatever they like.

I can't find the example (it was linked on HN a few years back), but a clear demonstration of this is a case where the MITM can serve a phishing page that initially appears to be the original site you've hijacked (so the user trusts it, and leaves it alone); but later, while the page is not visible (for example, when the user switches away from that tab), the page will switch over to showing a Facebook login screen or something.

Since the website isn't a known "malicious site" (so no alert from the browser), the user probably won't bother to look at the URL bar. They'll just think they left Facebook open in a tab, and it logged them out for inactivity. So they'll "log back in."

Re:Chrome is deploying HTTP/3 and IETF QUIC by jk700 on Wednesday October 07, 2020 @02:27PM (#24711143)
And MITM is still possible for https, just a bit different with two points of interception, rather than one, see my other comment [1].

[1] https://news.ycombinator.com/item?id=24711111

EDIT: what are the downvotes for? If for disagreement, this only shows how poorly people misunderstand security of https.

Re:Chrome is deploying HTTP/3 and IETF QUIC by floatingatoll on Wednesday October 07, 2020 @03:10PM (#24711548)
Grandma’s sewing store would be hosted on a VPS or Squarespace, and will have a checkbox to provision “secure site encryption” for her without any further work required on her part. (They may charge her money for the certificate, if they’re a scummy VPS.)

This ship has sailed, though: “plaintext HTTP” is available only with HTTP/0 and HTTP/1. This article is discussing HTTP/3, which carries forward the requirement of wire encryption that HTTP/2 argued over for a long time and then incorporated into the standard.

(Incidentally, my grandmother was a Smalltalk and 6502 assembly programmer of educational software in the 80s. She let me read her technical books at age 5. Probably best to find another example, such as “non-technical site owners”.)

Re:Chrome is deploying HTTP/3 and IETF QUIC by iso1210 on Wednesday October 07, 2020 @02:03PM (#24710917)
https doesn't flag that.

Your browser might flag a http server as dangerous (mine doesn't - it just has a padlock with a line through), but you're leaking information to your ISP that you are reading about a Physical Therapist.

If your site tries to do https and fails (self signed or invalid certificate) it will rightly flag up that it's a problem.

My grandma would not be able to manage a server on the internet, let alone responsibly manage it. If you can't set up a modern server with https then you shouldn't be running a server on the internet at all.

Re:Chrome is deploying HTTP/3 and IETF QUIC by mumblemumble on Wednesday October 07, 2020 @02:30PM (#24711161)
Assuming your physical therapist has their own website with its own doman, and not just, say, a Facebook page, you're leaking that information to your ISP with https, too. https doesn't hide the domain you're talking to, just the specific URLs within that domain.
Re:Chrome is deploying HTTP/3 and IETF QUIC by iso1210 on Wednesday October 07, 2020 @03:55PM (#24712037)
We have SNI. Now sure your therapist may run their own VM on it's own IP address, but that's not very likely.
Re:Chrome is deploying HTTP/3 and IETF QUIC by mumblemumble on Wednesday October 07, 2020 @04:14PM (#24712217)
SNI doesn't encrypt the desired hostname in the payload of the initial connection. It's still plainly visible to an eavesdropper. They can also observe un-encrypted DNS lookups.
Re:Chrome is deploying HTTP/3 and IETF QUIC by skissane on Wednesday October 07, 2020 @07:03PM (#24713835)
Re:Chrome is deploying HTTP/3 and IETF QUIC by kube-system on Wednesday October 07, 2020 @02:14PM (#24711010)
Chrome and derivatives display "! Not secure" in the omnibar, which is presumably what they are referring to.
Re:Chrome is deploying HTTP/3 and IETF QUIC by iso1210 on Wednesday October 07, 2020 @02:16PM (#24711032)
20 year ago the world thought that IE6 was synonymous with the internet

Thank god we moved on from that.

Re:Chrome is deploying HTTP/3 and IETF QUIC by xahrepap on Wednesday October 07, 2020 @01:59PM (#24710867)
The problem is you can't trust what you're reading to be from the source. Maybe the site doesn't take credit cards. But after a MITM it might suddenly start taking credit cards. And other things. Whatever the attacker wants! All in the seeming name of the origin.
Re:Chrome is deploying HTTP/3 and IETF QUIC by jk700 on Wednesday October 07, 2020 @02:24PM (#24711111)
MITM like that still works for most https websites because of the automatic domain validation by ACME-based certificate authorities. The only caveat is that now an attacker has to get a valid certificate, so first he has to do MITM on the route from the datacenters where CAs run validators to the datacenter where the website is hosted, which for most websites today is likely a long route crossing many countries, after that an attacker gets the exact capabilities as with MITMing http.
Re:Chrome is deploying HTTP/3 and IETF QUIC by dfabulich on Wednesday October 07, 2020 @03:50PM (#24711982)
No, you're forgetting about Certificate Transparency, which protects against this attack.
Re:Chrome is deploying HTTP/3 and IETF QUIC by jk700 on Wednesday October 07, 2020 @04:14PM (#24712221)
It doesn't. Pretty much no one monitors CT logs and for those who do there is no way to prove misissuance of domain-validated certificate and revoke it, they don't have private keys.
Re:Chrome is deploying HTTP/3 and IETF QUIC by tialaramex on Wednesday October 07, 2020 @07:24PM (#24714004)
If you believe you have been successfully attacked this way you should report it, the logs would be part of your evidence. I spent some time looking for this sort of thing, and it does look like it happens sometimes, mostly to military or political targets, but it's rare. That work is owned by a previous employer, but let's say dozens of times across several years.

You are entitled to revocation of any unexpired certificates for names over which you can demonstrate control. For Let's Encrypt for example you can automate this, simply make the API calls to demonstrate control (as you would for issuance) and then present the certificate that is to be revoked (it's in the logs) and ask their API to revoke it.

Re:Chrome is deploying HTTP/3 and IETF QUIC by jk700 on Wednesday October 07, 2020 @08:26PM (#24714401)
But if an attacker can intercept domain validation to issue a certificate, there is little reason not to protect his own certificate from revocation by preventing subsequent validations until it is used on a target, if he can't hide this fact in some way of course. A report of that will look like someone is trying to revoke a certificate for a domain they don't control and won't actually solve the problem even if a human can be convinced by other method that you do control the domain.

Maybe DNSSEC could be used here to help if ACME added a way to force DNSSEC-only domain validation.

Re:Chrome is deploying HTTP/3 and IETF QUIC by suprfsat on Wednesday October 07, 2020 @02:42PM (#24711273)
Feb 19, 2020: Multi-Perspective Validation Improves Domain Validation Security (https://letsencrypt.org/2020/02/19/multi-perspective-validat...)
Re:Chrome is deploying HTTP/3 and IETF QUIC by jk700 on Wednesday October 07, 2020 @04:12PM (#24712196)
That's the thing, they don't seem to bother actually addressing the problem and assume no other interception capability than hacking BGP. But we are talking here about exactly that, i.e. if you can intercept traffic in any other way somewhere close to a website or its nameservers - you can get a valid certificate and use it to MITM its visitors anywhere in the world where you can intercept traffic too. And in case of using big cloud providers for validation to "improve" security, this still likely pushes traffic from all of them through some big IX before reaching a datacenter with a website and at worst only adds a couple more points an attacker has to intercept traffic at to get the certificate.

This is where all that centralization is really bad for security. It basically makes https a protection only against low effort MITM of last mile ISPs.

Re:Chrome is deploying HTTP/3 and IETF QUIC by rakoo on Wednesday October 07, 2020 @02:37PM (#24711231)
https doesn't care about the content, it's the browser that tells the user that his communication is in the clear, and there's no assurance as to who the user is talking to.

> What danger could possibly happen if I'm reading about a Physical Therapy clinic?

Depends what is a "danger" to you. Your insurance learning you're having issues and deciding to increase the amounts you owe them, because they saw that your back is aching, is definitely a problem.

> But unless the Physical Therapist knows how to manage the server, they get this scary warning.

Wrong. In 2020, if the Physical Therapist can have an http website, they can have an https website with a valid certificate.

It's the same for your grandma store. Going from no website to http is a much much bigger step than going from http to https.

Re:Chrome is deploying HTTP/3 and IETF QUIC by lez on Wednesday October 07, 2020 @03:30PM (#24711758)
Using the same logic, https://facebook.com is also a danger, since we know they routinely sell out our personal data to advertisers and probably anyone who is willing to pay for them. Or an aquitance could be an insurance agent... Not to mention NSA as a source of danger in this sense.

The real danger I see is the disappearance of lots of quality, not-for-profit content that reminds me of the good old Internet, swapping it with new shiny https publishers, of which 90% belong to the same owners. That's the real danger to the society. The long tail is disappearing, while commercial interests, and the manipulation that comes with that sneaks in everywhere.

Re:Chrome is deploying HTTP/3 and IETF QUIC by Diederich on Wednesday October 07, 2020 @02:01PM (#24710885)
A real danger of not going with TLS is MITM attacks. Specifically, injection of hostile JS, CSS or whatever that can be used to penetrate your browser and/or local system.
Re:Chrome is deploying HTTP/3 and IETF QUIC by inglor on Wednesday October 07, 2020 @02:00PM (#24710880)
HTTPS is free (with let's encrypt) and useful for privacy.

For example: No one is stopping someone from intercepting your request to your clinic and add a form asking for personal details - and then using those details to "restore password" - or simply ask for your CC number. You might not fall for it but are you as confident in all other patients?

Re:Chrome is deploying HTTP/3 and IETF QUIC by iso1210 on Wednesday October 07, 2020 @02:05PM (#24710932)
> with let's encrypt

My biggest concern as http becomes less and less acceptable is that practically the entire internet relies on lets encrypt to run.

Re:Chrome is deploying HTTP/3 and IETF QUIC by klodolph on Wednesday October 07, 2020 @02:15PM (#24711020)
Not to run, just to keep running long-term. If Let’s Encrypt exploded you would have less than 30 days to get it running again. But that’s not such a short time.
Re:Chrome is deploying HTTP/3 and IETF QUIC by vandal_at_your on Wednesday October 07, 2020 @02:16PM (#24711037)
Nope. https, hybrid crypto and pub->free CA's are the largest backdoor into internet traffic ever (accidentally) devised. The standardization on https for everything (including alt app protocols (dns,etc...)) is very apparently an info grab.

Sym crypto is the only answer (Schneier,DJB) people have been trumpeting this for years.

Re:Chrome is deploying HTTP/3 and IETF QUIC by iso1210 on Wednesday October 07, 2020 @05:07PM (#24712744)
If I connect to a server via https and see it's certificate, I am confident that my communication is secure between me and the server hosting that certificate.

To validate the person holding that certificate is who they claim to be, how can I do that? By either getting their certificate out of band (impractical), or trusting an intermediate.

Lets encrypt doesn't make it any easier or harder to get an invalid certificate.

Now if the server wants me to authenticate, https has that built in. I can present my own client certificate, and if it's signed by somewhere the server trusts, it knows who I am. But how would a random server authenticate who I am? I'd personally rather use certificates or ssh keys or similar than usernames and passwords, but that's too complex for the average person.

Clearly I could have lost control over the key to my certificate, or the server could have lost theirs, there's not much you can do about that, no matter what type of authentication system you use.

Re:Chrome is deploying HTTP/3 and IETF QUIC by logicOnly on Wednesday October 07, 2020 @02:03PM (#24710918)
It's not free when you need to pay someone to update your website.

Grandma might be able to edit HTML, but "what's sudo? What's ssh? This one website says I need to pay for certs?"

Re:Chrome is deploying HTTP/3 and IETF QUIC by robertnn on Wednesday October 07, 2020 @02:11PM (#24710984)
So what are you saying? That we should sacrifice security (as explained in sibling comments) in order to allow grandmas to create their own web pages?
Re:Chrome is deploying HTTP/3 and IETF QUIC by ksaj on Wednesday October 07, 2020 @02:23PM (#24711104)
It all sounds ageist and misogynystic to me. I work with a few grandmas who are right there on top of the newest technologies going. One is a scientist working on a hell of a cool cloud product. Old ladies aren't the model of stupidity, as this thread might lead someone to believe.
Re:Chrome is deploying HTTP/3 and IETF QUIC by fenesiistvan on Wednesday October 07, 2020 @02:25PM (#24711119)
Yes, exactly. Grandma should be able to easily publish. Now grandma doesn't say anything because the unnecessary complication pushed by google (https and now http3 which might be enforced a few years later. These has little to do with security and performance; mostly the google ad business has any revenue from all these complications)
Re:Chrome is deploying HTTP/3 and IETF QUIC by kube-system on Wednesday October 07, 2020 @02:11PM (#24710988)
Grandma also pays her registrar and ICANN for the domain every year too. Free was never the price of having a website, and it's not a reasonable standard of expectation today. As is with literally anything else that needs maintenance, if you can't maintain it yourself, you have to pay someone else to maintain it.
Re:Chrome is deploying HTTP/3 and IETF QUIC by eldridgea on Wednesday October 07, 2020 @02:02PM (#24710899)
There are a few areas of concern here:

First, getting authentic data from the provider so that you know what they published is what you're reading.

But also links and embedded links/scripts. Since HTTP can be (relatively) trivially MITMd, it not only exposes end users to getting manipulated info, but also, having them running Javascript that's not what the site owner intended.

In fact that's exactly how China attacked GitHub recently: https://threatpost.com/github-attack-perpetrated-by-chinas-g...

Re:Chrome is deploying HTTP/3 and IETF QUIC by anothercommnt on Wednesday October 07, 2020 @02:23PM (#24711099)
Yes. There is so much groupthink on this issue. Know that you are not alone.