<?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 Problem with HTTP inspection. in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/problem-with-http-inspection/m-p/1878549#M492625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That solution makes sense.&lt;/P&gt;&lt;P&gt;I'll try that in the next days and let you know if it fixe my problem or not.&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2011 20:02:32 GMT</pubDate>
    <dc:creator>gloubier</dc:creator>
    <dc:date>2011-12-08T20:02:32Z</dc:date>
    <item>
      <title>Problem with HTTP inspection.</title>
      <link>https://community.cisco.com/t5/network-security/problem-with-http-inspection/m-p/1878547#M492623</link>
      <description>&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I would like to find a way to give access to one website ( let say cisco.com ), give access to whatever website that have the word "test" in the URL and block the access to all the other websites for only one server ( let say the_server ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Here the config I have now :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;regex cisco.com "\.cisco\.com"&lt;/P&gt;&lt;P&gt;regex test "test"&lt;/P&gt;&lt;P&gt;regex all ".*"&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;access-list acl_test extended permit tcp object GLOUBIER any eq www &lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;class-map inside-test&lt;/P&gt;&lt;P&gt;match access-list acl_test&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;class-map type inspect http match-all http_url_filtering_test&lt;/P&gt;&lt;P&gt;match request header host regex cisco.com&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;class-map type inspect http match-all http_url_filtering_test2&lt;/P&gt;&lt;P&gt;match request uri regex test&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;class-map type inspect http match-all http_url_filtering_test3&lt;/P&gt;&lt;P&gt;match request header host regex all&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;policy-map type inspect http http_url_inspection_test&lt;/P&gt;&lt;P&gt;parameters&lt;/P&gt;&lt;P&gt;class http_url_filtering_test&lt;/P&gt;&lt;P&gt;&amp;nbsp; log&lt;/P&gt;&lt;P&gt;class http_url_filtering_test2&lt;/P&gt;&lt;P&gt;&amp;nbsp; log&lt;/P&gt;&lt;P&gt;class http_url_filtering_test3&lt;/P&gt;&lt;P&gt;drop-connection&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;policy-map inside-policy&lt;/P&gt;&lt;P&gt;class inside-test&lt;/P&gt;&lt;P&gt;&amp;nbsp; inspect http http_url_inspection_test&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those rules aren't working ( everything is blocked ), but if I'm try each class-map individualy, it's working fine.&lt;/P&gt;&lt;P&gt;Is there a way to make the 3 rules ( allow cisco.com, allow word test in URL, block the rest ) work together ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answers and help.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 21:54:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/problem-with-http-inspection/m-p/1878547#M492623</guid>
      <dc:creator>gloubier</dc:creator>
      <dc:date>2019-03-11T21:54:12Z</dc:date>
    </item>
    <item>
      <title>Problem with HTTP inspection.</title>
      <link>https://community.cisco.com/t5/network-security/problem-with-http-inspection/m-p/1878548#M492624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest flipping your logic around to drop everything that doesn't match your allowed requests like this: &lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;regex cisco.com "cisco\.com"&lt;/P&gt;&lt;P&gt;regex test "test"&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;access-list acl_test extended permit tcp object GLOUBIER any eq www &lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;class-map inside-test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; match access-list acl_test&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;class-map type inspect http match-all filter-class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; match not request header host regex cisco.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; match not request uri regex test&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;policy-map type inspect http filter-policy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; parameters&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class filter-class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop-connection&lt;/P&gt;&lt;P&gt;policy-map inside-policy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class inside-test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inspect http filter-policy&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;That makes the config a bit more manageable and should do what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:17:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/problem-with-http-inspection/m-p/1878548#M492624</guid>
      <dc:creator>mirober2</dc:creator>
      <dc:date>2011-11-30T18:17:11Z</dc:date>
    </item>
    <item>
      <title>Problem with HTTP inspection.</title>
      <link>https://community.cisco.com/t5/network-security/problem-with-http-inspection/m-p/1878549#M492625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That solution makes sense.&lt;/P&gt;&lt;P&gt;I'll try that in the next days and let you know if it fixe my problem or not.&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 20:02:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/problem-with-http-inspection/m-p/1878549#M492625</guid>
      <dc:creator>gloubier</dc:creator>
      <dc:date>2011-12-08T20:02:32Z</dc:date>
    </item>
  </channel>
</rss>

