<?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: Security Policy Filter - Affects the IP(s) in Expedition Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/expedition-discussions/security-policy-filter-affects-the-ip-s/m-p/578168#M4954</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/132422"&gt;@ChristopherMarston&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for contacting us and reporting your finding.&lt;/P&gt;
&lt;P&gt;I will conduct further investigation in my lab using test projects. However, it would be greatly appreciated if you could share an export of your Expedition project by opening a TAC case and sending it to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:fwmigrate@paloaltonetworks.com" target="_blank"&gt;fwmigrate@paloaltonetworks.com&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Your cooperation is highly valued.&lt;/P&gt;
&lt;P&gt;Best regards, David&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2024 12:14:25 GMT</pubDate>
    <dc:creator>dpuigdomenec</dc:creator>
    <dc:date>2024-02-23T12:14:25Z</dc:date>
    <item>
      <title>Security Policy Filter - Affects the IP(s)</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/security-policy-filter-affects-the-ip-s/m-p/577114#M4942</link>
      <description>&lt;P&gt;I'm working on business unit segmentation projects so I have to identify rules affecting specific subnets and build a new policy.&amp;nbsp; The policies are normally several thousand rules and sometimes over 15 thousand rules so the "Affects the IP" filter comes in very handy however I've noticed some behaviors which don't seem correct or maybe I'm not understanding the filter is intended to function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an example, If I'm searching for a larger CIDR block e.g. /16 it doesn't match /17 which falls inside of that /16.&amp;nbsp; A filter on /17 doesn't match /18 or /19 but matches all other CIDRs down to /32.&amp;nbsp; /18 doesn't match /19 but matches all others and a filter for /19 doesn't match /20 - /25 but it matches /26 down to /32.&amp;nbsp; When filtering for a /20 it doesn't match /21 - /25 but does match smaller than /25.&amp;nbsp; And so on with filter /21, it doesn't match /22 - /25 but matches remaining smaller CIDR.&amp;nbsp; Once you get down to filtering on /24 it goes back to not matching the next smaller CIDR but matches all others with /29 being the exception.&amp;nbsp; /29 doesn't match /30 or /31 but does match the host address.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are only a few patterns which stand out to me.&amp;nbsp; In most cases the next smaller CIDR isn't matched when it starts with the same 4 octets except for /17 not matching /18 and 19 and once the filtered CIDR is smaller than /25.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We found a type of work around in adding another filter using OR operator and starting or ending IP for the CIDR block being searched.&amp;nbsp; I've added the table below to try and help explain.&amp;nbsp; Sorry for the long post just not easy to explain the behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="519"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="199"&gt;Affects the IP(s) in destination&lt;/TD&gt;
&lt;TD width="320"&gt;No rule match&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;10.38.0.0/16&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;/17&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;10.38.0.0/17&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;/18 or 19&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;10.38.64.0/18&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;/19&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&l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lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;/31&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;10.38.96.86/31&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;/32&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Tue, 13 Feb 2024 11:08:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/security-policy-filter-affects-the-ip-s/m-p/577114#M4942</guid>
      <dc:creator>ChristopherMarston</dc:creator>
      <dc:date>2024-02-13T11:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Security Policy Filter - Affects the IP(s)</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/security-policy-filter-affects-the-ip-s/m-p/578168#M4954</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/132422"&gt;@ChristopherMarston&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for contacting us and reporting your finding.&lt;/P&gt;
&lt;P&gt;I will conduct further investigation in my lab using test projects. However, it would be greatly appreciated if you could share an export of your Expedition project by opening a TAC case and sending it to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:fwmigrate@paloaltonetworks.com" target="_blank"&gt;fwmigrate@paloaltonetworks.com&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Your cooperation is highly valued.&lt;/P&gt;
&lt;P&gt;Best regards, David&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 12:14:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/security-policy-filter-affects-the-ip-s/m-p/578168#M4954</guid>
      <dc:creator>dpuigdomenec</dc:creator>
      <dc:date>2024-02-23T12:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Security Policy Filter - Affects the IP(s)</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/security-policy-filter-affects-the-ip-s/m-p/578185#M4955</link>
      <description>&lt;P&gt;I have a project where I built the rules with relevant address objects so I can reproduce the issue so this policy would not be installed on a Palo firewall.&amp;nbsp; Can I just use any Palo firewall serial number on our contract to open this case and then upload this test project?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 13:56:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/security-policy-filter-affects-the-ip-s/m-p/578185#M4955</guid>
      <dc:creator>ChristopherMarston</dc:creator>
      <dc:date>2024-02-23T13:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Security Policy Filter - Affects the IP(s)</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/security-policy-filter-affects-the-ip-s/m-p/578213#M4956</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/132422"&gt;@ChristopherMarston&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, use any serial. In the ticket please add a reference that it is only required for sharing files purposes and it could be closed.&lt;/P&gt;
&lt;P&gt;Send the TAC case number to fwmigrate@paloaltonetworks.com.&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;David&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 17:27:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/security-policy-filter-affects-the-ip-s/m-p/578213#M4956</guid>
      <dc:creator>dpuigdomenec</dc:creator>
      <dc:date>2024-02-23T17:27:17Z</dc:date>
    </item>
  </channel>
</rss>

