[Bug 270083] [netgraph] ng_netflow, NetFlow v9: maximum packets count between re-announcing data templates is ignored

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Mar 2023 08:09:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270083

            Bug ID: 270083
           Summary: [netgraph] ng_netflow,  NetFlow v9: maximum packets
                    count between re-announcing data templates is ignored
           Product: Base System
           Version: 13.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: zarychtam@plan-b.pwste.edu.pl

The module seems to ignore the value of "packets" in "settemplate". It is
NetFlow_v9 specific setting. To reproduce configure the export9 node with: 

msg netflow: settemplate { time=43200 packets=10 }

and wait for the template to be transmitted. 

Most likely the logic of "sent_packets" is not fully operational and
re-announcements of the template are done only on a time basis. This is only a
mild flaw since periodic re-announcements of the template work fine.

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