W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2003

Re: Chained proxies, persistent connections, authentication

From: Robert Collins <robertc@squid-cache.org>
Date: Fri, 24 Oct 2003 19:06:26 +1000
To: Duane Wessels <wessels@packet-pushers.com>
Cc: ietf-http-wg@w3.org
Message-Id: <1066986385.836.43.camel@localhost>
On Fri, 2003-10-24 at 06:50, Duane Wessels wrote:
> > I don't recall how it was determinted that Proxy1 was forwarding proxy
> > authentication headers to Proxy2. Sans a tcp/ip trace or comprehensive
> 
> FYI, this is a feature of Squid.  An admin can configure Squid to
> forward the Proxy-Authorization header (without consuming it).
> 
> I would suggest that in this particular case, since both Squid and
> "proxy2" are breaking the rules, the problem is solvable by disabling
> server-side persistent connections in Squid.

Finally got time to contribute to the thread. Firstly, rfc 2616 14.34
allows squids behaviour in forwarding the authentication details.

The ntlm/kerberos tcp session based authentication used by MS proxies
(and squid has an option in 2.5 and above) isn't compatible with the
base HTTP spec. However there is an expired I-D (one url for it is 
http://216.239.57.104/search?q=cache:Fcb67r9QFF4J:www.globecom.net/ietf/draft/draft-brezak-spnego-http-03.html+SPNEGO+http+draft&hl=en&ie=UTF-8)
the draft was brezak-spnego-http.

That draft described a new header "Proxy-support:
Session-Based-Authentication" for proxies to use to indicate to clients
that they support the connection semantics needed to operate correctly
with such upstream servers (proxies where not documented, but we've
found MSIE uses the same mechanism with proxies as servers, insofar as
the authentication is concerned - we haven't tested the proxy-support
header.

Squid doesn't issue the Proxy-support header, and if (as it should be)
it's listed in the connection header by the upstream proxy, then squid
would strip it. However, as we don't support the connection semantics to
use NTLM or kerberos through squid, in recent squid 2.5 releases we
filter the incompatible authentication headers.

So, I'd suggest that the user has an older squid release, as a newer
release wouldn't show these symptoms.

Rob

-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Received on Friday, 24 October 2003 05:13:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:49:25 GMT