Welcome! Log In Create A New Profile

Advanced

Re: How to Windows auth working on nginx reverse proxy ???

Maxim Dounin
January 09, 2012 09:08AM
Hello!

On Mon, Jan 09, 2012 at 03:00:13AM -0500, cn_nginxer wrote:

> Hello Ryan,
>
> May I ask an very stupide question, what do you mean by nginx is not
> supported back-end keep-alive?

Backend keepalive http connections are supported since nginx 1.1.4, but
it doesn't help to proxy NTLM. See below.

> I checked with wireshark, both NTLM and MD authentication are using the
> same TCP connection, as far as I understand, nginx is just do a forward
> job, so the question is that why nginx could foward the MD request to
> the client but not NTLM request?

NTLM is connection-based and requires the same connection to be
used for other requests from the client. It's not going to work
through http proxy servers as "the same connection for the same
client" isn't guaranteed by http proxy servers. See here for
details:

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/523ae943-5e6a-4200-9103-9808baa00157.mspx?mfr=true

Digest authentication, in contrast, doesn't rely on the same
connection to be used. Instead, client provides data originally
supplied by the server (nonce value) in each request. See here
for details:

http://en.wikipedia.org/wiki/Digest_access_authentication
http://tools.ietf.org/html/rfc2617

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to Windows auth working on nginx reverse proxy ???

flapjack April 08, 2010 03:35PM

Re: How to Windows auth working on nginx reverse proxy ???

Ryan Malayter April 09, 2010 05:58PM

Re: How to Windows auth working on nginx reverse proxy ???

cn_nginxer January 09, 2012 03:00AM

Re: How to Windows auth working on nginx reverse proxy ???

Maxim Dounin January 09, 2012 09:08AM

Re: How to Windows auth working on nginx reverse proxy ???

cn_nginxer January 09, 2012 10:27AM

Re: How to Windows auth working on nginx reverse proxy ???

cn_nginxer January 09, 2012 09:23PM

Re: How to Windows auth working on nginx reverse proxy ???

blindlf February 03, 2012 09:24AM

Re: How to Windows auth working on nginx reverse proxy ???

cn_nginxer February 03, 2012 10:15AM

Re: How to Windows auth working on nginx reverse proxy ???

cehes February 16, 2016 03:37AM

Re: How to Windows auth working on nginx reverse proxy ???

itpp2012 February 16, 2016 03:47AM

Re: How to Windows auth working on nginx reverse proxy ???

cehes February 16, 2016 05:04AM

Re: How to Windows auth working on nginx reverse proxy ???

hheiko February 16, 2016 07:18AM

Re: How to Windows auth working on nginx reverse proxy ???

cehes February 16, 2016 11:59AM

Re: How to Windows auth working on nginx reverse proxy ???

Maxim Dounin February 16, 2016 12:16PM

Re: How to Windows auth working on nginx reverse proxy ???

cehes February 17, 2016 05:34AM

Re: How to Windows auth working on nginx reverse proxy ???

Maxim Dounin February 17, 2016 02:30PM

Re: How to Windows auth working on nginx reverse proxy ???

cehes February 18, 2016 05:20AM

Re: How to Windows auth working on nginx reverse proxy ???

Maxim Dounin February 18, 2016 10:26AM

Re: How to Windows auth working on nginx reverse proxy ???

cehes February 18, 2016 11:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 105
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready