Tcpdump and wireshark
From Hawk Wiki
								
												
				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
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