Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[connect-tcp] Discuss limits of multiprotocol templates #2720

Closed
wants to merge 1 commit into from

Conversation

bemasc
Copy link
Contributor

@bemasc bemasc commented Jan 25, 2024

Fixes #2713

{: title="Example multipurpose template for a combined TCP, UDP, and IP proxy and DoH server"}
{: title="Example multipurpose template that allows the client to infer support for TCP, UDP, and IP proxying, and for DNS over HTTPS"}

To allow correct inference of the proxy's capabilities, multipurpose templates for general use MUST only contain variable names specified by the proxy's supported standards. Note that the "connect-ip" protocol has no mandatory variable names, so a proxy's support for "connect-ip" cannot always be inferred from the template's contents.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This statement requires updating RFC 9298, because it adds a new requirement on an implementation that only supports RFC 9298 and 9484. But more importantly, I'm not sure that requirement is a good idea. I'd rather find capabilities through discovery (e.g., draft-schwartz-masque-access-descriptions or draft-pauly-intarea-proxy-config-pvd) rather than inference.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah — the feedback in the PvD document was to make the types more explicit and not just rely on the implicit interpretation of the template. Worth more discussion, I think.

@tfpauly tfpauly added the connect-tcp draft-ietf-httpbis-connect-tcp label Feb 13, 2024
@bemasc
Copy link
Contributor Author

bemasc commented Feb 14, 2024

Closing in favor of #2736

@bemasc bemasc closed this Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connect-tcp draft-ietf-httpbis-connect-tcp
Development

Successfully merging this pull request may close these issues.

connect-tcp: use target_port instead of tcp_port
3 participants