Skip to content

(do not merge yet) Indicate no-capture and no-inject devices. #1388

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

infrastation
Copy link
Member

This is a proof of the concept discussed in tcpdump-workers, it may require more work.

Introduce PCAP_IF_NO_CAPTURE and PCAP_IF_NO_INJECT interface flags.  Set
PCAP_IF_NO_INJECT on Bluetooth, DAG Rx stream, DPDK, Haiku network
interface, Linux netfilter, RDMA, Linux USB and the "any"
pseudo-interface devices.  Set PCAP_IF_NO_CAPTURE on DAG Tx stream
devices.  Update related man pages and findalldevstest.
@infrastation
Copy link
Member Author

Forgot to add: FreeBSD usbusN devices do not seem to be no-inject, as far as the code in pcap-bpf.c looks, but this may be not the intended behaviour. These changes leave usbus as it is.

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

Successfully merging this pull request may close these issues.

1 participant