https://github.com/Security-Onion-Solutions/security-onion/wiki/VLAN-Traffic
try something like this: !(tcp port 22)
or: !(tcp dst port 22)
reference: http://biot.com/capstats/bpf.html
Hey Doug,
Thanks for response.. I got it working by simply putting !(port 22) but if I understand correctly that means I am ignoring all TCP and UDP traffic from source and destination port 22. I want to be more explicit by using !(tcp dst port 22) but it doesn't seem to like that. I got the syntax from http://biot.com/capstats/bpf.html.
Thanks,
Matt May
*** Update ***
I got it working with !(port ssh), !(tcp port ssh), and !(tcp port 22). I also got it working with the following statement !(tcp src port 22) && !(tcp dst port 22), but this doesn't make sense because SSH client ports change..
I guess you need both sides of it because it sees port 22 as the src port for the server when it replies. Thanks for the help guys.