cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Who rated this post

L1 Bithead

Just wanted to post on this subject since I appears that PAN has updated the behavior of precedence in URL Filtering Profiles.

On systems running 8.X code, it does appear that the order of precendence follows what is outlined in https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClsmCAC, however, I am running 9.0.6 on my PA-220, and URL Filtering appears to have an additional factor in assigning priority...the source of the list (custom, EDL, pre-defined).

 

I ran a test of this in my lab.  In this example, I'm browsing to "jack.com".  You can see the URL is ultimately categorized as "streaming-media", however there is a list that shows all lists that this URL is a member of...interesting to note, it shows my EDL "URL", but I have this set to "none" in the filter profile, so I would have expected it to not show up, just the same as my custom URL categories, but it's there.

1.log1.JPG

 

 

I have a custom URL category and EDL that both have entry "jack.com"

3.cust-cat.JPG4.edl.JPG

 

 

In my URL filtering profile, I have my custom URL category set to "none".

5.url-filter-cust.JPG

 

 

I have my EDL set to "none".

6.url-filter-edl.JPG

 

 

Per the logs, I know the pre-defined categories of "streaming-media" and "low-risk" were listed, so those are set to "alert".

7.url-filter-stream.JPG8.url-filter-low.JPG

 

 

First, to test the effect of "block" versus "alert" in the same category group, I change "low-risk" to block to see if it will take precedence over "streaming-media".

9.url-filter-low-block.JPG

 

 

It does, as the category is now "low-risk" and the action is "block-url".

10.log2.JPG

 

 

So, with "low-risk" still set to block, I update my EDL entry to "alert" and test traffic again.

11.url-filter-edl-alert.JPG

 

 

Sure enough, the EDL alert took priority over the pre-defined category block.

12.log3.JPG

 

 

Of course, if I set the EDL to "block", it's still the matching category and does block as expected.

13.url-filter-edl-block.JPG14.log4.JPG

 

 

Now, with the pre-defined and EDL categories blocking, I update my custom URL category to "alert".

15.url-filter-cust-alert.JPG

 

 

The traffic is reclassified as the custom category, and the traffic is allowed.

16.log5.JPG

 

 

In the end, my URL filter profile looks like this.

17.final-filter.JPG

 

 

Based on this behavior, it does appear that Palo provides a legend of matching priority based on how the groups are listed in the filtering profile (top down: custom, EDL, pre-defined).

2.url-filter.JPG

 

 

I just wanted to point this out since it does appear that with 8.X code, regardless of the category group, a URL matching any "block" category cannot be overriden, regardless of the category group, but with 9.X, it is now possible.  Personally, I like this feature.  If PAN categorizes a web site to a specific category that I happen to be blocking in a URL filtering profile, I can use a custom category "white list" to allow it, avoiding any need to make a new policy with matching criteria and a different content inspection profile.

 

 

Who rated this post