Symantec Access Management

 View Only
  • 1.  DefaultHostName ACO usage

    Broadcom Employee
    Posted Dec 31, 2012 04:54 PM

    The SiteMinder Web Agent uses the value of the HOST header in an HTTP request to determine the following settings:

    -Agent name
    -Server name
    -Server IP address
    SiteMinder Web Agents only accept HTTP version 1.1 requests, because HTTP versions 0.9 and 1.0 do not use HOST headers. This poses problems for some testing tools that do not send HOST headers, because the Web Agent rejects those requests.

    SiteMinder r6.0 SP6 supports a new Agent Configuration parameter that lets you define a HOST header value. The Web Agent uses this value in any request that does not contain a HOST header.

    To accommodate testing tools that do not send HOST headers

    Open one of the following items:
    -If you are using Central Configuration, open your Agent Configuration Object.
    -If you are using Local Configuration, open your LocalConfig.conf file.

    Add the following parameter:
    DefaultHostName
    Defines a value for the HOST header. Add this parameter to your Agent Configuration Object or LocalConfig.conf file to use a testing or performance tool that sends HTTP version 0.9 or version 1.0 requests (without HOST headers). If this parameter is not set, the Web Agent only accepts HTTP 1.1 requests.

    Default: None (blank)

    Example: webserver.example.com

    Now, the Web Agent substitutes the DefaultHostName value for any HTTP request without a HOST header.

    Recently I have the chance to test this feature in windows 2008 r2 64 bit, IIS 75 6.0 QMR06CR8 64 bits agent. It works great.

    For same simple HTTP 1.0 request such as GET http://hostname

    When DefaultHostName is disabled:
    result
    ---------
    started....WWWConnect::Connect("10.130.238.113","80")\nIP =
    "10.130.238.113:80"\nsource port: 2842\r\n
    REQUEST: **************\nGET http://howeu01-vm64513.ca.com HTTP/1.0\r\n
    Accept: */*\r\n
    Accept-Language: en-US\r\n
    \r\n
    \r\n
    RESPONSE: **************\nHTTP/1.0 500 Internal Server Error\r\n
    Server: Microsoft-IIS\r\n
    Date: Thu, 20 Dec 2012 21:40:58 GMT\r\n
    Content-type: text/html\r\n
    \r\n
    <HEAD><TITLE>500: Server Error [10-0004]</TITLE></HEAD>\n<BODY>\n<H1>500:
    Server Error [10-0004]<H1>\n\n</BODY>\n</HTML>\r\n
    \r\n
    finished.
    "
    When DefaultHostName is enabled:
    Result:
    ------------
    HTTP/1.1 200 OK\r\n
    Content-Type: text/html\r\n
    Last-Modified: Fri, 10 Feb 2012 22:13:11 GMT\r\n
    Accept-Ranges: bytes\r\n
    ETag: "c69dec2c41e8cc1:0"\r\n
    Server: Microsoft-IIS/7.5\r\n
    X-Powered-By: ASP.NET\r\n
    Date: Thu, 20 Dec 2012 21:25:56 GMT\r\n
    Connection: close\r\n
    Content-Length: 689\r\n
    \r\n
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r\n
    <html xmlns="http://www.w3.org/1999/xhtml">\r\n
    <head>\r\n
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
    />\r\n
    <title>IIS7</title>\r\n
    <style type="text/css">\r\n
    <!--\r\n
    body {\r\n
    \tcolor:#000000;\r\n
    \tbackground-color:#B3B3B3;\r\n
    \tmargin:0;\r\n
    }\r\n
    \r\n
    #container {\r\n
    \tmargin-left:auto;\r\n
    \tmargin-right:auto;\r\n
    \ttext-align:center;\r\n
    \t}\r\n
    \r\n
    a img {\r\n
    \tborder:none;\r\n
    }\r\n
    \r\n
    -->\r\n
    </style>\r\n
    </head>\r\n
    <body>\r\n
    <div id="container">\r\n
    <a href="http://go.microsoft.com/fwlink/?linkid=66138&clcid=0x409"><img
    src="welcome.png" alt="IIS7" width="571" height="411" /></a>\r\n
    </div>\r\n
    </body>\r\n
    </html>WWWConnect::Close("10.130.238.113","80")\nclosed source port:
    2669\r\n
    finished.



  • 2.  RE: DefaultHostName ACO usage

     
    Posted Jan 03, 2013 01:32 PM
    Thanks for the tip Hongxu! Happy New Year! :grin: