IIS using Kerberos: Excessive nettwork traffic
From: ameneon (ameneon_at_gmail.com)
Date: 10/26/05
- Previous message: Bernard Cheah [MVP]: "Re: Changing from self-signed certificate to a trusted CA"
- Next in thread: David Wang [Msft]: "Re: IIS using Kerberos: Excessive nettwork traffic"
- Reply: David Wang [Msft]: "Re: IIS using Kerberos: Excessive nettwork traffic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 26 Oct 2005 00:33:47 -0700
Hi,
We are currently switching from NTLM to kerberos on a large portal
installation which uses the IIS for SSO purposes. This is a clustered
solution so we've set a domain users as the owner of the IIS app pool
and configured the SPN so it can issue tickets on the cluster address.
We've verified that kerberos is indeed being used(kerbtray, ethereal).
After looking at the network traffic, I can see that for each url that
is requested a kerberos reauthentication is done.
To examplify:
IE sends request
GET /images/photo.jpg HTTP/1.1
Server answers
HTTP 401.2 Unauthorized
WWW-Authenticate: Negotiate
WWW-Authenticate: Kerberos
IE retries the request, now with kerberos ticket
GET /images/photo.jpg HTTP/1.1
Authorization Negotiate <KERBEROS TICKET>
Server returns content
HTTP 200
<actual data>
This is done eventhough it use the same TCP connection as the last
request to the same server (so in this case NTLM actually performs
better).
Since the portal contains of many small files (and iframe), this
actually means that the client sends more data than he received if the
ticket is to be trusted for delegation (we've removed that now and the
kerberos ticket size went from 6000 bytes to 2500 bytes, so that helped
a bit).
I've looked at the various troubleshooting guides from Microsoft on
kerberos, but haven't really found much data for who it is performed
over HTTP.
Is there any way around this limitation?
If not, is it possible to configure IE so that it sends the kerberos
ticket on the first request, so that we avoid the extra round trip?
Regards
- Previous message: Bernard Cheah [MVP]: "Re: Changing from self-signed certificate to a trusted CA"
- Next in thread: David Wang [Msft]: "Re: IIS using Kerberos: Excessive nettwork traffic"
- Reply: David Wang [Msft]: "Re: IIS using Kerberos: Excessive nettwork traffic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|