logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nfacct - command line tool to create/retrieve/delete accounting objects

Authors

       Pablo Neira Ayuso wrote and maintains the nfacct tool.

       Man page written by Pablo Neira Ayuso <pablo@netfilter.org>.

                                                  Dec 30, 2011                                         NFACCT(8)

Bugs

       Please,  report  them  to  netfilter-devel@vger.kernel.org  or  file  a  bug  in   Netfilter's   bugzilla
       (https://bugzilla.netfilter.org).

Commands

       These commands specify the action that nfacct performs. Only one of them can be specified  at  any  given
       time.

       list   List the existing accounting object in table.

       restore
              Restore  accounting  object table by reading from stdin. Input format is the one used as output by
              the list command.

       add    Add new accounting object.

       delete Delete accounting object.

       get    Get existing accounting object.

       flush  Delete all unused accounting objects.

       version
              Displays the version information.

       help   Displays the help message.

Description

nfacct  is  the  command  line  tool  that  allows  to  manipulate  the  Netfilter's  extended accounting
       infrastructure.

Name

       nfacct - command line tool to create/retrieve/delete accounting objects

Options

       This tool also allows a couple of options with the get and list commands that are:

       reset  That atomically obtains and resets the counters.

       xml    That displays the output in XML format.  json That displays the output in JSON format.

See Also

iptables(8)

Synopsis

nfacctcommand[name][options]

See Also