reverse filter
Posted: Sun Feb 09, 2020 4:44 pm
I'm trying to print traffic that does NOT including specific IP or port but couldn't seem to work
I'd like something like: all traffic from source or port X where destination it is NOT $ip, in Unix world you'd do grep -v
The followings does NOT work, what am I doing wrong?
I'd like something like: all traffic from source or port X where destination it is NOT $ip, in Unix world you'd do grep -v
The followings does NOT work, what am I doing wrong?
Code: Select all
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address!~"8.8.8.8"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address~!"8.8.8.8"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address!="8.8.8.8"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address=!"8.8.8.8"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address!~":53"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address~!":53"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address!=":53"
ip firewall connection print interval=1 where src-address~"10.10.1.29" and dst-address=!":53"