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 12 months ago. Updated 8 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 #1

Updated by Christopher Cope 12 months ago

  • Status changed from New to Pull Request Review
  • Assignee set to Christopher Cope
Actions #2

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.

Actions #3

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
Actions #4

Updated by Danilo Zrenjanin 12 months ago

  • Status changed from Pull Request Review to Resolved
Actions #5

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.

Actions #6

Updated by Danilo Zrenjanin 12 months ago

ah cool. Thanks for checking.

Actions #7

Updated by Christopher Cope 11 months ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #8

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.

Actions #9

Updated by Jim Pingle 8 months ago

  • Target version set to 2.8.0
  • Plus Target Version set to 24.03
Actions

Also available in: Atom PDF