Skip to content

Npcap 1.81 incorrectly rejects large injected packets with VLAN headers #790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dmiller-nmap opened this issue Apr 22, 2025 · 0 comments
Closed

Comments

@dmiller-nmap
Copy link
Contributor

Npcap 1.81 introduced the ability to inject packets with 802.1q VLAN headers in order to communicate VLAN information to the miniport driver that sends the packet. The 4-byte VLAN header is removed and converted to NDIS-internal metadata before sending to the lower driver, which adds the header back if needed before putting it on the physical medium. The miniport communicates the maximum frame size to Npcap as the maximum size without the VLAN header, but Npcap 1.81 was interpreting it as the maximum size with the header, so it was incorrectly rejecting packets that would be equal to the maximum size when the header was removed.

This issue was resolved in b3a9703

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant