Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2023 16:15:53 +0300
From:      Perttu Laine <plaine@gmail.com>
To:        "Michael P. Soulier" <msoulier@digitaltorque.ca>, freebsd-questions@freebsd.org,  net@freebsd.org
Subject:   Re: tcpdump on 'any' device
Message-ID:  <CANNwXrY2YTx68U=Aey0b2J-Zo3RBqrAqoeeNpzqP5rWAjs_HJw@mail.gmail.com>
In-Reply-To: <fb6605670605101927r624bc0d4m794fceb9b5a3acf8@mail.gmail.com>
References:  <fb6605670605101927r624bc0d4m794fceb9b5a3acf8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
tcpdump -i em0 & tcpdump -i em1 & tcpdump -em2

And so on. Should work.

- kpn

On Thu, May 11, 2006 at 5:55=E2=80=AFAM Michael P. Soulier
<msoulier@digitaltorque.ca> wrote:
>
> Hello,
>
> I'm using to running tcpdump like "tcpdump -i any -nn <pattern>".
>
> But, when I try to use the 'any' device on FreeBSD, I get this.
>
> [root@kanga isc-dhcp3-server]# tcpdump -i any -nn tcp port 22
> tcpdump: BIOCSETIF: any: Device not configured
>
> Can this not be done on FreeBSD?
>

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

And so on. Should work.

- kpn

--=20
Perttu Laine, Kirvesmiespalvelu Laine Ky



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