Comments (3)
Commited in 49fb85c
Now, a software invoking WinPcap or NPcap can use pcap_lib_version() function to determine capture library's name and version programmatically.
There's a function pcap_lib_version() in wpcap.dll for both WinPcap and NPcap.
In WinPcap, this function will return a string like this: "WinPcap version 4.1.3 (packet.dll version 4.1.0.3001), based on libpcap version 1.0 branch 1_0_rel0b (20091008)"
While in NPcap, the string is like: "NPcap version 0.01 (packet.dll version 0.1.0.0), based on libpcap version 1.0 branch 1_0_rel0b (20091008)"
Note: the "true" version Windows only recognized is the one with four numbers like 0.1.0.0. So packet.dll version must be 0.1.0.0 instead of 0.01. We can just ignore the last two digits as they will always be zero.
from npcap.
Great! Let's include the WinPcap version too, like: "NPcap version 0.01 (packet.dll version 0.1.0.0), based on WinPcap version 4.1.3 (packet.dll version 4.1.0.3001), based on libpcap version 1.0 branch 1_0_rel0b (20091008)"
from npcap.
Modified as you suggested, in 1fa3f03
from npcap.
Related Issues (20)
- API: pcap_next_ex did not get all the packets that met the requirements HOT 9
- pcap_oid_get_request is missing in npcap-1.79.exe HOT 1
- BSOD during VMware player (network driver) installation
- Update EV codesigning certificate used for Npcap and Nmap
- Update building documentation for Win11 SDK HOT 1
- Old version of Npcap on winget HOT 1
- Failed to capture traffic HOT 2
- Failure to Capture Virtual Adapter - winpcap can capture but npcap does not HOT 6
- PcapLiveDevice.cpp: sendPacket:628] Error sending packet: send error: PacketSendPacket failed: A device attached to the system is not functioning. (31) HOT 2
- Update Npcap to support NDIS 6.89 HOT 2
- With GNS3 and NPCAP not possible to ping and connect to host within GNS3
- Nmap Error: 'Error compiling our pcap filter: expression rejects all packets' HOT 6
- Not able to send 10 Gbps HOT 1
- Couldn't capture 802.11 radio beacon packets using Npcap SDK in Windows C++ HOT 7
- Resolve Application Verifier stops in libpcap (wpcap.dll) included with Npcap 1.79 HOT 5
- Npcap Bug Report - Error 0x80070002 failed to install npcap service
- outbound packets logged twice on vEthernet HOT 2
- Fix reported BSOD in !NPF_RemoveFromGroupOpenArray HOT 1
- Create API calls for non-blocking packet writes HOT 2
- pcap_next_ex still have timeout even when pcap_set_immediate_mode HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npcap.