[Bug 236368] pfctl 'source tracking nodes' printout broken after r343295

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 7 17:43:15 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236368

            Bug ID: 236368
           Summary: pfctl 'source tracking nodes' printout broken after
                    r343295
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: mt at markoturk.info

Hi,

it seems like r343295 broke "SOURCE TRACKING NODES" section in 'pfctl -vvs all'
output.

Steps to reproduce:
- use pf.conf similar to this:
    set skip on lo0
    block drop all
    pass out keep state (max-src-conn 6)
- ping example.com
- check pfctl -vvs all output:
    SOURCE TRACKING NODES:
    ? -> ? ( states 3735929054, connections 3735929054, rate
3735929.0/3735929054s )
       age 1037758:04:14, 13644642147974742460 pkts, 13644642147974742460 bytes


If I revert r343295, the output is correct:
SOURCE TRACKING NODES:
10.0.2.15 -> 0.0.0.0 ( states 2, connections 0, rate 0.0/0s )
   age 00:00:02, 4 pkts, 296 bytes, filter rule 1

BR/Marko

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list