OpenBSD Journal

Article in SysAdmin: Monitoring Net Traffic

Contributed by jose on from the traffic-monitor dept.

Rich Goldstein writes: " "

The article is Monitoring Net Traffic with OpenBSD's Packet Filter and was written by the esteemed Randal L. Schwartz. It's a neat description of a setup using PF and SQLite.

(Comments are closed)

  1. By Anonymous Coward () on

    I want it on my firewall ! What about such stats in hatchet ?

    1. By fuzzyping () on

      Funny, I can't help but notice how similar this is to Hatchet. I'd love to say "great minds think alike", but I have a hard time comparing myself to Randal.

      I haven't read the article yet, but I'll take a look at it and see what can be incorporated. I'm curious to see how/if he overcame sqlite's typelessness.


  2. By Anonymous Coward () on


    nice article. Is there a script out there to do all this network nmonitoring on a plain OBSD box without any packages/ports? I mean everything you need is there (Perl, Apache).

  3. By Anonymous Coward () on

    This sure is a great idea. I was already looking at 3rd party monitoring software to be able to log the bandwidth used by each computer behind an OpenBSD router.

    But this looks really great; everything I need is already there in the default install! (well, except for a database, but my application isn't that big that it requires a full blown db; plain text files are fine)


Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]