[Bug 254673] netstat -s --libxo json duplicate "ipsec-statistics" section

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 31 08:17:56 UTC 2021


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

            Bug ID: 254673
           Summary: netstat -s --libxo json duplicate "ipsec-statistics"
                    section
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: j.vandeville at gmail.com

When using "netstat -s", the command output two sections for IPSec : one for
ipv4 ipsec and one for ipv6 ipsec :

ipsec:
        0 inbound packets violated process security policy
        0 inbound packets failed due to insufficient memory
        0 invalid inbound packets
        0 outbound packets violated process security policy
        0 outbound packets with no SA available
        0 outbound packets failed due to insufficient memory
        0 outbound packets with no route available
        0 invalid outbound packets
        0 outbound packets with bundled SAs
        0 spd cache hits
        0 spd cache misses
        0 clusters copied during clone
        0 mbufs inserted during makespace

ipsec6:
        0 inbound packets violated process security policy
        0 inbound packets failed due to insufficient memory
        0 invalid inbound packets
        0 outbound packets violated process security policy
        0 outbound packets with no SA available
        0 outbound packets failed due to insufficient memory
        0 outbound packets with no route available
        0 invalid outbound packets
        0 outbound packets with bundled SAs
        0 spd cache hits
        0 spd cache misses
        0 clusters copied during clone
        0 mbufs inserted during makespace

But when using "netstat -s --libxo json", the command ouput two
"ipsec-statistics" sections :

"ipsec-statistics":{
         "dropped-policy-violation":0,
         "dropped-no-memory":0,
         "dropped-invalid":0,
         "discarded-policy-violation":0,
         "discarded-no-sa":0,
         "discarded-no-memory":0,
         "discarded-no-route":0,
         "discarded-invalid":0,
         "send-bundled-sa":0,
         "spdcache-hits":0,
         "spdcache-misses":0,
         "clusters-copied-during-clone":0,
         "mbufs-inserted":0
      },

the second section should be "ipsec6-statistics"

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


More information about the freebsd-bugs mailing list