This is a plugin for the Munin network resource monitoring tool that is designed to collect and report tracking statistics on rule counters from the FreeBSD Internet Protocol FireWall (IPFW).
The goals of this project are to:
- run under Python 2.7 and 3.6, at least
- consume the output of
ipfw show
and generate data suitable for consumption by munin-node 2.0.x - accept configuration parameters via environment variables
- process only a subset of the operational ipfw rule set as directed by the configuration
- allow an administrator to instantiate the plugin more than once, with independent configurations for each instantiation
Potentially useful concepts that may inform the design of this plugin, and constitute stretch goals at this early stage, include:
- common rule actions such as
allow
anddeny
may be mapped onto the positive and negative vertical axis, similar to the commonif_
plugin that maps incoming and outgoing packets - the ability of
ipfw(8)
to append free-form comments may be used to dynamically configure a munin graph's legend
The most recent source code for this project is hosted on GitHub, and can be found at: https://github.com/neirbowj/munin-ipfw
John W. O'Brien is a member of the networking staff and a technologist at a large, US university, and operates a small consultancy.