Potential enhancement: alternative to Packet.dll
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 592
- PR merge metrics
- No merged PRs in 30d
Description
The majority of Npcap users use it via the libpcap API in wpcap.dll. That, in turn, uses Packet.dll to communicate with the Npcap driver. There are lots of things less than ideal about the Packet API (Packet32.h): uninformative return codes, hacky support of Unicode in only a few functions, incomplete use of SetLastError(), limited capture statistics and zero extensibility, etc. I propose replacing Packet.dll with a new API that would be consistent and extensible. We would continue to maintain and install Packet.dll for compatibility for a while until it became reasonably certain that it was no longer needed. A new module for libpcap which uses the new API would be part of this effort, also.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing Packet.dll API in Packet32.h and how wpcap.dll uses it through the libpcap API. Define the scope and design of a consistent, extensible replacement, including compatibility with Packet.dll and a new libpcap module; the issue does not identify specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100