Network packets debug with tcpdump
Example
tcpdump -c ${package_number} -i eth0 -nn dst port ${PORT} -w FILE.packets
Usage
-i
interface-w
write for file-c
count-A
prints out every packet’s contents-n
By default tcpdump will translate IP addresses to host names. -n
forces it to just print the IP-e
Includes the MAC address that the packet came from-p
Filters to only packets to/from your computer’s IP address
TCP Control Flag

Reference
https://wizardzines.com/zines/tcpdump/
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.me
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No privacy information is collected here
Try iOS App