如何使用tcpdump捕获某个http代码响应


2

我想在openwrt上捕获http错误。ngrep实用程序将非常有用,但在那里也不可用tshark也不可用。所以它给我留下了tcpdump。

我怎么告诉tcpdump只捕获导致http代码错误的连接?在这种情况下403被禁止。


您是否设法从客户端向服务器获取流经路由器的任何消息?那可能吗?
inf3rno
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.