Project

General

Profile

Actions

Feature #14166

open
SW

Use netstat output for interface packet counters

Feature #14166: Use netstat output for interface packet counters

Added by Steve Wheeler over 3 years ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
26.10
Release Notes:
Default

Description

Currently the In/Out Packets counters shown for Interface Status are taken from pfctl. Hence they show the identical values as In/out packets (pass).

However for some interface types, VTI for example, traffic is not filtered on the interface which results in the counters always showing zero.

Those counters were taken from netstat at one time but were switched to pfctl in pfSense 2.0 because it used 64bit counters. Since then netstat has moved to 64bit counters and provides more useful values for all interface types.
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/pfsense-utils.inc#L1572

SW Updated by Steve Wheeler over 3 years ago Actions #1

  • Project changed from pfSense Plus to pfSense
  • Category changed from Web Interface to Web Interface
  • Plus Target Version set to 23.05

JP Updated by Jim Pingle over 3 years ago Actions #2

  • Category changed from Web Interface to Interfaces

Also netstat has libxo support so getting the data should be fairly simple (e.g. netstat -ni --libxo=json)

JP Updated by Jim Pingle over 3 years ago Actions #3

  • Plus Target Version changed from 23.05 to 23.09

Doesn't look likely that we'll have time to finish this for 23.05. Moving forward to the next release target.

JP Updated by Jim Pingle about 3 years ago Actions #4

  • Target version changed from 2.7.0 to CE-Next

JP Updated by Jim Pingle about 3 years ago Actions #5

  • Plus Target Version changed from 23.09 to 24.01

JP Updated by Jim Pingle almost 3 years ago Actions #6

  • Plus Target Version changed from 24.01 to 24.03

JP Updated by Jim Pingle over 2 years ago Actions #7

  • Plus Target Version changed from 24.03 to 24.07

JP Updated by Jim Pingle over 2 years ago Actions #8

  • Plus Target Version changed from 24.07 to 24.08

JP Updated by Jim Pingle almost 2 years ago Actions #9

  • Plus Target Version changed from 24.08 to 24.11

JP Updated by Jim Pingle almost 2 years ago Actions #10

  • Plus Target Version changed from 24.11 to 25.01

JP Updated by Jim Pingle almost 2 years ago Actions #11

  • Plus Target Version changed from 25.01 to 25.03

JP Updated by Jim Pingle over 1 year ago Actions #12

  • Plus Target Version changed from 25.03 to 25.07

JP Updated by Jim Pingle about 1 year ago Actions #13

  • Plus Target Version changed from 25.07 to 25.11

JP Updated by Jim Pingle 10 months ago Actions #14

  • Plus Target Version changed from 25.11 to 26.03

JP Updated by Jim Pingle 7 months ago Actions #15

  • Plus Target Version changed from 26.03 to 26.07

JP Updated by Jim Pingle 3 months ago Actions #16

  • Plus Target Version changed from 26.07 to 26.11

JP Updated by Jim Pingle 3 months ago Actions #17

  • Plus Target Version changed from 26.11 to 26.10
Actions

Also available in: Atom