The net/darkstat port

darkstat-3.0.719p3 – network statistics gatherer with graphs (cvsweb github mirror)


Darkstat is a packet sniffer which runs as a background process on
a cable/DSL router, gathers all sorts of useless but interesting
statistics, and serves them over HTTP. Features:

* Traffic graphs.
* Tracks traffic per host.
* Tracks traffic per TCP and UDP port for each host.
* Embedded web-server with deflate compression.
* Asynchronous reverse DNS resolution using a child process.
* Small. Portable. Single-threaded. Efficient.
WWW: https://unix4lyfe.org/darkstat/


| Running ${PKGSTEM} on OpenBSD

By default, when started from the rc.d(8) script, darkstat will listen to
traffic on the first egress interface, and only allow TCP connections from
localhost. If using NAT, the internal interface might be a better choice
than the egress; to use alternative settings, override the defaults in
rc.conf.local e.g.:

darkstat_flags=-i em2 -b --syslog


The OpenBSD ports mailing-list


net www

Build dependencies