<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cookie question in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245161#M25840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Its Do-able&lt;/P&gt;&lt;P&gt;2. Use a sniffer check the static portion of Jsession-ID (usually its 10 bytes from offset 53). Following is the config for offset53,length10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sticky http-cookie JSESSIONID stitcky1&lt;/P&gt;&lt;P&gt;  cookie offset 53 length 10&lt;/P&gt;&lt;P&gt;  serverfarm APP1-SF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map type loadbalance first-match APP1-POLICY&lt;/P&gt;&lt;P&gt;  class class-default&lt;/P&gt;&lt;P&gt;    sticky-serverfarm stitcky1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;3. As I mentioned earlier, use sniffer check the size of the header for regular traffic. If its more than the default ACE value then adjust it using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter-map type http APP1_PARAM_MAP&lt;/P&gt;&lt;P&gt;set header-maxparse-length &lt;HEADER length=""&gt;&lt;/HEADER&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. By default packet is dropped &amp;amp; RST is sent by ACE. If you want to change this behavior then use "length-exceed continue" to allow such packets through ACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2009 06:45:56 GMT</pubDate>
    <dc:creator>Syed Iftekhar Ahmed</dc:creator>
    <dc:date>2009-04-03T06:45:56Z</dc:date>
    <item>
      <title>Cookie question</title>
      <link>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245156#M25835</link>
      <description>&lt;P&gt;folks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have cisco ACE blade and I have 2 questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Size of HTTP header/cookie the LB can accept to maintain the stickiness, is there any size limitation for cookie size?&lt;/P&gt;&lt;P&gt;3. Any fallback for stickiness if it doesn't support large header/cookie size&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2009 21:32:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245156#M25835</guid>
      <dc:creator>kirit_patel</dc:creator>
      <dc:date>2009-04-02T21:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cookie question</title>
      <link>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245157#M25836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By Default ACE can parse header of 4K Bytes . This default value can be changed using a http type parameter map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The maximum an ACE can parse is 64K.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is an example to change it to maximum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter-map type http APP1_PARAM_MAP&lt;/P&gt;&lt;P&gt; set header-maxparse-length 65535&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then apply this parameter-map to the policy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map multi-match xyz&lt;/P&gt;&lt;P&gt; class APP1&lt;/P&gt;&lt;P&gt;   loadbalance vip inservice&lt;/P&gt;&lt;P&gt;   loadbalance policy xxx&lt;/P&gt;&lt;P&gt;   loadbalance vip icmp-reply&lt;/P&gt;&lt;P&gt;   appl-parameter http advanced-options APP1_PARAM_MAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 21:45:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245157#M25836</guid>
      <dc:creator>Syed Iftekhar Ahmed</dc:creator>
      <dc:date>2009-04-02T21:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cookie question</title>
      <link>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245158#M25837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;syed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If incase the http header exceeds 4kbytes what will happen to the persistence? Does it fall back to sticky by IP? &lt;/P&gt;&lt;P&gt;Is there a way we can setup session using ASP.NET session ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 01:03:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245158#M25837</guid>
      <dc:creator>kirit_patel</dc:creator>
      <dc:date>2009-04-03T01:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cookie question</title>
      <link>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245159#M25838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a cookie, HTTP header, or URL&lt;/P&gt;&lt;P&gt;exceeds the default value, the ACE drops the packet and sends a RST&lt;/P&gt;&lt;P&gt;(reset) to the client browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This behavior can be changed using "length-exceed continue", however&lt;/P&gt;&lt;P&gt;I dont recommend this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its better to increase the Header parse length to the header length expected by your app. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 01:25:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245159#M25838</guid>
      <dc:creator>Syed Iftekhar Ahmed</dc:creator>
      <dc:date>2009-04-03T01:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cookie question</title>
      <link>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245160#M25839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;syed thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The client is asking for following and asking if it can be configured &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Verify that the load balancer (LB) is configured to load balance jpeg files. &lt;/P&gt;&lt;P&gt;2. Review the configuration of the LB; the load balancer should be configured to balance requests based on the ASP.Net session id of the request. &lt;/P&gt;&lt;P&gt;3. Define the maximum size of HTTP header the LB is configured to handle.&lt;/P&gt;&lt;P&gt;4. Define the LB fallback configuration if the HTTP header size is exceeded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my current config:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;serverfarm host xxx.x.xxx.xx-443&lt;/P&gt;&lt;P&gt;  probe TCP_443&lt;/P&gt;&lt;P&gt;  rserver nj09app515 443&lt;/P&gt;&lt;P&gt;    inservice&lt;/P&gt;&lt;P&gt;  rserver nj09app517&lt;/P&gt;&lt;P&gt;    inservice&lt;/P&gt;&lt;P&gt;serverfarm host xxx.x.xxx.xx-80&lt;/P&gt;&lt;P&gt;  probe TCP_NEW_80&lt;/P&gt;&lt;P&gt;  rserver nj09app515 80&lt;/P&gt;&lt;P&gt;    inservice&lt;/P&gt;&lt;P&gt;  rserver nj09app517 80&lt;/P&gt;&lt;P&gt;    inservice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sticky http-cookie INF_COOKIE xxx.x.xxx.xx-80_STICKY&lt;/P&gt;&lt;P&gt;  cookie insert&lt;/P&gt;&lt;P&gt;  timeout 30&lt;/P&gt;&lt;P&gt;  replicate sticky&lt;/P&gt;&lt;P&gt;  serverfarm xxx.x.xxx.xx-80&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sticky ip-netmask 255.255.255.0 address source xxx.x.xxx.xx-443_STICKYIP&lt;/P&gt;&lt;P&gt;  replicate sticky&lt;/P&gt;&lt;P&gt;  serverfarm 204.8.132.74-443&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map match-all xxx.x.xxx-443_CLASS&lt;/P&gt;&lt;P&gt;  2 match virtual-address xxx.x.xxx.xx tcp eq https class-map match-all xxx.x.xxx.xx-80_CLASS&lt;/P&gt;&lt;P&gt;  2 match virtual-address xxx.x.xxx.xx tcp eq www&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 01:40:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245160#M25839</guid>
      <dc:creator>kirit_patel</dc:creator>
      <dc:date>2009-04-03T01:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cookie question</title>
      <link>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245161#M25840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Its Do-able&lt;/P&gt;&lt;P&gt;2. Use a sniffer check the static portion of Jsession-ID (usually its 10 bytes from offset 53). Following is the config for offset53,length10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sticky http-cookie JSESSIONID stitcky1&lt;/P&gt;&lt;P&gt;  cookie offset 53 length 10&lt;/P&gt;&lt;P&gt;  serverfarm APP1-SF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map type loadbalance first-match APP1-POLICY&lt;/P&gt;&lt;P&gt;  class class-default&lt;/P&gt;&lt;P&gt;    sticky-serverfarm stitcky1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;3. As I mentioned earlier, use sniffer check the size of the header for regular traffic. If its more than the default ACE value then adjust it using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter-map type http APP1_PARAM_MAP&lt;/P&gt;&lt;P&gt;set header-maxparse-length &lt;HEADER length=""&gt;&lt;/HEADER&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. By default packet is dropped &amp;amp; RST is sent by ACE. If you want to change this behavior then use "length-exceed continue" to allow such packets through ACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 06:45:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/cookie-question/m-p/1245161#M25840</guid>
      <dc:creator>Syed Iftekhar Ahmed</dc:creator>
      <dc:date>2009-04-03T06:45:56Z</dc:date>
    </item>
  </channel>
</rss>

