Guys

Here is a working configuration file currently in use on a gateway
machine in our test labs:

<config>
!
! pmacctd configuration example
!
! Did you know CONFIG-KEYS contains the detailed list of all configuration keys
! supported by 'nfacctd' and 'pmacctd' ?
!
daemonize: true

!
! LAN traffic
!
interface: eth1
aggregate: sum_host
networks_file: /opt/hotspot/etc/lan-routes

!
! Globals
!
plugins: mysql
sql_db: system
sql_table_version: 1
sql_passwd: arealsmartpwd
sql_user: pmacct
sql_history_roundoff: mh
sql_refresh_time: 30
sql_history: 30m
sql_table: accounting
pidfile: /var/run/pmacctd.pid
syslog: local6

</config>

<lan-routes>

192.168.10.0/24

</lan-routes>

Everything is working extremely well. 

I remember I saw a configuration example somewhere that allows traffic
to a certain host, in this case 192.128.1.2, to be excluded from *all*
calculations. The gateway machine has 2 IP's and all traffic from any
client to the second IP must not be used in the calculations of their
total usage.

How would I go about setting this up?

Out of interest sake, all the entries with source and destination
hosts set as 0.0.0.0, where does that traffic come from, or how are
those numbers calculated?

Regards,

-- 

Kenneth Kalmer
[EMAIL PROTECTED]
http://opensourcery.blogspot.com

Reply via email to