tcpdump

brew install tcpdump
apt-get install tcpdump

List all interfaces:

tcpdump -D
1.en0
2.bridge0
3.utun0
4.p2p0
5.en4
6.lo0
tcpdump -i en0 -w capture.cap