Closed yyjdelete closed 3 years ago
@guyharris, do you know this issue?
@hsluoyz does this look like something that will be fixed in npcap? I'd hate to work around it in Sharppcap given that it worked in the past with WinPcap's version of pcap_open_live(). What do you think?
Hi @chmorgan @yyjdelete, please try the attached Npcap 0.08 r6.1
. Does it fix your issue? If yes, I will make a public release.
I'll have to defer to @yyjdelete on testing. I'm a Linux guy and haven't used the remote capture feature before. @yyjdelete can you test with that updated release to see if it fixes the rpcap issue without the sharppcap work around?
@hsluoyz It works for me.
OK. This issue has been fixed in latest Npcap 0.08 r7: https://github.com/nmap/npcap/releases
In old version, pcap_open_live also accept name in
pcap_findalldevs_ex
style (rpcap://\Device\NPF_{AD3C70B4-453E-4D67-AC84-D7976DAD5503}
). But in new version, onlypcap_findalldevs
style like\Device\NPF_{AD3C70B4-453E-4D67-AC84-D7976DAD5503}
is accepted.I found this due to an issue of SharpPcap, an WinPcap wrapper for dotNet.
I know the doc says that
pcap_findalldevs/pcap_open_live
andpcap_findalldevs_ex/pcap_open
should be used in pair. But is the new behavior by design or mistake?Sorry for my poor English.