Tcpdump and wireshark

From Hawk Wiki
Jump to: navigation, search

tcpdump

tcpdump -i <interface> -s 65535 -w <some-file>

-s means packet size -i is the interface name

example

tcpdump -i en0 -s 65535 -w dump.bin