<?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 ASA Urlfiltering Multiple Classes in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-urlfiltering-multiple-classes/m-p/1693442#M529552</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to configure an ASA 5510 so that it performs URL filtering for two different subnets, the Head Office subnet should just block facebook and myspace and the stores group should only be allowed access to the cisco website and wikipedia. I have the following configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;regex STORE-URL-REGEX1 "\.cisco\.com"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;regex STORE-URL-REGEX2 "\.wikipedia\.com"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;regex HO-URL-REGEX0 "\.facebook\.com"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;regex HO-URL-REGEX1 "\.myspace\.com"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;access-list HO-URLFILTER-ACL extended permit tcp 10.0.0.0 255.255.255.0 any eq www&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;access-list STORE-URLFILTER-ACL extended permit tcp 192.168.254.0 255.255.255.0 any eq www&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class-map HO-URLFILTER-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match access-list HO-URLFILTER-ACL&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class-map STORE-URLFILTER-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match access-list STORE-URLFILTER-ACL&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class-map type inspect http match-any HO-URLFILTER-REGEX-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match request header host regex HO-URL-REGEX0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match request header host regex HO-URL-REGEX1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class-map type regex match-any SITE-BLOCKED-REGEX-URLS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match regex STORE-URL-REGEX0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match regex STORE-URL-REGEX1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class-map type inspect http match-any STORE-URLFILTER-REGEX-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match not request header host regex class SITE-BLOCKED-REGEX-URLS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;policy-map type inspect http HO-HTTP-URLFILTER-POLICY&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;parameters&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class HO-URLFILTER-REGEX-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; drop-connection log&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;policy-map type inspect http STORE-HTTP-URLFILTER-POLICY&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;parameters&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class STORE-URLFILTER-REGEX-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; drop-connection log&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;policy-map global_policy&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class HO-URLFILTER-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; inspect http HO-HTTP-URLFILTER-POLICY&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class STORE-URLFILTER-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; inspect http STORE-HTTP-URLFILTER-POLICY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The config works perfectly individually, my issue is that only the first class (either HO-URLFILTER-CLASS or STORE-URLFILTER-CLASS) in the global_policy policy-map matches and is inspected. The class below it doesn't work unless I change the order in the policy map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything I can do to make this work as I described?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 20:48:48 GMT</pubDate>
    <dc:creator>Steven Mills</dc:creator>
    <dc:date>2019-03-11T20:48:48Z</dc:date>
    <item>
      <title>ASA Urlfiltering Multiple Classes</title>
      <link>https://community.cisco.com/t5/network-security/asa-urlfiltering-multiple-classes/m-p/1693442#M529552</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to configure an ASA 5510 so that it performs URL filtering for two different subnets, the Head Office subnet should just block facebook and myspace and the stores group should only be allowed access to the cisco website and wikipedia. I have the following configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;regex STORE-URL-REGEX1 "\.cisco\.com"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;regex STORE-URL-REGEX2 "\.wikipedia\.com"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;regex HO-URL-REGEX0 "\.facebook\.com"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;regex HO-URL-REGEX1 "\.myspace\.com"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;access-list HO-URLFILTER-ACL extended permit tcp 10.0.0.0 255.255.255.0 any eq www&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;access-list STORE-URLFILTER-ACL extended permit tcp 192.168.254.0 255.255.255.0 any eq www&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class-map HO-URLFILTER-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match access-list HO-URLFILTER-ACL&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class-map STORE-URLFILTER-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match access-list STORE-URLFILTER-ACL&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class-map type inspect http match-any HO-URLFILTER-REGEX-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match request header host regex HO-URL-REGEX0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match request header host regex HO-URL-REGEX1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class-map type regex match-any SITE-BLOCKED-REGEX-URLS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match regex STORE-URL-REGEX0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match regex STORE-URL-REGEX1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class-map type inspect http match-any STORE-URLFILTER-REGEX-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;match not request header host regex class SITE-BLOCKED-REGEX-URLS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;policy-map type inspect http HO-HTTP-URLFILTER-POLICY&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;parameters&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class HO-URLFILTER-REGEX-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; drop-connection log&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;policy-map type inspect http STORE-HTTP-URLFILTER-POLICY&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;parameters&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class STORE-URLFILTER-REGEX-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; drop-connection log&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;policy-map global_policy&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class HO-URLFILTER-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; inspect http HO-HTTP-URLFILTER-POLICY&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;class STORE-URLFILTER-CLASS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; inspect http STORE-HTTP-URLFILTER-POLICY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The config works perfectly individually, my issue is that only the first class (either HO-URLFILTER-CLASS or STORE-URLFILTER-CLASS) in the global_policy policy-map matches and is inspected. The class below it doesn't work unless I change the order in the policy map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything I can do to make this work as I described?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 20:48:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-urlfiltering-multiple-classes/m-p/1693442#M529552</guid>
      <dc:creator>Steven Mills</dc:creator>
      <dc:date>2019-03-11T20:48:48Z</dc:date>
    </item>
    <item>
      <title>ASA Urlfiltering Multiple Classes</title>
      <link>https://community.cisco.com/t5/network-security/asa-urlfiltering-multiple-classes/m-p/1693443#M529553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;How about you configure a new policy-map and apply it on the inside interface for one class-map and leave the other in the global policy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-KS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 13:40:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-urlfiltering-multiple-classes/m-p/1693443#M529553</guid>
      <dc:creator>Kureli Sankar</dc:creator>
      <dc:date>2011-06-22T13:40:36Z</dc:date>
    </item>
    <item>
      <title>ASA Urlfiltering Multiple Classes</title>
      <link>https://community.cisco.com/t5/network-security/asa-urlfiltering-multiple-classes/m-p/1693444#M529555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have currently kludged it by applying the Head Office blocking on a 2821 router that is also in the path but is the method I have used with multiple class maps meant to work or can you apply multiple policy-maps to an interface, for instance if I wanted to filter three groups? It is running an older software revision, could it be a bug or is this excpected behaviour?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 20:31:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-urlfiltering-multiple-classes/m-p/1693444#M529555</guid>
      <dc:creator>Steven Mills</dc:creator>
      <dc:date>2011-06-22T20:31:28Z</dc:date>
    </item>
    <item>
      <title>ASA Urlfiltering Multiple Classes</title>
      <link>https://community.cisco.com/t5/network-security/asa-urlfiltering-multiple-classes/m-p/1693445#M529557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The configuration looks good and ideally should work. Based on your description, the behavior does look out of the normal. One thing i would like you to try is instead of applying the 2 class-maps to the global_policy, try appling them to the interface on which the packets come in to the ASA. If you do this, do you still see the same behavior?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be worth running a few debugs and getting a few captures as well as debugs to see what exactly is going on. Before we go to that, let me know what happens with the interface specific plicy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prapanch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2011 21:02:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-urlfiltering-multiple-classes/m-p/1693445#M529557</guid>
      <dc:creator>praprama</dc:creator>
      <dc:date>2011-06-29T21:02:36Z</dc:date>
    </item>
  </channel>
</rss>

