Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2015 12:42:32 +0200
From:      Beeblebrox <zaphod@berentweb.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: tcpdump filter not ignoring jail subnet
Message-ID:  <20150308124232.1c3e453d@rsbsd.rsb>
In-Reply-To: <20150306090919.0d221096@rsbsd.rsb>
References:  <20150305202050.24042973@rsbsd.rsb> <CAN6yY1uQdSgUTvSeYqUJZr=FUGBUtCvgpB4RpfEWsF52epS2hQ@mail.gmail.com> <20150306090919.0d221096@rsbsd.rsb>

next in thread | previous in thread | raw e-mail | index | archive | help
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 variabl=
e.

Regards.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150308124232.1c3e453d>