Bug #15145
closedUnable to perform Packet Captures on a tailscale interface in GUI with default settings
100%
Description
Attempts to do a packet capture on the tailscale interface in the GUI results in it stopping immediately.
Trying to run the command from the console results in the error below:
tcpdump: no VLAN support for BSD loopback
Removing the "'(not vlan)'" from the command allows the pcap to run. Manually selecting "Everything" in the GUI also allows for the packet capture to run.
The GUI code seems to already have a special case for loopback interfaces to avoid this error and the GUI will adjust the command accordingly or output an error:
No VLAN support on loopback or encapsulated IP.
This check needs to also consider tailscale interfaces.
I have tested this on both of the versions below:
24.03-DEVELOPMENT (amd64) built on Wed Jan 3 6:00:00 UTC 2024 FreeBSD 15.0-CURRENT
23.09.1-RELEASE (amd64) built on Wed Dec 20 13:27:00 EST 2023 FreeBSD 14.0-CURRENT
Updated by Christopher Cope 12 months ago
- Status changed from New to Pull Request Review
- Assignee set to Christopher Cope
Updated by aleksei prokofiev 12 months ago
Tested on
23.09.1-RELEASE (amd64)
built on Wed Dec 20 18:27:00 UTC 2023
FreeBSD 14.0-CURRENT
24.03-DEVELOPMENT (amd64)
built on Wed Jan 3 6:00:00 UTC 2024
FreeBSD 15.0-CURRENT
I can confirm this behavior.
Updated by Danilo Zrenjanin 12 months ago
The patch fixes it.
Tested against:
23.09.1-RELEASE (arm) built on Fri Dec 8 21:55:00 CET 2023 FreeBSD 14.0-CURRENT
Updated by Danilo Zrenjanin 12 months ago
- Status changed from Pull Request Review to Resolved
Updated by Jim Pingle 12 months ago
- Status changed from Resolved to Pull Request Review
Can't close this yet, the patch hasn't been merged anywhere.
Updated by Christopher Cope 11 months ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
Applied in changeset 2adf7b8cde44a8e2f0f0cbb2a7f6c360e3bf4050.
Updated by Danilo Zrenjanin 11 months ago
- Status changed from Feedback to Resolved
Tested the patch against:
24.03-DEVELOPMENT (amd64) built on Wed Jan 17 6:00:00 UTC 2024 FreeBSD 15.0-CURRENT
It fixes the reported issue.
I am marking this ticket as resolved.
Updated by Jim Pingle 8 months ago
- Target version set to 2.8.0
- Plus Target Version set to 24.03