Support pcap_setdirection() for filtering packets by direction (sent or received)
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 592
- PR merge metrics
- No merged PRs in 30d
Description
Similar to WinPcap, Npcap also doesn't seem to support pcap_setdirection.
Any plans to support?
Using Npcap 0.9990
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 Npcap's packet-capture API and comparing its behavior with WinPcap's pcap_setdirection() support. Determine where direction filtering belongs and how sent versus received packets should be identified. Done means callers can select sent or received packets through pcap_setdirection(), with behavior verified for both directions.
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
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100