* HTTP error 511 [Was: Secure (https) proxy authentification]
[not found] ` <4ec05cf797322715a960743aeec0a48b.squirrel@arekh.dyndns.org>
@ 2012-02-21 8:58 ` Nicolas Mailhot
2012-02-21 9:28 ` Julian Reschke
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Mailhot @ 2012-02-21 8:58 UTC (permalink / raw)
To: Nicolas Mailhot; +Cc: squid3, ietf-http-wg, Jeff King, git, Daniel Stenberg
Le Dim 19 février 2012 11:22, Nicolas Mailhot a écrit :
> 511 is exactly what I need. I was not aware of it. Is it simplemented in any
> browser yet? Where should I point the browser writers to get it implemented?
>
> http://tools.ietf.org/id/draft-nottingham-http-new-status-04.txt ?
I take that back. 511 is almost exactly what we need. However, when I pointed
the authors of some of the tools that pass through our proxy to it (curl, git)
they told me they could not parse html code in their tools, so they really
need a location (or similar) field containing the address of the
authentication portal to communicate it to the user. Without this field, they
can only stop with 'Network authentication is needed' instead of 'Please open
<url> in your browser to proceed'.
http://article.gmane.org/gmane.comp.version-control.git/191085
http://article.gmane.org/gmane.comp.version-control.git/191087
http://article.gmane.org/gmane.comp.version-control.git/191086
(the nearest thing there is in the spec is the url in meta, but it's only in
the example, not mandatory, and no one will write code for something they can
not be sure will exist)
We'd like to support those tools properly as their users' previous clumsy
attempts to navigate our current non-standard redirection method resulted in
internal security investigations.
It is a problem in our setup as we only block some URLs (others are allowed
transparently without auth), and we use several proxy farms in different
physical sites (to avoid spofs). So just opening any url in a browser won't
trigger an authentication request (the url may not be blocked, or the browser
may pass through a gateway where the user IP is already authorized, while
git/etc tried to access through another one).
Could you please revise the error 511 definition to add such a field ?
Regards,
--
Nicolas Mailhot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HTTP error 511 [Was: Secure (https) proxy authentification]
2012-02-21 8:58 ` HTTP error 511 [Was: Secure (https) proxy authentification] Nicolas Mailhot
@ 2012-02-21 9:28 ` Julian Reschke
2012-02-21 9:44 ` Nicolas Mailhot
0 siblings, 1 reply; 3+ messages in thread
From: Julian Reschke @ 2012-02-21 9:28 UTC (permalink / raw)
To: Nicolas Mailhot; +Cc: squid3, ietf-http-wg, Jeff King, git, Daniel Stenberg
On 2012-02-21 09:58, Nicolas Mailhot wrote:
>
> Le Dim 19 février 2012 11:22, Nicolas Mailhot a écrit :
>
>> 511 is exactly what I need. I was not aware of it. Is it simplemented in any
>> browser yet? Where should I point the browser writers to get it implemented?
>>
>> http://tools.ietf.org/id/draft-nottingham-http-new-status-04.txt ?
>
> I take that back. 511 is almost exactly what we need. However, when I pointed
> the authors of some of the tools that pass through our proxy to it (curl, git)
> they told me they could not parse html code in their tools, so they really
> need a location (or similar) field containing the address of the
> authentication portal to communicate it to the user. Without this field, they
> can only stop with 'Network authentication is needed' instead of 'Please open
> <url> in your browser to proceed'.
Yes. The definition of status code 511 did not attempt to solve more
problems than that.
> http://article.gmane.org/gmane.comp.version-control.git/191085
> http://article.gmane.org/gmane.comp.version-control.git/191087
> http://article.gmane.org/gmane.comp.version-control.git/191086
>
> (the nearest thing there is in the spec is the url in meta, but it's only in
> the example, not mandatory, and no one will write code for something they can
> not be sure will exist)
>
> We'd like to support those tools properly as their users' previous clumsy
> attempts to navigate our current non-standard redirection method resulted in
> internal security investigations.
>
> It is a problem in our setup as we only block some URLs (others are allowed
> transparently without auth), and we use several proxy farms in different
> physical sites (to avoid spofs). So just opening any url in a browser won't
> trigger an authentication request (the url may not be blocked, or the browser
> may pass through a gateway where the user IP is already authorized, while
> git/etc tried to access through another one).
>
> Could you please revise the error 511 definition to add such a field ?
The specification has already been approved, so it's too late to make
more than editorial changes.
Best regards, Julian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HTTP error 511 [Was: Secure (https) proxy authentification]
2012-02-21 9:28 ` Julian Reschke
@ 2012-02-21 9:44 ` Nicolas Mailhot
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Mailhot @ 2012-02-21 9:44 UTC (permalink / raw)
To: Julian Reschke; +Cc: squid3, ietf-http-wg, Jeff King, git, Daniel Stenberg, git
Le Mar 21 février 2012 10:28, Julian Reschke a écrit :
> On 2012-02-21 09:58, Nicolas Mailhot wrote:
>> Could you please revise the error 511 definition to add such a field ?
>
> The specification has already been approved, so it's too late to make
> more than editorial changes.
I know it has been approved, and we'll go with it as is for now on our network.
However, could it be extended to add this location field later please? (taking
into account the tool authors' feedback)
Best regards,
--
Nicolas Mailhot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-21 9:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <009e3177ab4b0f3de7ea47fa17118458.squirrel@arekh.dyndns.org>
[not found] ` <689660A9-8EAD-4EE6-8B4D-401E73F13941@bblfish.net>
[not found] ` <4ec05cf797322715a960743aeec0a48b.squirrel@arekh.dyndns.org>
2012-02-21 8:58 ` HTTP error 511 [Was: Secure (https) proxy authentification] Nicolas Mailhot
2012-02-21 9:28 ` Julian Reschke
2012-02-21 9:44 ` Nicolas Mailhot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).