1 Mar 2012 01:07
Re: WG Review: Recharter of Hypertext Transfer Protocol Bis (httpbis)
On 1/03/2012 12:21 p.m., Henrik Nordström wrote: > tor 2012-03-01 klockan 11:57 +1300 skrev Adrien de Croy: > >> that depends on proxy design. If the challenges and responses are going >> over the same TCP connection it's pretty simple. > I won't go into this. HTTP is message oriented, not connection oriented. I'm not 100% convinced. Esp with auth. Even disregarding NTLM, any time you have a challenge and response, if the response comes to a server over a different TCP connection, then I think a lot of implementations will break. Maybe therefore they are poorly designed. If for instance multiple proxy clients are multiplexed over a pool of connections between the proxy and a server, so that subsequent requests on a connection to a server can be for any proxy client, then the server's job of maintaining association of credentials, or deciding when to issue a challenge is made much more difficult than if it assumes the connection is for only 1 user. Maybe if assuming 1 connection = 1 user is broken, it should be explicitly warned about in the spec. The alternative though is either the server has to challenge every request, or the auth tokens submitted by clients can be used without round-trips, or some other token needs to be stored and looked up by the server in global (i.e. non-connection-oriented) memory. Basic fits there, but does Digest? NTLM certainly doesn't of course. > >> the main area we see the problem is actually not in proxy auth, but when(Continue reading)
RSS Feed