Skip to content

FreeBSD: fallback to the old mode of finding all devs#1676

Open
glebius wants to merge 1 commit intothe-tcpdump-group:masterfrom
glebius:master
Open

FreeBSD: fallback to the old mode of finding all devs#1676
glebius wants to merge 1 commit intothe-tcpdump-group:masterfrom
glebius:master

Conversation

@glebius
Copy link
Copy Markdown
Contributor

@glebius glebius commented May 1, 2026

in case if finddevs_bpf() failed. A usual failure case is lack of privileges to open /dev/bpf. However, traditionally tcpdump -D or wireshark were able to display possible list of capture devices even if started by an unprivileged user.

in case if finddevs_bpf() failed.  A usual failure case is lack of
privileges to open /dev/bpf.  However, traditionally `tcpdump -D` or
wireshark were able to display possible list of capture devices even if
started by an unprivileged user.
@fxlb fxlb requested review from fxlb, guyharris and infrastation May 3, 2026 16:33
Copy link
Copy Markdown
Member

@fxlb fxlb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me.

@infrastation
Copy link
Copy Markdown
Member

I currently do not have means to verify this change, excuse me.

@fxlb fxlb requested a review from mcr May 8, 2026 08:32
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.

3 participants