MikeBishop / dns-alt-svc

Draft for listing Alt-Svc records in the DNS
Other
70 stars 26 forks source link

TCP Fast Open indication #354

Open Avamander opened 2 years ago

Avamander commented 2 years ago

It would be very useful if HTTPSVC record could indicate TFO support.

There's no other good way to indicate this preference. Previous attempts at "try it everywhere" by some web browsers were (IMHO) too early and and too eager, resulting in very little benefit. Most mobile devices could simply not use it when it was last tried, that has changed by now.

More informed attempts at TFO would significantly increase its usefulness and give the technology a chance to gain adoption.

bemasc commented 2 years ago

This is an interesting idea, but I'm not sure it would help. My impression is that servers (especially web servers) are reliably tolerant of TFO, and the problem is that some network devices are intolerant of TFO. Having a signal from the origin that the server supports TFO wouldn't solve that problem.

Nevertheless, the SvcParam registry is essentially open ("first come first served"), so it is possible to register a codepoint for any extension you would like to see, even if there isn't broad consensus for it. (Please don't abuse this.)

Avamander commented 2 years ago

Yes, middleboxes are concern, but it would still have a benefit in those cases. Both the statistics and falling back for that session would be more accurate. Meaning - broken middlebox detection improves instead of guessing.

Nevertheless, the SvcParam registry is essentially open

How would that process look like, and would it be the best course of action for it to be usable?

bemasc commented 2 years ago

Middlebox statistics are easy(?): just send probes to some test domains with known configurations. The fallback logic seems to be about the same with or without this signal.

If you're interested in pursuing this, I would strongly recommend emailing the tsvarea or tcpm list for feedback first. If there is support, you could write it up as a very short Internet-Draft, and use that draft as the documentation reference in a registration request to IANA.