BSD Ports

net-mgmt/ng_ipacct 20210316.1405500_2 FreeBSD

Netgraph IP accounting

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
net-mgmt, kld
Package size
22.2 KiB, 55.5 KiB installed

Description

The ng_ipacct is Netgraph IP accounting node intended to gather IP traffic informations.

IP accounting is collected in both simple and extended modes. Output format is similar to the one used in Cisco IOS (command "show ip accounting").

In simple mode output format is: ip_from ip_to packets bytes

and in verbose mode: ip_from s_port ip_to d_port proto packets bytes

Also, effective user ID of relevant process and timestamp can be saved.

CPU overhead is minimal because ng_ipacct works at kernel level.

In the other systems

The newest version among them is 20210316.1501503, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDnet-mgmt/ng_ipacct20210316.1405500_2none known-[email protected]-
HardenedBSDnet-mgmt/ng_ipacct20210316.1501503_2 newestno data-[email protected]-
GhostBSDnet-mgmt/ng_ipacct20210316.1500068_2no data-[email protected]-

Install

Binary package:

pkg install ng_ipacct

From the ports tree:

cd /usr/ports/net-mgmt/ng_ipacct/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ng_ipacct>0:net-mgmt/ng_ipacct

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest20210316.1404000_220210316.1404000_2--20210316.1404000_2
FreeBSD:14:quarterly20210316.1404000_220210316.1404000_2n/a-20210316.1404000_2
FreeBSD:15:latest20210316.1501000_220210316.1501000_2n/a--
FreeBSD:15:quarterly20210316.1501000_220210316.1501000_2n/an/an/a
FreeBSD:16:latest--n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

USES
kmod uidfix
Service scripts
ng_ipacct

Message after installing

This port contains a prebuilt kernel module. Due to the ever changing
 nature of FreeBSD it may be necessary to rebuild the module after a kernel
 source update.  To do this rebuild and reinstall the port.

===>  CONFIGURATION NOTE:

      To setup ng_ipacct, you may have to edit /usr/local/etc/ng_ipacct.conf.

      To run ng_ipacct from startup, add ng_ipacct_enable="YES"
      in your /etc/rc.conf or activate it in /usr/local/etc/ng_ipacct.conf.

Files

pkg-plist 5
  • share/man/ru.KOI8-R/man8/ipacctctl.8.gz
  • include/netgraph/ng_ipacct.h
  • etc/ng_ipacct.conf.sample
  • sbin/ipacctctl
  • /%%KMODDIR%%/ng_ipacct.ko
distinfo 1
FileSizeSHA256
vstakhov-ng_ipacct-20210316_GH0.tar.gz247197f9715e59dbda195eb1ec5945fe64be47bfdcc8ea89378d250e82d6d0021765e

Commit history 0

No commits in the history this site was built from.