Re: Last Call: <draft-ietf-httpbis-connect-tcp-14.txt> (Template-Driven HTTP CONNECT Proxying for TCP) to Proposed Standard

Hi Ben and all,

I have one question about target ambiguity with custom URI templates in
-14. This comment was prepared with AI assistance.

Section 3 imports RFC 9298's template requirements and validation rules.
The following template appears to satisfy those requirements:

  https://proxy.example/masque/{target_host}{target_port}

These two distinct target assignments expand to the same URI:

  target_host=192.0.2.1,  target_port=23
  target_host=192.0.2.12, target_port=3

  https://proxy.example/masque/192.0.2.123

Under Section 3.2, in HTTP/2 and HTTP/3, both therefore produce the same
proxy authority and the same :path, /masque/192.0.2.123. With the same
template and authorization context, and with both targets supported, the
resulting request does not distinguish which target tuple the client
intended.

The default template in Section 5.2 avoids this collision. A service can
also restrict supported targets or reject ambiguous requests. However,
custom templates are permitted, and I have not identified a requirement
that excludes this example. RFC 6570 Section 1.4 also cautions about
reverse matching when template expressions do not provide suitable
delimiters.

Is an accepted CONNECT-TCP request intended to unambiguously identify its
target_host / target_port tuple within the service's supported target set?
If so, is there an existing requirement that excludes this case, or should
ambiguous template configurations or requests be handled explicitly?

This is a specification question, not a report of deployed misrouting or
an authorization bypass. I am not suggesting a particular required remedy.

References:
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-connect-tcp-14#section-3
https://www.rfc-editor.org/rfc/rfc9298.html#section-2
https://www.rfc-editor.org/rfc/rfc6570.html#section-1.4

Thanks,
Antun

On Thu, Sep 17, 2026 at 11:15 PM The IESG <iesg-secretary@ietf.org> wrote:

>
> The IESG has received a request from the HTTP WG (httpbis) to consider the
> following document: - 'Template-Driven HTTP CONNECT Proxying for TCP'
>   <draft-ietf-httpbis-connect-tcp-14.txt> as Proposed Standard
>
> The IESG plans to make a decision in the next few weeks, and solicits final
> comments on this action. Please send substantive comments to the
> last-call@ietf.org mailing lists by 2026-10-01. Exceptionally, comments
> may
> be sent to iesg@ietf.org instead. In either case, please retain the
> beginning
> of the Subject line to allow automated sorting.
>
> Abstract
>
>
>    TCP proxying using HTTP CONNECT has long been part of the core HTTP
>    specification.  However, this proxying functionality has several
>    important deficiencies in modern HTTP environments.  This
>    specification defines an alternative HTTP proxy service configuration
>    for TCP connections.  This configuration is described by a URI
>    Template, similar to the CONNECT-UDP and CONNECT-IP protocols.
>
>
>
>
> The file can be obtained via
> https://datatracker.ietf.org/doc/draft-ietf-httpbis-connect-tcp/
>
>
>
> No IPR declarations have been submitted directly on this I-D.
>
>
>
>
>
>
>

Received on Saturday, 26 September 2026 12:06:50 UTC