- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
06-08-2018 05:02 PM
My filter is not working, can you tell me why?
((addr.src notin '172.0.0.0/8') or ( addr.src notin 10.0.0.0/8 )) and ((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 ))
or for easier reading;
(NOT or NOT) and (NOT or NOT)
Basically,
I want to see all traffic that does not source from my internal, AND does not include some of our other IP's
I have tried a bunch of syntax, but when I do the ((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
06-08-2018 06:57 PM
Basically you want to exclude traffic that comes from any of those 5 subnets?
(addr.src notin '172.0.0.0/8') and ( addr.src notin 10.0.0.0/8 ) 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 )
or
!((addr.src in '172.0.0.0/8') and ( addr.src in 10.0.0.0/8 ) 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 ))
06-11-2018 03:15 AM
the syntax will be AND for all the subnets
(notin A) AND (notin B) AND (notin C) AND (notin D)
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')
(notin A) AND (notin B) AND (notin C) AND (notin D)
==
!((in A) OR (in B) OR (in C) OR (in D))
06-08-2018 06:57 PM
Basically you want to exclude traffic that comes from any of those 5 subnets?
(addr.src notin '172.0.0.0/8') and ( addr.src notin 10.0.0.0/8 ) 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 )
or
!((addr.src in '172.0.0.0/8') and ( addr.src in 10.0.0.0/8 ) 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 ))
06-11-2018 03:15 AM
the syntax will be AND for all the subnets
(notin A) AND (notin B) AND (notin C) AND (notin D)
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')
(notin A) AND (notin B) AND (notin C) AND (notin D)
==
!((in A) OR (in B) OR (in C) OR (in D))
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!