安全与隐私danielmiessler.com
tcpdump 教程与入门
A tcpdump tutorial and primer
2012 — 2016,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
这是 Daniel Miessler 写的一篇 tcpdump 教程,系统讲解这个经典命令行抓包工具的常用选项和过滤语法,帮助读者快速上手网络数据包分析。文章多年来多次登上 Hacker News 首页,被视为网络调试入门的经典参考资料。
为什么经久不衰:tcpdump 是网络排查的必备基本功,这篇教程简洁实用,多年后仍是学习抓包的最佳起点之一。
HN 评论精选
tcpdump 命令行方式往往比图形工具更快解决协议问题
我爱 tcpdump。我偶尔会打开 Wireshark,但很少有协议问题是我用 tcpdump -A 不能更快解答的。
tptacek查看英文原文
I. Love. Tcpdump. Once in a blue moon I'll boot up Wireshark, but it's pretty rare that there's a protocol question I need to answer that I can't answer faster with tcpdump -A.
抓包交给 tcpdump,分析交给 Wireshark,学显示过滤器更实用
这取决于你想做什么。作为几乎每天用抓包解决别人问题的人,我只想在正确网卡上抓一份未过滤的二进制抓包文件,然后用 tshark 或 Wireshark 去分析。我认为学会在这些工具里写高效的显示过滤器,比学会复杂地使用抓包工具更有用。这样排查自己的问题也一样:可以事后从容检查、留存证据,甚至用抓包文件重放流量。
suprjami查看英文原文
I guess it depends what you are trying to do. As someone who uses packet captures almost every day to solve other people's problems, all I want to see is an unfiltered binary capture file on the right interface, which I'll then go thru with tshark or Wireshark. I think learning to build effective display filters in those tools is more useful than learning to use a capture tool in complex ways. This can apply to troubleshooting your own problems too, as you can then inspect things in your own time and gather evidence to present later, and even use a capture file to replay traffic.
tcpdump 不只属于安全人员,网络编程者迟早需要包级调试
它不仅对安全从业者有用。任何做网络编程的人都应该掌握它。应用层调试只能走这么远,迟早你会遇到网卡偶尔发出交换机无法处理的超大帧,或某些奇怪的性能问题。这类情况下包级调试是必需的。
praptak查看英文原文
It is not only useful for security professionals. Anybody doing any kind of network programming should have it under their belt. Application level debugging only goes so far. Sooner or later you'll hit a problem like a network card sometimes sending super jumbo frames which the switch cannot handle or some weird performance problems. Packet level debugging is a must in such cases.
分享一条远程抓包实时导入本地 Wireshark 的实用命令
把 tcpdump 输出传到本地 Wireshark:ssh -c arcfour root@myserver tcpdump -nn -U -s0 -w - 'not port 22' | wireshark -k -i -
Thaxll查看英文原文
To send tcpdump output to your local Wireshark: ssh -c arcfour root@myserver tcpdump -nn -U -s0 -w - 'not port 22' | wireshark -k -i -
历次讨论
同类还值得读
非法素数
Illegal prime
维基百科条目,介绍“非法素数”:某些素数之所以被称为“非法”,是因为它们经特定编码后,恰好对应一段被法律禁止传播的数据——最著名的是 DVD 解密程序 DeCSS 的代码,有人把…
安全与隐私上首页 5 次 · 2010–2021en.wikipedia.org编辑精选关于 /dev/urandom 的常见误区
Myths about /dev/urandom
(Thomas Hühn 撰写,2014 年首发并持续更新)逐条反驳关于 /dev/urandom 的常见误解:它与 /dev/random 使用的是同一个 CSPRNG,一旦完…
安全与隐私上首页 5 次 · 2014–20202uo.de编辑精选AES 高级加密标准火柴人图解
A Stick Figure Guide to the Advanced Encryption Standard (AES)
一篇用火柴人漫画形式讲解 AES(高级加密标准)算法的经典科普文章。
安全与隐私上首页 5 次 · 2009–2022moserware.com编辑精选指纹是用户名,不是密码
Fingerprints are Usernames, not Passwords
作者(eCryptfs 维护者、Ubuntu 安全工程师)认为指纹等生物特征是公开、不可更改的标识,应视作用户名而非密码,不能当作秘密凭据用于认证。
安全与隐私上首页 4 次 · 2013–2017blog.dustinkirkland.comHTTPS 连接的最初几毫秒(2009)
The First Few Milliseconds of an HTTPS Connection (2009)
逐毫秒拆解一次 HTTPS 连接建立时发生了什么,重点讲 TLS 握手、证书验证、RSA 签名与密钥协商等机制,面向不熟悉该领域的读者。
安全与隐私上首页 4 次 · 2009–2020moserware.com编辑精选