I'm using netacct-mysql-0.76 and netstat-3.04_1 and it seems that it give
the wrong count on the number of
megabytes passed in/out . Maybe anyone can help me with this.../me very
puzzled and clueless.
Here is my config: rh9 with kernel 2.4.20 which holds a private network with
NAT. I have also tried the same config without NAT, only with squid setup,
without any kind of NAT. I did some tests by downloading trough squid a 50
megabytes file and some browsing for 30 minutes and nestat only display
something like 2,3 or 4 megabytes...something similar...anyway nothing not
even close to the real amount of traffic (not counting the traffic generated
by the rest of the users on the privaet network ..and they did work on the
net at that time).
Thanks in advance for any hints on this!
Alex
---------------------------------------
My files:
/usr/local/etc/naccttab :
sniff 0
database mysql
mysql_user acct
mysql_password xxxxx
mysql_host 192.168.254.1
mysql_port 3306
mysql_database netacct
pidfile /var/run/nacctd.pid
compactnet 192.168.254.0 255.255.255.0
flush 330
fdelay 70
device eth1
device eth2
ignorenet 127.0.0.0 255.0.0.0
debug 0
debugfile /tmp/nacctd.debug
headers tr 40 38
headers lo 14 12
headers eth 14 12
|