Skip to content

logtopf 1.0.0

Latest

Choose a tag to compare

@timondurot timondurot released this 14 Nov 00:43

First public release. A live terminal view of the packets pf logs, grouped into flows with packet, byte and rate counters.

  • Light enough to run on the firewall itself: 0.1% of a core and 6 MiB idle, about 1% and 17 MiB at 100,000 logged packets a second
  • Keeps up with over a million logged packets a second, scans and floods included
  • Usable over SSH, tmux or a slow serial console
  • IPv4 and IPv6, fragments and extension headers, hostname and port names, sortable columns

Install

The binary is built on FreeBSD 14.5 for amd64 and also runs on 15.x, including pfSense and OPNsense on those bases. It needs only the libpcap and ncurses that come with the base system.

fetch https://github.com/timondurot/logtopf/releases/download/v1.0.0/logtopf-1.0.0-freebsd14-amd64.tar.gz
tar xzf logtopf-1.0.0-freebsd14-amd64.tar.gz
cd logtopf-1.0.0-freebsd14-amd64
./logtopf            # as root; reads pflog0

Or build from source with ./build.sh. Add log to the pf rules you want to watch; the README has the details, and man ./logtopf.1 the options and keys.

SHA-256 of the tarball: 649e6daf907338ef6b1e47ea090df0ba263e4729f4300e882ed47e0aeac7ae54