nmap / nmap/npcap

Support pcap_setdirection() for filtering packets by direction (sent or received)

Open
#248 11 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.