Skip to content

Extend WFP callout to be able to capture other traffic types #516

@dmiller-nmap

Description

@dmiller-nmap

Windows offers 2 different ways for drivers to inspect network traffic: NDIS LWF and WFP. Npcap uses NDIS LWF to see traffic on the stack between protocol drivers and miniport drivers. Some unusual network situations like VPNs may use a different data path that doesn't pass through our driver. WFP exists in a different part of the stack entirely, and could allow us to inspect traffic at different places, including prior to IPSEC VPN encapsulation. Because the semantics of traffic are different for WFP, we'd have to define and implement an extension to our existing API to let programs use it. The major difference is that there wouldn't be a concept of "capture traffic on this adapter" but rather "capture traffic at this point in the stack" which is pre-routing. That could be analogous to the "any" pseudo-device from libpcap on Linux.

Related: #257

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions