tcpdump
command-line packet analyzer for network traffic
tcpdump is a packet analyzer for data networks. It captures traffic passing through a network interface and prints a description of each packet, so administrators and developers can see what is being sent and received. It suits people who need to troubleshoot connections or check traffic on machines they manage.
The source code is public on GitHub, so anyone can read it or build it from source. The project website also covers Libpcap, the packet capture library it is associated with.
Alternatives to tcpdump
Products that do a similar job in Browsers & Internet.
Wireshark
Network protocol analyzer for inspecting live traffic and capture files
ProxyBridge
Routes TCP and UDP traffic of any application through a chosen proxy
uBlock Origin
Ad and content blocker that runs as a browser extension
Tracexy
Network session and packet inspector for macOS
Firefox
Web browser from Mozilla for Mac
Brave
Privacy-focused web browser for macOS
LibreWolf
privacy-focused web browser based on Firefox
Dark Reader
Browser extension that applies a dark theme to web pages