On Thu, Feb 08, 2007 at 05:51:25PM +0200, Vasil Hristozov wrote:

> I have some troubles with pfstat settings. No matter what I write in 
> pf.conf (set loginterface) or in pfstat.conf (collect 22 = interface 
> "fxp0" ) it always collects data only from 1 interface. (How) can I use 
> it to collect per-interface statistics?

You'll have to tell it which data to collect from which interface, with
one "collect" line per data unit, like

  collect 1 = interface "bge0" pass bytes in ipv4 diff
  collect 2 = interface "fxp0" pass bytes in ipv4 diff
  collect 3 = interface "bge0" pass bytes out ipv4 diff
  collect 4 = interface "fxp0" pass bytes out ipv4 diff
  ...

Daniel

Reply via email to