Penguin
Note: You are viewing an old revision of this page. View the current version.

ipac is a package which is designed to gather, summarize and nicely output the IP accounting data. ipac make summaries and graphs as ascii text and/or gif images with graphs.

ipac...

  • is for Linux
  • runs on top of the ipfwadm or ipchains tool
  • needs certain kernel parts compiled in
  • only supports ipchains based kernels (it has a big brother for iptables ipac-ng?)

HOW DOES IT WORK?

ipac consists of two scripts (shell and perl) and one C program:

  • ipacset reads a configuration file and sets up ip accounting

for the kernel using ipfwadm or ipchains

  • fetchipac, executed from cron once in a while, reads

the current ip accounting data assembled by the kernel and writes it to a new file

  • ipacsum summarizes the data from a set of files and, optionally,

replaces these files by one. It displays the values as a simple table containing the sums, as png graph pictures or as ascii graph pictures.