News for hackers. Stuff that matters.
Re:Working Group Last Call: QUIC protocol drafts by mekster on Wednesday June 10, 2020 @10:43AM (#23477507)
Is http/3 completely transparent to the current network and no network that is capable of handling http/1 and 2 would have any problem handling it?
Re:Working Group Last Call: QUIC protocol drafts by shockinglytrue on Wednesday June 10, 2020 @10:44AM (#23477521)
Far from it. It's quite likely going to be over 5 years if not a decade before it would be possible to run a pure-HTTP3 service without risking connectivity problems

The problem is similar to the IPv6 transition, except thanks to the browser monopolies, it's possible at least for network providers to quickly feel significant pressure to fix their networks. But there will always be some networks that will never be fixed

edit: for those inexplicably downvoting this, please pay attention to the parent comment's question, and the Internet's long chequered history of adopting new protocols in any setting. TCP port 443 isn't going to magically disappear overnight, or indeed any time soon. This is evidently true because it has been true for all prior transitions. Mail still flows to many places unencrypted despite the standardization of STARTTLS 21 years ago. The long tail has only gotten much longer in those intervening 21 years.

Re:Working Group Last Call: QUIC protocol drafts by cryptonector on Wednesday June 10, 2020 @11:08AM (#23477868)
HTTP/2 and HTTP/3 do not change the semantics of HTTP. That means you can run reverse proxies to server HTTP/1 services as /2 and/or /3 and vice-versa. As a result the transition will be a lot easier than the transition to IPv6. I expect that the transition in corporate networks will be faster -- the opposite of the IPv6 case -- because there is a lot of appeal to HTTP/3.
Re:Working Group Last Call: QUIC protocol drafts by the_duke on Wednesday June 10, 2020 @11:14AM (#23477951)
> because there is a lot of appeal to HTTP/3

I thought the primary appeal of HTTP/3 is for mobile clients, and bad connections in general, because it circumvents TCP head of line blocking and connections can persist across networks.

That doesn't feel terribly relevant in corporate networks.

(not disputing that it's not comparable to the v6 transition)

Re:Working Group Last Call: QUIC protocol drafts by cptskippy on Wednesday June 10, 2020 @12:04PM (#23478638)
His claim of corporate appeal is completely unsubstantiated and I think when he says corporate he isn't referring to enterprise.

Enterprises largely won't give two shits about HTTP/3.

Just last week I took ownership of another department's decade old app written in VB.NET WinForms. The former dev team was putting the finishing touches on the C# WebForms refactor. It's been interesting taking a step back in time to Dev practices from 2008.

Re:Working Group Last Call: QUIC protocol drafts by cryptonector on Wednesday June 10, 2020 @12:15PM (#23478797)
The appeal of H3 is smaller memory footprint.
Re:Working Group Last Call: QUIC protocol drafts by npiit on Wednesday June 10, 2020 @11:50AM (#23478452)
The transition will be faster because of that a big chunck of the internet is gatewayed through a few big players (e.g. Cloudflare, AWS, CDNs, the new wave of static deployment services like Netlify and Zeit.co, big websites like google, facebook, netflix, etc...)
Re:Working Group Last Call: QUIC protocol drafts by user5994461 on Wednesday June 10, 2020 @11:46AM (#23478403)
You realize that HTTP/2 is still nowhere near to being adopted by corporations? It's really far fetched to plan HTTP/3 and expect any adoption.
Re:Working Group Last Call: QUIC protocol drafts by uluyol on Wednesday June 10, 2020 @03:31PM (#23481079)
Most _domains_ may not support HTTP/3, but I fully expect that within a few years most _traffic_ will be HTTP/3.
Re:Working Group Last Call: QUIC protocol drafts by tialaramex on Wednesday June 10, 2020 @01:28PM (#23479716)
Qualys' "SSL Pulse" says 47.1% of surveyed sites offered HTTP/2 and about 30% of surveyed sites offer TLS 1.3

Increasingly "corporations" out-source this problem to specialists who are only too pleased to use newer technologies with better performance and collect the same money.

Re:Working Group Last Call: QUIC protocol drafts by user5994461 on Wednesday June 10, 2020 @01:51PM (#23479973)
Because 47% of sites run on Cloudflare or similar CDN that started enabling HTTP/2 for non-paying customers.

The application servers running the site do not accept HTTP/2 and most likely can't support it at all (we're a python shop and none of the web frameworks we use could do HTTP/2 when we looked into it).

Re:Working Group Last Call: QUIC protocol drafts by dathinab on Wednesday June 10, 2020 @02:29PM (#23480448)
But exactly that's the point. It can be handled transparently in a much easier way then the Ipv6 switch. (Because IPv6 is so much more different then just IPv4 + more addresses, and worse, many people don't realize it and treat it as IPv4 with more addresses which resulted in many problems).
Re:Working Group Last Call: QUIC protocol drafts by amaccuish on Wednesday June 10, 2020 @01:59PM (#23480075)
For HTTP/2 at least, I think the main benefit in terms of performance applies to the "last hop", so you still get a more reliable experience even if the connection between the CDN/proxy and app server is http/1.1
Re:Working Group Last Call: QUIC protocol drafts by dathinab on Wednesday June 10, 2020 @02:34PM (#23480493)
True, through many web-sites don't have to care about the performance difference.

But for companies like CloudFlare or Googl HTTP/2 means less traffic overhead (multiplexing+header compression) and can save them a lot of bandwidth (aka. money) with that.

Re:Working Group Last Call: QUIC protocol drafts by secondcoming on Wednesday June 10, 2020 @02:54PM (#23480691)
Exactly. AWS and GCP load balancers accept HTTP/2 but allow for those requests to be forward to backend instances as HTTP/1 because of this.
Re:Working Group Last Call: QUIC protocol drafts by shrdlu2 on Wednesday June 10, 2020 @03:47PM (#23481233)
In fact AWS ALB does not even support HTTP/2 on the backends which is really annoying.
Re:Working Group Last Call: QUIC protocol drafts by cryptonector on Wednesday June 10, 2020 @12:14PM (#23478787)
The fact that UDP involves much smaller PCBs than TCP alone will drive adoption of HTTP/3 because it will free up a fair bit of memory.

More availability of HTTP version gateways in load balancers and other reverse proxies is all that's needed, and that's coming along.

Re:Working Group Last Call: QUIC protocol drafts by moreati on Wednesday June 10, 2020 @04:58PM (#23482031)
Protocol Control Block for anyone else wondering https://www.oreilly.com/library/view/tcpip-illustrated/02016...
Re:Working Group Last Call: QUIC protocol drafts by the8472 on Wednesday June 10, 2020 @06:09PM (#23482750)
You still need to keep your unacknowledged data buffered somewhere. If the kernel isn't holding it then it's in userspace.
Re:Working Group Last Call: QUIC protocol drafts by microcolonel on Wednesday June 10, 2020 @01:07PM (#23479468)
More specifically no PCB, for UDP itself.
Re:Working Group Last Call: QUIC protocol drafts by cryptonector on Wednesday June 10, 2020 @06:10PM (#23482755)
It's not nil. For "connected" UDP sockets, it's smaller than TCP's, but not nil because, well, buffers. And for non-connected UDP sockets there's still buffers. The main thing is that you can have much less buffer space because you might always be willing to drop packets. Ultimately you can have much lower memory pressure from those buffers and the smaller PCBs.
Re:Working Group Last Call: QUIC protocol drafts by awirth on Wednesday June 10, 2020 @06:41PM (#23483035)
This is only mostly true, they do subtly change some semantics.

As a motivational example, it is possible to encode a colon in a header name in http2 but not in http1.1, and this does not violate the RFC which only blacklists "\0\r\n".

Re:Working Group Last Call: QUIC protocol drafts by 1_player on Wednesday June 10, 2020 @11:08AM (#23477870)
Why would network providers have to fix their network? Why 5 years to adopt?

HTTP/3 and QUIC are based on UDP. This is very different to the IPv6 transition.

Re:Working Group Last Call: QUIC protocol drafts by cg505 on Wednesday June 10, 2020 @11:48AM (#23478429)
There are a ton of networks (think big corporate networks, schools, shared apartment wifi) that enforce too many weird port restrictions. Many of those places rarely get network or config updates. I don't think it's as bad as IPv6, but there are a lot of people for whom it isn't going to just work out of the box.
Re:Working Group Last Call: QUIC protocol drafts by dathinab on Wednesday June 10, 2020 @02:39PM (#23480549)
Sure, but for that people a non small part of the internet is already broken. Like websockets being broken and in turn slack being broken.
Re:Working Group Last Call: QUIC protocol drafts by patrickmcmanus on Tuesday June 16, 2020 @10:15AM (#23539371)
websockets is carried on TCP. Often bootrstapped on HTTPS tcp/443.
Re:Working Group Last Call: QUIC protocol drafts by tyingq on Wednesday June 10, 2020 @02:39PM (#23480552)
"Network providers" isn't really the issue. It's all the corporate and school networks that block UDP, or run broken spyware MITM boxes, etc. Chrome has to do a TCP vs UDP race to figure out if UDP connectivity to the internet is broken.
Re:Working Group Last Call: QUIC protocol drafts by kitteh on Wednesday June 10, 2020 @03:26PM (#23481024)
In some cases it is the ISPs. I'll share an example:

Some broadband ISPs struggle with the fact that their customers get compromised and join botnets. Over the last few years UDP has become the ddos attack of choice. Broadband access networks struggle with how to mitigate this. Some try to block the command and control (C2) and some try to go the customer outreach angle. For example, notifying them that they have a compromised machine or putting them in a walled garden with a website that pops up telling them they've been impacted. The problem is that outreach is costly and not super effective. So they found another option: apply throttles on UDP. A few have done this and it's led to big problems because from a user experience QUIC works enough - and then falls apart.

Some of the access providers have changed the throttles to be less aggressive while others have resorted to being aggressive on the topic ("you should have made a new protocol and consulted with us!").

Re:Working Group Last Call: QUIC protocol drafts by zozbot234 on Wednesday June 10, 2020 @11:24AM (#23478100)
We might want to have a SCTP-based HTTP/4 down the road. That would surely benefit from some fixes on the network side.
Re:Working Group Last Call: QUIC protocol drafts by jeffbee on Wednesday June 10, 2020 @11:30AM (#23478171)
See, that will NEVER happen. Completely impractical. SCTP has a different protocol number in the IP datagram header and many devices will either drop or malfunction when faced with protocol numbers they don't understand. UDP and TCP (protocol numbers 6 and 17) are well-supported, by practically all devices.
Re:Working Group Last Call: QUIC protocol drafts by anticensor on Wednesday June 10, 2020 @11:35AM (#23478250)
Why not package QUIC in IP directly without UDP in between?
Re:Working Group Last Call: QUIC protocol drafts by jlouis on Wednesday June 10, 2020 @12:57PM (#23479324)
UDP is as clean as you can get it. It is more or less free of any overhead. And networks know UDP already. A new IP protocol is far more likely to be rejected in the network.
Re:Working Group Last Call: QUIC protocol drafts by tptacek on Wednesday June 10, 2020 @04:18PM (#23481583)
This, exactly; it's the actual reason UDP exists. It's a design smell for anything to ask for a new IP protocol number.
Re:Working Group Last Call: QUIC protocol drafts by sagichmal on Wednesday June 10, 2020 @11:43AM (#23478379)
A protocol separate to UDP and TCP altogether would suffer from middlebox interference problems.
Re:Working Group Last Call: QUIC protocol drafts by anticensor on Wednesday June 10, 2020 @11:53AM (#23478504)
Aaaa, you mean the problem of -smart- stupid pipes. These do and will exist all the time and this is an opportunity for them to realise how detrimental they do is to Internet.
Re:Working Group Last Call: QUIC protocol drafts by sagichmal on Wednesday June 10, 2020 @07:20PM (#23483330)
They're inextricably woven into the fabric of the internet, and unfortunately can't be wished away.
Re:Working Group Last Call: QUIC protocol drafts by dathinab on Wednesday June 10, 2020 @02:26PM (#23480412)
> The problem is similar to the IPv6 transition,

Maybe similar but much smaller then IpV6 with much less problems, because most web frameworks will transparently support HTTP/1, HTTP/2 and HTTP/3 for the large majority of use-cases.

> Mail still flows to many places unencrypted

Mainly because getting a TLS certificate wasn't that easier for a lot of people in the world until recent years and the standard being written in a way which can be easily (mis-) understood as you having to have support unencrypted sending/receiving of mails. (It requires it for sending for local, i.e. implicitly by OS user account authenticated same machine mail.).

Re:Working Group Last Call: QUIC protocol drafts by Matthias247 on Thursday June 11, 2020 @03:16PM (#23492364)
> Far from it. It's quite likely going to be over 5 years if not a decade before it would be possible to run a pure-HTTP3 service without risking connectivity problems

There won't be a pure HTTP/3 service anyway. HTTP/3 requires negotiation. It is announced from a previous HTTP/1.1 or /2 request using a "Alt-Svc" header. Typical clients will not try to connect using HTTP/3 directly

Re:Working Group Last Call: QUIC protocol drafts by patrickmcmanus on Tuesday June 16, 2020 @10:18AM (#23539399)
I think we'll see some DNS version of alt-svc that doesn't require TCP to bootstrap.. see httpssvc and svcb
Re:Working Group Last Call: QUIC protocol drafts by fulafel on Wednesday June 10, 2020 @02:11PM (#23480239)
There are a lot of broken networks. HTTP/2 and even HTTP/1.1 ran into this.

But really the idea of the protocol being transparent to the network is completely backwards in relation to the main idea of the Internet, namely the end-to-end principle, which says that the network is dumb and is not allowed to look inside the IP packets into the higher level protocols.

Re:Working Group Last Call: QUIC protocol drafts by josteink on Wednesday June 10, 2020 @11:09AM (#23477883)
> is http/3 completely transparent to the current network

Iirc it introduces use of UDP and thus will be unusable on a million corporate networks where near all UDP-traffic is filtered.

Re:Working Group Last Call: QUIC protocol drafts by sebazzz on Wednesday June 10, 2020 @01:14PM (#23479546)
Many corporate proxies are HTTP proxies (as opposed to SOCKS) as well, which are currently by definition TCP. Not sure if an QUIC proxy would be easy to implement at all.
Re:Working Group Last Call: QUIC protocol drafts by cesarb on Wednesday June 10, 2020 @12:39PM (#23479089)
It should be completely transparent; unfortunately, there are way too many networks with firewalls configured to only allow known ports of known protocols, instead of following the design principle that only the end hosts should care about layers above IPv4 and IPv6. Since QUIC and HTTP/3 uses UDP instead of TCP, these firewalls will drop or reject the connection.

That is: any network that is capable of handling traditional HTTP is capable of handling HTTP/3, but many are explicitly configured to not do so.