Skip to content

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

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

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

Conversation

@glebius

@glebius glebius commented May 1, 2026

Copy link
Copy Markdown
Contributor

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

@fxlb fxlb left a comment

Copy link
Copy Markdown
Member

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
@glebius

glebius commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

@guyharris maybe you can get this moving? Thanks!

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