[pmacct-discussion] ip traffic accounted twice

2007-04-13 Thread Andrei Neagoe
I've just setup pmacct on a box that has a vmware server on it. The objective is to account each jail traffic. Basicaly, there is one routed ip address on the server and every vmware jail bridges the traffic through eth0 (the only active interface on the server). Problem is, that if I transfer

Re: [pmacct-discussion] ip traffic accounted twice

2007-04-13 Thread Paolo Lucente
Hi Andrei, the most immediate suggestion i can give you is to tap either tcpdump or ethereal on the eth0 and see which traffic the libpcap library is effectively returning; also, try playing with the 'promisc' directive (which defaults to true) - as my understanding is that you are sniffing

Re: [pmacct-discussion] ip traffic accounted twice

2007-04-13 Thread Andrei Neagoe
I've set promisc to false (I just need local traffic passing through eth0) but traffic still gets accounted twice. Below is my conf: === debug: false interface: eth0 daemonize: true promisc: false sql_db: bwstat sql_table: acct sql_table_version: 1 sql_passwd: *** sql_user: ***