От :: Marky Относно :: Zero Traffic | Hi
I run freebsd7 and use netacct-mysql-0.78
at table traffic source ip address appear but traffic still zero.
any clue on this?
this is the config :
sniff 1 # 0 = not setting PROMISC mode
database mysql # must be mysql for now
mysql_user root # usually you don't need to
mysql_password netacctd #accthange this to your
mysql_host localhost # sometimes you need to
mysql_port 3306 # mysql port, 0 if you are
mysql_database netacct # usually you don't need to
pidfile /var/run/nacctd.pid # set pid file
compactnet 192.168.1.0 255.255.255.0
flush 300 # flush every 5 minutes
fdelay 60 # this defines after how many seconds
#notdev xl0
device xl0
iflimit xl0
#Test
#notdev sk0
device sk0
#device eth2
iflimit sk0
#iflimit eth2
#END
# Orig.
#notdev eth1 # Dont log entries for this device
#device eth0 # device to put into promiscous mode
#iflimit eth0 # on machines with multiple interfaces,
#ignoremask 255.255.255.0 # Ignore traffic on same class C net
ignorenet 127.0.0.0 255.0.0.0 # ignore loopback net
debug 5 # set debugging level
debugfile /var/log/nacctd.debug # where to put debugging
Thank you |
|
 |
 |
|
 |
|