tcpdump filter not ignoring jail subnet

Beeblebrox zaphod at berentweb.com
Sun Mar 8 11:01:00 UTC 2015


I got out of my logic-loop and solved my filter problem.
Thanks everyone for thier input.

((src net not 192.168.1.0/24 and host not 192.168.2.97 and not ip6) or
host mybsd) and not port (imap or imaps or 6667)

Below syntax is not accepted by tcpdump, btw:
src not (net 192.168.1.0/24 and host 192.1-----)
tcpdump does not seem to accept other keyword between "not" and the variable.

Regards.


More information about the freebsd-net mailing list