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.
我正在使用wire-shark数据包嗅探器,但我无法区分通过wifi和LAN(有线)的数据包
首先,这个问题在这里是题外话,因为它与编程无关。
其次,当您进行wireshark捕获时,您可以选择要监听的接口,因此您可以选择wifi或lan。
第三,如果您需要同时监听两者,或者有一个包含两者的捕获文件,则以太网标头中的 MAC 地址应该不同。在大多数情况下,IP 也会有所不同。