Change libpcap Version on macOS (Apple removed a feature)
问题 I just want to use tcpdump with the same -Qout functionality that is available on Ubuntu. On macOS tcpdump and libpcap have been stripped off the functionality to filter with -Qout. tcpdump -Qout -nnSX -c 10 -w packet.pcap port XXXX tcpdump: cannot parse term at: tcpdump: invalid expression "out" I have build tcpdump (./configure, make, make install) and PATH=/usr/local/sbin:$PATH . When I check with tcpdump --version tcpdump version 4.9.3 libpcap version 1.8.1 -- Apple version 79.250.1 Now