Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2021 08:17:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254673] netstat -s --libxo json duplicate "ipsec-statistics" section
Message-ID:  <bug-254673-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254673

            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@FreeBSD.org
          Reporter: j.vandeville@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"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254673-227>