什么是 tcpdump 单行转储与给定子字符串匹配的 TCP 流?
是否有一个快速 tcpdump 单行打印出与特定子字符串匹配的 TCP 流 - 或者,如果这并不容易,那么只打印与子字符串匹配的单个 TCP 数据包 怎么样?
Is there a quick tcpdump one-liner to print out a TCP stream that matches a particular substring -- or, if that's not easy, how about printing out just the single TCP packet that matches the substring?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最好的选择是使用 ngrep 而不是 tcpdump。 Ngrep 旨在完全满足您的需求。
The best option is to use ngrep rather than tcpdump. Ngrep is designed to do exactly what you're after.