<?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: perform action based on http method. in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/perform-action-based-on-http-method/m-p/243336#M3473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clayton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are doing a "GET" then they should not hit the rule with the "TRACE" header field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Dec 2003 21:08:13 GMT</pubDate>
    <dc:creator>stevehall</dc:creator>
    <dc:date>2003-12-29T21:08:13Z</dc:date>
    <item>
      <title>perform action based on http method.</title>
      <link>https://community.cisco.com/t5/application-networking/perform-action-based-on-http-method/m-p/243333#M3470</link>
      <description>&lt;P&gt;I've not been able to find a way to switch traffic based on http method.  For example, I want to essentially drop all http traffic using the TRACE method.  I don't think that a header-field with the request-line of "trace" would work.  That would seem to apply more to specific content someone was trying to get vs. the http method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know of a way to do what I'm looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2003 18:44:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/perform-action-based-on-http-method/m-p/243333#M3470</guid>
      <dc:creator>clayton-price</dc:creator>
      <dc:date>2003-12-29T18:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: perform action based on http method.</title>
      <link>https://community.cisco.com/t5/application-networking/perform-action-based-on-http-method/m-p/243334#M3471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the request line should work.  To realize that, you must realize that a request line contains something like the following (without the quotes):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"GET /index.html HTTP/1.0"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested this real fast in the lab, but sending a redirect instead of dropping, so I could tell it was working, and it worked..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can configure the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!************************** SERVICE **************************&lt;/P&gt;&lt;P&gt;service dummy&lt;/P&gt;&lt;P&gt;  ip address 10.10.10.10&lt;/P&gt;&lt;P&gt;  keepalive type none&lt;/P&gt;&lt;P&gt;  active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!********************* HEADER FIELD GROUP *********************&lt;/P&gt;&lt;P&gt;header-field-group trace-match&lt;/P&gt;&lt;P&gt;  header-field .ida request-line contain "TRACE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!*************************** OWNER ***************************&lt;/P&gt;&lt;P&gt;owner myrule&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  content block-trace&lt;/P&gt;&lt;P&gt;    vip address 2.3.4.5&lt;/P&gt;&lt;P&gt;    protocol tcp&lt;/P&gt;&lt;P&gt;    port 80&lt;/P&gt;&lt;P&gt;    url "/*"&lt;/P&gt;&lt;P&gt;    header-field-rule .ida weight 0&lt;/P&gt;&lt;P&gt;    add service dummy&lt;/P&gt;&lt;P&gt;    active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course, use your own VIP, instead of 2.3.4.5.  Also, you can put a search length on the header-group so you will not catch anyone who puts "TRACE" in the url...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;header-field .ida request-line contain "TRACE" 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if that does the trick or not!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2003 19:47:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/perform-action-based-on-http-method/m-p/243334#M3471</guid>
      <dc:creator>stevehall</dc:creator>
      <dc:date>2003-12-29T19:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: perform action based on http method.</title>
      <link>https://community.cisco.com/t5/application-networking/perform-action-based-on-http-method/m-p/243335#M3472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Steve!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So even if it is not an HTTP GET that they are performing it should work? I'm using header-fields to block nimda and code red etc, but all of those use an HTTP GET instead of HTTP TRACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll give it a shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2003 20:19:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/perform-action-based-on-http-method/m-p/243335#M3472</guid>
      <dc:creator>clayton-price</dc:creator>
      <dc:date>2003-12-29T20:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: perform action based on http method.</title>
      <link>https://community.cisco.com/t5/application-networking/perform-action-based-on-http-method/m-p/243336#M3473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clayton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are doing a "GET" then they should not hit the rule with the "TRACE" header field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2003 21:08:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/perform-action-based-on-http-method/m-p/243336#M3473</guid>
      <dc:creator>stevehall</dc:creator>
      <dc:date>2003-12-29T21:08:13Z</dc:date>
    </item>
  </channel>
</rss>

