如何使用sharppcap连接到npcap环回适配器? [英] How to connect to the npcap loopback adapter with sharppcap?

查看:777
本文介绍了如何使用sharppcap连接到npcap环回适配器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了npcap驱动程序,因为我想要监视windows loopback适配器。但是,环回适配器不在SharpPcap CaptureDeviceList中。



我应该怎么做才能使用SharpPcap来监控环回适配器?



我有什么尝试过:



我在Wireshark中看到环回适配器,Wireshark能够监控环回适配器。

I have installed the npcap driver, because I want to monitor the windows loopback adapter. However the loopback adapter is not in the SharpPcap CaptureDeviceList.

What should I do to monitor the loopback adapter using SharpPcap?

What I have tried:

I see the loopback adapter in Wireshark and Wireshark is able to monitor the loopback adapter.

推荐答案

在安装Npcap期间应该打开以下选项:

- 支持环回流量

- 在WinPcap API兼容模式下安装Npcap



并且在安装Npcap期间应关闭以下选项(因此不要显示灰色,但关闭):

- 使用DLT_NULL作为环回接口'链接层协议而不是DLT_EN10MB



要关闭使用DLT_NULL选项,首先必须关闭支持环回流量并关闭再次。
The following option should be turned on during installation of Npcap:
- Support loopback traffic
- Install Npcap in WinPcap API-compatible mode

and the following option should be turned off (so not greyed out, but turned off) during installation of Npcap:
- Use DLT_NULL as the loopback interface' link layer protocol instead of DLT_EN10MB

To be able to turn the "Use DLT_NULL" option off, you first have to turn the "Support loopback traffic" off and on again.


这篇关于如何使用sharppcap连接到npcap环回适配器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆