How to listen all interfaces on
> tcpdump -i any tcpdump: any: No such device exists (BIOCSETIF failed: Device not configured)
(I would like to listen ICMP)
From the tcpdump man page:
An interface argument of "all" or "pktap,all" can be used to capture packets from all interfaces, including loopback and tunnel interfaces.
Therefore you can simply do, for example:
tcpdump -i all tcp port 80
If you don't specify the -i flag, then a set of all interfaces are again included in a pseudo interface that by default excludes loopback and tunnel interfaces. Again from the tcpdump man page:
On Darwin systems version 13 or later, when the interface is unspecified, tcpdump will use a pseudo interface to capture packets on a set of interfaces determined by the kernel (excludes by default loopback and tunnel interfaces).