Project

General

Profile

Actions

Bug #15145

closed

Unable to perform Packet Captures on a tailscale interface in GUI with default settings

Added by Christopher Cope 11 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Category:
Packet Capture
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
24.03
Release Notes:
Default
Affected Version:
Affected Architecture:

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
Actions

Also available in: Atom PDF