net-mgmt/pmacct 1.7.9 FreeBSD
Accounting and aggregation tool for IPv4 and IPv6 traffic
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
5257c02573- License
- GPLv2
- Categories
- net-mgmt
- Package size
- 1110.0 KiB, 9499.8 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
| System | Port | Version |
|---|---|---|
| FreeBSD | net-mgmt/pmacct | 1.7.9 |
| OpenBSD | net/pmacct | 1.7.9 |
| NetBSD | wip/pmacct | 1.5.1 |
| DragonFly | net-mgmt/pmacct | 1.7.8_1 |
| HardenedBSD | net-mgmt/pmacct | 1.7.9 |
| GhostBSD | net-mgmt/pmacct | 1.7.9 |
Install
Binary package:
pkg install pmacct
From the ports tree:
cd /usr/ports/net-mgmt/pmacct/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pmacct>0:net-mgmt/pmacct
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.7.9 | 1.7.9 | - | - | 1.7.9 |
| FreeBSD:14:quarterly | 1.7.9 | 1.7.9 | n/a | - | 1.7.9 |
| FreeBSD:15:latest | 1.7.9 | 1.7.9 | n/a | 1.7.8_1 | 1.7.8_1 |
| FreeBSD:15:quarterly | 1.7.9 | 1.7.9 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.7.9 | 1.7.9 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libcdada.so: devel/libcdada
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 8
No port depends on this one.
Configuration
Options name: net-mgmt_pmacct
| Option | Default | Description |
|---|---|---|
| AVRO | off | Enable avro support |
| DEBUG | off | Build with debugging support |
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
| GEOIP2 | off | Enable GeoIPv2 (libmaxminddb) support |
| KAFKA | off | Enable Kafka support |
| LAYER2 | on | Enable Layer-2 support: MAC addresses and VLANs |
| MYSQL | off | MySQL database support |
| PGSQL | off | PostgreSQL database support (broken) |
| RABBITMQ | off | Enable RabbitMQ/AMQP support |
| REDIS | off | Enable Redis support |
| SQLITE3 | off | Enable SQLite3 support |
- USES
- gmake libtool pkgconfig localbase autoreconf
- Service scripts
pmacctd,nfacctd,sfacctd
Message after installing
Files
pkg-plist 163
- bin/pmacct
- lib/pmacct/examples/lg/pmbgp
- sbin/nfacctd
- sbin/pmacctd
- sbin/pmbgpd
- sbin/pmbmpd
- sbin/pmtelemetryd
- sbin/sfacctd
- share/doc/pmacct/AUTHORS
- share/doc/pmacct/BGP_BMP_METRICS.md
- share/doc/pmacct/CONFIG-KEYS
- share/doc/pmacct/COPYING
- share/doc/pmacct/ChangeLog
- share/doc/pmacct/DOCKER.md
- share/doc/pmacct/FAQS
- share/doc/pmacct/FLOW_AUGMENTATION_PROCESS_DESCRIPTION.md
- share/doc/pmacct/INSTALL
- share/doc/pmacct/INTERNALS
- share/doc/pmacct/IPFIX
- share/doc/pmacct/LOOKING_GLASS_FORMAT
- share/doc/pmacct/MSGLOG_DUMP_FORMATS
- share/doc/pmacct/PLUGINS
- share/doc/pmacct/QUICKSTART
- share/doc/pmacct/README.telemetry
- share/doc/pmacct/README_BGP_BMP_HA.md
- share/doc/pmacct/SIGNALS
- share/doc/pmacct/TRIGGER_VARS
- share/doc/pmacct/UPGRADE
- share/examples/pmacct/allow.lst.example
- share/examples/pmacct/amqp/amqp_receiver.py
- share/examples/pmacct/avro/avro_file_decoder.py
- share/examples/pmacct/bgp_agent.map.example
- share/examples/pmacct/bgp_md5.lst.example
- share/examples/pmacct/bgp_xconnects.map.example
- share/examples/pmacct/custom/.deps/libcustom_la-libcustom.Plo
- share/examples/pmacct/custom/.libs/libcustom.a
- share/examples/pmacct/custom/.libs/libcustom_la-libcustom.o
- share/examples/pmacct/custom/Makefile
- share/examples/pmacct/custom/Makefile.am
- share/examples/pmacct/custom/Makefile.in
- share/examples/pmacct/custom/libcustom.c
- share/examples/pmacct/custom/libcustom.h
- share/examples/pmacct/custom/libcustom_la-libcustom.lo
- share/examples/pmacct/custom/libcustom_la-libcustom.o
- share/examples/pmacct/custom/nfacctd-custom.conf.example
- share/examples/pmacct/flow_to_rd.map.example
- share/examples/pmacct/kafka/kafka_consumer.py
- share/examples/pmacct/lg/.deps/pmbgp-pmbgp.Po
- share/examples/pmacct/lg/Makefile
- share/examples/pmacct/lg/Makefile.am
- share/examples/pmacct/lg/Makefile.in
- share/examples/pmacct/lg/pmbgp
- share/examples/pmacct/lg/pmbgp-pmbgp.o
- share/examples/pmacct/lg/pmbgp.c
- share/examples/pmacct/lg/pmbgp.h
- share/examples/pmacct/lg/pmbgp.py
- share/examples/pmacct/lpref.map.example
- share/examples/pmacct/med.map.example
- share/examples/pmacct/misc/gnuplot-example.sh
- share/examples/pmacct/misc/gnuplot.script.example
- share/examples/pmacct/misc/mrtg-example.sh
- share/examples/pmacct/misc/mrtg.conf.example
- share/examples/pmacct/misc/rrdtool-example.sh
- share/examples/pmacct/networks.lst.example
- share/examples/pmacct/nfacctd-print.conf.example
- share/examples/pmacct/nfacctd-sql.conf.example
- share/examples/pmacct/pcap_interfaces.map.example
- share/examples/pmacct/peers.map.example
- share/examples/pmacct/pmacctd-imt.conf.example
- share/examples/pmacct/pmacctd-multiple-plugins.conf.example
- share/examples/pmacct/pmacctd-sql.conf.example
- share/examples/pmacct/pmacctd-sqlite3.conf.example
- share/examples/pmacct/ports.lst.example
- share/examples/pmacct/pretag.map.example
- share/examples/pmacct/primitives.lst.example
- share/examples/pmacct/probe_netflow.conf.example
- share/examples/pmacct/probe_sflow.conf.example
- share/examples/pmacct/sampling.map.example
- share/examples/pmacct/systemd/systemd_service_file.md
- share/examples/pmacct/tee_receivers.lst.example
- share/pmacct/CONFIG-KEYS
- share/pmacct/FAQS
- share/pmacct/QUICKSTART
- share/pmacct/README.GeoIP
- share/pmacct/README.cos
- share/pmacct/README.custom_primitives
- share/pmacct/README.etype
- share/pmacct/README.export_proto
- share/pmacct/README.iface
- share/pmacct/README.label
- share/pmacct/README.mask
- share/pmacct/README.mpls
- share/pmacct/README.mysql
- share/pmacct/README.nat
- share/pmacct/README.pgsql
- share/pmacct/README.sampling
- share/pmacct/README.sqlite3
- share/pmacct/README.tag2
- share/pmacct/README.timestamp
- share/pmacct/README.tunnel
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pmacct-1.7.9.tar.gz | 2.132268e+06 | 94185c33d659772035c63be0a82601bb9eb064fb4be1d68ba279b47204b2750a |
Master sites 1
- http://www.pmacct.net/
Commit history 4
| Date | Commit | Credits | Log message |
|---|---|---|---|
5257c02573 |
Piotr Kubaj | net-mgmt/pmacct: fix build on big-endian architectures 1. pmacct.h redefines the system byte-order macros, which fails
because of -Werror=macro-redefined.
2. POWER passes configure's unaligned test, but then Assign16(a,b) a=b
truncates a 16-bit ethertype into a 1-byte lvalue. Force byte-copy
Assign macros to fix it. |
|
d6250b82ec |
Olivier Cochard | Revert "sysutils/edk2: fix network boot on bhyve" This reverts commit 3fcead9dc69a1fb01bf4200ce3b079e942b57f39.
Wrongly added non-related files to previous commit. |
|
3fcead9dc6 |
Olivier Cochard | sysutils/edk2: fix network boot on bhyve NetworkPkg's DxeNetLib needs EFI_RNG_PROTOCOL, and the Bhyve build's
only producer is VirtioRngDxe, which never binds since bhyve has no
virtio-rng device. RngDxe uses RDRAND instead and needs no device.
TcpDxe depexes gEfiHash2ServiceBindingProtocolGuid, so add
Hash2DxeCrypto too; without TcpDxe there is no HttpServiceBinding.
Also enable HTTP boot.
PR: 298499
Approved by: manu
Sponsored by: Netflix |
|
d8c2989dee |
Kurt Jaeger | net-mgmt/pmacct: update 1.7.8 -> 1.7.9 - Note: PGSQL option is broken
- fixes build problem with libcdada
PR: 298037
Reported-by: [email protected]
Reported-by: olivier |