Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一个快速的 tcpdump 单行程序可以打印出与特定子字符串匹配的 TCP 流——或者,如果这并不容易,那么只打印出与子字符串匹配的单个 TCP数据包怎么样?
最好的选择是使用ngrep而不是 tcpdump。Ngrep 旨在完全满足您的需求。