Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2023 15:59:26 +0300
From:      Perttu Laine <plaine@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Re: Is there a FreeBSD equivalent of 'tcpdump -i any' from Linux?
Message-ID:  <CANNwXrZaXgtjkKQNQYNszdsjnkW2Dxh6YvALSy=yBCyW0d5YvA@mail.gmail.com>
In-Reply-To: <826851ce2108b23515f81a8aca8d9b0e@vvelox.net>
References:  <826851ce2108b23515f81a8aca8d9b0e@vvelox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 1, 2023 at 11:38=E2=80=AFPM Zane C B-H <v.velox@vvelox.net> wro=
te:
>
> So what is a good way to get all packets passing through that the kernel
> currently sees? Apparently any is not support on non-Linux systems and
> pflog would require adding log to all rules. Similarly only logs packets
> that match a rule.
>

tcpdump -i em0 & tcpdump -i em1 & tcpdump -i em2

should work

--=20
Perttu Laine, Kirvesmiespalvelu Laine Ky



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