Skip to content

Instantly share code, notes, and snippets.

@yann-yinn
Last active December 3, 2017 11:46
Show Gist options
  • Save yann-yinn/0857b80996b4dd9e25365d3be297cf01 to your computer and use it in GitHub Desktop.
Save yann-yinn/0857b80996b4dd9e25365d3be297cf01 to your computer and use it in GitHub Desktop.
# lister les interfaces écoutables
tcpdump --list-interfaces
# écouter une interface "en0"
tcpdump -i en0
# écouter le traffic entrant ou sortant d'une IP en particulier
tcpdump host 1.2.3.4
tcpdump src 2.3.4.5
tcpdump dst 3.4.5.6
tcpdump port 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment