Captures network traffic, calculates statistics about usage, and serves
reports over HTTP.
- Traffic graphs, reports per host, shows ports for each host.
- Embedded web-server with deflate compression.
- Asynchronous reverse DNS resolution using a child process.
- Small. Portable. Single-threaded. Efficient.
- Supports IPv6.
Read the ChangeLog.
Once built, this is all it takes to get darkstat running:
# darkstat -i eth0
Although it's possible to configure / complicate things further,
once out of the box, darkstat will just work without
much trouble on your part.
# man darkstat
darkstat should build and run on any modern UNIX system that has
It has been reported to build on:
- FreeBSD, NetBSD, OpenBSD
- Linux (Archlinux, Debian, Fedora, Gentoo, OpenSUSE, Ubuntu)
- Mac OS X
There is an unofficial Windows port
On my FreeBSD router,
ppp takes an order of magnitude more
CPU time than darkstat.
If your system can keep up with PPPoE, you should have no trouble
Some router / firewall / security oriented UNIX distributions package
If you package darkstat, please contact me; I'd like to hear
If you would like to help with the Release Engineering process for
future versions, please contact me.
Some links regarding the previous branch (v2.x):
There is a low-traffic (announcements only) mailing list:
$ git clone https://www.unix4lyfe.org/git/darkstat
There's also a gitweb