BSD Ports

net-mgmt/pmacct 1.7.8_1 DragonFly

Accounting and aggregation tool for IPv4 and IPv6 traffic

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
net-mgmt
Package size
939.3 KiB, 9706.5 KiB installed

Description

pmacct is a set of network tools to gather IP traffic informations (bytes counter and number of packets); aggregation of statistics is done using simple primitives (MAC addresses, source host, destination host, ports and ip protocols) that can be used alone or combined together to form complex aggregation methods; counters are either global or historical (broken at fixed timeslots). Data is either stored in a memory table, pulled to stdout or in a SQL database (MySQL or PostgreSQL). Gathering packets off the wire is done either using pcap library (and promiscuous mode of the listening interface) or reading Netflow packets coming from the network.

In the other systems

SystemPortVersion
DragonFlynet-mgmt/pmacct1.7.8_1
FreeBSDnet-mgmt/pmacct1.7.9
OpenBSDnet/pmacct1.7.9
NetBSDwip/pmacct1.5.1
HardenedBSDnet-mgmt/pmacct1.7.9
GhostBSDnet-mgmt/pmacct1.7.9

Install

Binary package:

pkg install pmacct

From DPorts:

cd /usr/dports/net-mgmt/pmacct && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Please note that this port requires configuration before it will function

Add these to /etc/rc.conf:
pmacctd_enable="YES"
pmacctd_interfaces="em0 em1"

Configuration examples are located in /usr/local/share/examples/pmacct.

You should copy one of these to /usr/local/etc/pmacct/<interface>
and adapt them for your environment.

Database-related files/information can be found in /usr/local/share/pmacct.

Additional documentation is available at:
WWW: http://wiki.pmacct.net/