--- title: "如何使用Wireshark捕捉SDP客户端问题的流量" slug: "how-to-capture-traffic-for-sdp-client-issues-with-wireshark" updated: 2026-07-30T03:26:58Z published: 2026-07-30T03:26:58Z canonical: "knowledge.catonetworks.com/how-to-capture-traffic-for-sdp-client-issues-with-wireshark" --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledge.catonetworks.com/llms.txt > Use this file to discover all available pages before exploring further. # 如何使用Wireshark捕捉SDP客户端问题的流量 在本地设备上为SDP客户端相关问题收集PCAP时,确保始终从无线/有线接口和隧道接口两者中收集。 否则,您将无法捕获所有与VPN相关的流量。 PCAP可以使用Wireshark捕获。 ## **对于在v5.4之前运行WVPN的Windows机器** 正在运行Wireshark并选择无线/有线接口和CatoNetworksVPN隧道接口 - 步骤1:启动Wireshark并单击**捕获选项**。 ![option_1_pic_1.png](https://cdn.document360.io/81d0367c-2b69-4ba8-b412-1c8f46ce677e/Images/Documentation/6327965596957.png?sv=2026-02-06&spr=https&st=2026-11-19T06%3A44%3A36Z&se=2026-11-19T07%3A44%3A36Z&sr=b&sp=r&sig=0nMQZjG8JNOzdyILreRDeLsTaE0aoJt1v9zqTrGJu4o%3D) 步骤2:选择无线和/或有线接口,以及CatoNetworksVPN接口 ![mceclip2.png](https://cdn.document360.io/81d0367c-2b69-4ba8-b412-1c8f46ce677e/Images/Documentation/6353186227357.png?sv=2026-02-06&spr=https&st=2026-11-19T06%3A44%3A36Z&se=2026-11-19T07%3A44%3A36Z&sr=b&sp=r&sig=YK8bJj94Dimz2ANapggFV8d%2B12tHABpANjYFxby24wc%3D) 步骤3:单击 **启动** 开始在选定的接口上捕获流量。 ## **对于运行WVPN v5.4及更高版本的Windows机器** ![wvpn5.4-wireshark.png](https://cdn.document360.io/81d0367c-2b69-4ba8-b412-1c8f46ce677e/Images/Documentation/6354388754973.png?sv=2026-02-06&spr=https&st=2026-11-19T06%3A44%3A36Z&se=2026-11-19T07%3A44%3A36Z&sr=b&sp=r&sig=vgSUPkqF7ijXD5IFSDwHxkGz99Hs%2FHFFHPs53kq%2Ftec%3D) *******注意:** 在更高版本中,隧道适配器称为 "CatoNetworks" ## **对于MAC机器** 步骤1:打开MVPN并检查分配的Cato IP地址 ![mac_vpn.png](https://cdn.document360.io/81d0367c-2b69-4ba8-b412-1c8f46ce677e/Images/Documentation/6354421152157.png?sv=2026-02-06&spr=https&st=2026-11-19T06%3A44%3A36Z&se=2026-11-19T07%3A44%3A36Z&sr=b&sp=r&sig=jZWteD7t6HMB9yKmhOdnEvM9pmtAd9bfgKl9vIPPAYI%3D) 步骤2:启动终端并运行“ifconfig”。 然后检查哪个utun接口被分配了Cato IP地址 仅显示utun接口: ifconfig | grep -A5 "^utun" 或 ifconfig | awk '/^utun/{flag=1} flag{print} /status:/{flag=0}' 结果应该如下所示,便于捕获流量 ![mac_cli.png](https://cdn.document360.io/81d0367c-2b69-4ba8-b412-1c8f46ce677e/Images/Documentation/6354392219677.png?sv=2026-02-06&spr=https&st=2026-11-19T06%3A44%3A36Z&se=2026-11-19T07%3A44%3A36Z&sr=b&sp=r&sig=PLEbormoRkqWFIzxvLxqbhBA98hVK6eU6Hqm3KvmfPY%3D) 步骤3:启动wireshark并选择无线和/或有线接口,以及在步骤2中确定的相关utun接口。 ![mac_wireshark.png](https://cdn.document360.io/81d0367c-2b69-4ba8-b412-1c8f46ce677e/Images/Documentation/6354392732957.png?sv=2026-02-06&spr=https&st=2026-11-19T06%3A44%3A36Z&se=2026-11-19T07%3A44%3A36Z&sr=b&sp=r&sig=S7wMZatnf5DmM8lmSEhVQs5%2FJzNQXjV4oCckOKQ6R9Q%3D)