Re: IIS using Kerberos: Excessive nettwork traffic

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 10/27/05

  • Next message: David Wang [Msft]: "Re: Changing PAssword"
    Date: Wed, 26 Oct 2005 20:20:29 -0700
    
    

    No one says that authentication is cheap. :-)

    I'm not so certain this is a "limitation". I think you are simply looking at
    how Kerberos actually works. The reason it works for SSO and not NTLM is
    because authentication is in the ticket and not the physical connection. The
    ticket can be safely transported/proxied by untrusted intermediaries; the
    connection cannot.

    I'm not certain whether it is possible to configure IE to auto-send the
    Kerberos ticket. Seems like it should and is the only optimization possible
    to remain "Kerberos". But you can optimize the network size of the 401.2
    traffic (clamp down on the custom error file) such that it is not really
    significant.

    -- 
    //David
    IIS
    http://blogs.msdn.com/David.Wang
    This posting is provided "AS IS" with no warranties, and confers no rights.
    //
    "ameneon" <ameneon@gmail.com> wrote in message
    news:1130312027.954956.247320@g49g2000cwa.googlegroups.com...
    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
    

  • Next message: David Wang [Msft]: "Re: Changing PAssword"

    Relevant Pages

    • [UNIX] Vulnerabilities in the Kerberos Version 4 Protocol
      ... Several cryptographic vulnerabilities exist in the basic Kerberos Version ... Kerberos realm and gain any privilege authorized through that Kerberos ... in a realm is sufficient to print any ticket in the realm. ... an attacker can cause the right text to be encrypted in a Kerberos service ...
      (Securiteam)
    • [Full-Disclosure] Vulnerabilities in the Kerberos version 4 protocol
      ... Several cryptographic vulnerabilities exist in the basic Kerberos ... Version 4 protocol that could allow an attacker to impersonate any ... that Kerberos realm. ... then the attacker can fabricate a ticket. ...
      (Full-Disclosure)
    • RE: InitiliazeSecurityContext makes tckt for samaccountname instea
      ... This is not normal behaviour and I have never seen it before. ... any kerberos application that receives the ticket since this ticket is for ... I have a netmon trace of the same KDC request being sent to the DC (from a ...
      (microsoft.public.platformsdk.security)
    • Re: Kerberized CIFS client?
      ... Debugging Kerberos can be a real PITA, as the MIT libs don't show too relevant ... DT>>> Is anyone aware of an alternate means of performing a mount via ... DT>>Try smbnetfs from ports. ... When your ticket expires you ...
      (freebsd-hackers)
    • Kerberised ssh only works if first command after kinit is telnet
      ... I am trying to set up a Kerberised authentication environment. ... FreeBSD 6.1 host. ... The Solaris 10 machine is acting as KDC and is running MIT Kerberos V 1.5.1. ... Ticket etype: des3-cbc-sha1, kvno 1 ...
      (comp.protocols.kerberos)