3

我正在做一个无线实验,它使用了一个 tp-link 路由器 WR1043ND 闪存 OpenWrt 系统。因为需要通过路由器抓包,所以需要安装tcpdump软件。
我刚刚使用命令“opkg install tcpdump”安装它,终端显示安装成功。

但是当我输入“tcpdump”命令时,我得到一个失败提示,显示

-ash:tcpdump:未找到

所以我试着知道是否安装了 tcpdump。我输入如下:

opkg 列表 | grep tcpdump

过滤后的结果显示:

openvswitch-ovs-tcpdump - 2.8.1-1 - Dump traffic from an Open vSwitch port using tcpdump openvswitch-ovs-tcpundump - 2.8.1-1 - Convert ``tcpdump -xx`` output to hex strings pcapsipdump - 0.2-1 - pcapsipdump is a tool for dumping SIP sessions (+RTP traffic, if available) to disk in a fashion similar to "tcpdump -w" (format is exactly the same), but one file per sip session (even if there is thousands of concurrect SIP sessions). tcpdump - 4.9.2-1 - Network monitoring and data acquisition tool tcpdump-mini - 4.9.2-1 - Network monitoring and data acquisition tool (minimal version) tcpreplay - 4.2.5-1 - tcpreplay is a tool for replaying network traffic from files saved with tcpdump or other tools which write pcap(3) files.

很明显,安装成功了。我真的希望有人能帮助我处理这个问题,谢谢!

4

0 回答 0