<?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: Filter for multiple subnets in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/filter-for-multiple-subnets/m-p/217324#M62878</link>
    <description>&lt;P&gt;the syntax will be AND for all the subnets&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(notin A) AND (notin B) AND (notin C) AND (notin D)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can only have 1 subnet per source field, so normally an 'AND' between 2 subnets would create no hits as you can't have both subnets in the same field, but the use of 'not' makes the 'and' an 'or' ("not and not" makes a boolean 'or')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(notin A) AND (notin B) AND (notin C) AND (notin D)&lt;/P&gt;
&lt;P&gt;==&lt;/P&gt;
&lt;P&gt;!&lt;FONT color="#FF0000"&gt;(&lt;/FONT&gt;(in A) OR (in B) OR (in C) OR (in D)&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2018 10:15:16 GMT</pubDate>
    <dc:creator>reaper</dc:creator>
    <dc:date>2018-06-11T10:15:16Z</dc:date>
    <item>
      <title>Filter for multiple subnets</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/filter-for-multiple-subnets/m-p/217258#M62862</link>
      <description>&lt;P&gt;&amp;nbsp;My filter is not working, can you tell me why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;((addr.src notin '172.0.0.0/8') or ( addr.src notin 10.0.0.0/8 ))&amp;nbsp; &amp;nbsp; &amp;nbsp; and&amp;nbsp; &amp;nbsp; &amp;nbsp; ((addr.src notin '180.0.0.0/8') or ( addr.src notin 100.0.0.0/8 ) or ( addr.src notin 200.0.0.0/8 ))&lt;/P&gt;&lt;P&gt;or for easier reading;&lt;/P&gt;&lt;P&gt;(NOT or NOT) and (NOT or NOT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically,&lt;/P&gt;&lt;P&gt;I want to see all traffic that does not source from my internal, AND does not include some of our other IP's&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried a bunch of syntax, but when I do the&amp;nbsp;&lt;SPAN&gt;((addr.src notin '172.0.0.0/8') or ( addr.src notin 10.0.0.0/8 )) (or other stuff), it runs, and returns those subnets anyway&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 00:02:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/filter-for-multiple-subnets/m-p/217258#M62862</guid>
      <dc:creator>ashawapfc</dc:creator>
      <dc:date>2018-06-09T00:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for multiple subnets</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/filter-for-multiple-subnets/m-p/217266#M62863</link>
      <description>&lt;P&gt;Basically you want to exclude traffic that comes from any of those 5 subnets?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(addr.src notin '172.0.0.0/8') and ( addr.src notin 10.0.0.0/8 )&amp;nbsp; and (addr.src notin '180.0.0.0/8') and ( addr.src notin 100.0.0.0/8 ) and ( addr.src notin 200.0.0.0/8 )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;!((addr.src in '172.0.0.0/8') and ( addr.src in 10.0.0.0/8 )&amp;nbsp; and (addr.src in '180.0.0.0/8') and ( addr.src in 100.0.0.0/8 ) and ( addr.src in 200.0.0.0/8 ))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 01:57:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/filter-for-multiple-subnets/m-p/217266#M62863</guid>
      <dc:creator>Raido_Rattameister</dc:creator>
      <dc:date>2018-06-09T01:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for multiple subnets</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/filter-for-multiple-subnets/m-p/217324#M62878</link>
      <description>&lt;P&gt;the syntax will be AND for all the subnets&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(notin A) AND (notin B) AND (notin C) AND (notin D)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can only have 1 subnet per source field, so normally an 'AND' between 2 subnets would create no hits as you can't have both subnets in the same field, but the use of 'not' makes the 'and' an 'or' ("not and not" makes a boolean 'or')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(notin A) AND (notin B) AND (notin C) AND (notin D)&lt;/P&gt;
&lt;P&gt;==&lt;/P&gt;
&lt;P&gt;!&lt;FONT color="#FF0000"&gt;(&lt;/FONT&gt;(in A) OR (in B) OR (in C) OR (in D)&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 10:15:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/filter-for-multiple-subnets/m-p/217324#M62878</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2018-06-11T10:15:16Z</dc:date>
    </item>
  </channel>
</rss>

