Skip to content

Instantly share code, notes, and snippets.

View agirot's full-sized avatar
✌️

Adrien Girot agirot

✌️
View GitHub Profile
@githubfoam
githubfoam / tcpdump cheat sheet
Last active September 10, 2025 09:23
tcpdump cheat sheet
----------------------------------------------------------------------------------------------------
tcpdump -s 0 #capture entire etherner header and IP packet
tcpdump -ni tap55ec3c7f-91 ip6 #locate the ICMPv6 packets
tcpdump -s0 -n -i any -w /tmp/$(hostname)-smbtrace.pcap #if the SMB client or SMB server is a Unix host,Troubleshooting Server Message Block (SMB)
tcpdump -D #Print the list of the network interfaces available on the system and on which tcpdump can capture packet
tcpdump -X -vvv -n -i eth0