Skip to content

Instantly share code, notes, and snippets.

@Chunlin-Li
Created November 21, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Chunlin-Li/7da2665cbfe3083e1ed8 to your computer and use it in GitHub Desktop.
Save Chunlin-Li/7da2665cbfe3083e1ed8 to your computer and use it in GitHub Desktop.
tcpdump linux 下抓包工具 的使用.
tcpdump -q src port 8080    
获取已本机 8080 端口作为源的数据传输包简要信息.
-q 是 quiet, 显示简要信息.
src 指定源, 可以换成 dst 指定目的地.
port 指定端口, 如果是指定特定主机, 可以换成 host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment