[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-bugs
Subject:    [Bug 254673] netstat -s --libxo json duplicate "ipsec-statistics" section
From:       bugzilla-noreply () freebsd ! org
Date:       2021-03-31 8:17:56
Message-ID: bug-254673-227 () https ! bugs ! freebsd ! org/bugzilla/
[Download RAW message or body]

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@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"

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic