Overview of nlbwmon
masternlbwmon is a Linux-based traffic accounting tool that monitors bandwidth usage by network hosts using netlink sockets to pull information from the Linux kernel's conntrack entries. It is highly efficient because it collects statistics directly from conntrack entries and is notified by the kernel when entries are destroyed.
Key features:
- Tracks traffic by IP Version (IPv4/IPv6), IP Address, MAC address, and Layer 7 protocol (via port numbers).
- Stores statistics in a database.
- Supports multiple database generations (default is 10) to retain historical data.
- Allows custom protocol definitions to classify traffic; unmatched traffic is classified as 'Other'.