News for hackers. Stuff that matters.
Re:RFC 9114 – HTTP/3 by exabrial on Monday June 06, 2022 @09:45PM (#31648923)
You know what http needs? Built in port location as part of the protocol... preferably via DNS.
Re:RFC 9114 – HTTP/3 by Gigachad on Monday June 06, 2022 @11:44PM (#31649656)
What use cases are you thinking of? As far as I can see, the main and perhaps only use case is hosting websites behind ISPs which block the default ports. Although since http is leaving TCP, I wonder if these blocks will continue to work.
Re:RFC 9114 – HTTP/3 by inopinatus on Tuesday June 07, 2022 @04:27AM (#31651323)
One would be IP address assignment proliferation due to containers and shared services. SNI only goes part of the way to reducing the demand, being limited because it can't cross administrative trust boundaries. For v4 this is an ongoing exhaustion issue, but even for v6 it's an ops and allocation problem.

Imagine if, for example, public clouds didn't need to burn a separate address for every dynamically provisioned load balancer.

Re:RFC 9114 – HTTP/3 by asplake on Tuesday June 07, 2022 @01:40AM (#31650271)
Http to https (and maybe naked to www) upgrades specified in DNS instead of requiring redirects?
Re:RFC 9114 – HTTP/3 by Gigachad on Tuesday June 07, 2022 @01:49AM (#31650328)
Don't we already have this problem solved via HSTS and particularly the preloaded list? Which is even more secure than doing it via DNS.
Re:RFC 9114 – HTTP/3 by asplake on Wednesday June 08, 2022 @10:38AM (#31668020)
Only after an initial request
Re:RFC 9114 – HTTP/3 by stevekemp on Tuesday June 07, 2022 @12:29AM (#31649920)
Do you mean something like the existing SRV records, or something else?
Re:RFC 9114 – HTTP/3 by billpg on Wednesday June 08, 2022 @11:25AM (#31668749)
Do web browsers look to SRV records with its port field in preference to A records?
Re:RFC 9114 – HTTP/3 by charcircuit on Tuesday June 07, 2022 @12:21AM (#31649881)
SRV records already exist.
Re:RFC 9114 – HTTP/3 by M2Ys4U on Tuesday June 07, 2022 @04:31AM (#31651358)
Yes, but their use isn't defined for HTTP, and browsers don't support using SRV records for resolution.
Re:RFC 9114 – HTTP/3 by charcircuit on Tuesday June 07, 2022 @05:14AM (#31651697)
A records aren't defined either.
Re:RFC 9114 – HTTP/3 by M2Ys4U on Tuesday June 07, 2022 @05:30AM (#31651790)
Indeed, but the SRV resords spec states that they shouldn't be used where the protocol in question doesn't specify their use:

"In general, it is expected that SRV records will be used by clients for applications where the relevant protocol specification indicates that clients should use the SRV record. Such specification MUST define the symbolic name to be used in the Service field of the SRV record as described below. It also MUST include security considerations. Service SRV records SHOULD NOT be used in the absence of such specification."

-- RFC 2782

Re:RFC 9114 – HTTP/3 by bawolff on Monday June 06, 2022 @10:14PM (#31649113)
It really doesn't.
Re:RFC 9114 – HTTP/3 by inopinatus on Monday June 06, 2022 @11:26PM (#31649537)
It really does, but it also already has it via RFC7838 (HTTP Alternative Services / ALTSVC), which is normative for HTTP/3¹, albeit an optional client behaviour. Unfortunately not via DNS; you still have to run the origin on a well-known port if not specified in the URI. Clients supporting ALTSVC are then defined to use them at a requirement level of "should"².

[1] https://datatracker.ietf.org/doc/html/rfc9114#section-3.1.1

[2] https://datatracker.ietf.org/doc/html/rfc7838#section-2.4