Thanks for the quick reply Paolo :)

But hmmm.. no luck :(


If I start nfacctd up without daemonizing it, it recognizes the networks.lst as 
far as I can see from these messages:

INFO ( Billing/mysql ): 110592 bytes are available to address shared memory 
segment; buffer size is 92 bytes.
INFO ( Billing/mysql ): Trying to allocate a shared memory segment of 2543616 
bytes.
DEBUG ( /etc/pmacct/networks.lst ): (networks table IPv4) AS: fde9, net: 
a000000, mask: ff000000 DEBUG ( /etc/pmacct/networks.lst ): (networks table 
IPv4) AS: 3cf5, net: 3e918000, mask: ffffe000 DEBUG ( /etc/pmacct/networks.lst 
): (networks table IPv4) AS: 51e3, net: 504d8000, mask: fffff000 DEBUG ( 
/etc/pmacct/networks.lst ): (networks table IPv4) AS: 99fa, net: 50f81000, 
mask: fffff000 DEBUG ( /etc/pmacct/networks.lst ): (networks table IPv4) AS: 
3cf5, net: 510f0000, mask: ffff8000 DEBUG

But src_as and dst_as are all zeroes no matter what :(

Any idea what my problem would be?

I'm using 0.11 and table version 6

Best regards,

Soffi



Með kveðju
Kristinn Soffanías Rúnarsson
Sérfræðingur
EJS - www.ejs.is
s: 563-3000 f: 568-8487


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paolo Lucente
Sent: 7. september 2006 07:11
To: [email protected]
Subject: Re: [pmacct-discussion] nflowd not reading networks.lst

Hi Soffi,

On Thu, Sep 07, 2006 at 01:42:50AM -0000, Kristinn Soffan?as R?narsson wrote:

> All traffic destined outside networks.lst or inside show up with as number 0
>
> [ ... ]
> 
> My nfacctd.conf is as follows:
>
> [ ... ] 
>
> aggregate[Billing]: src_host,dst_host

To sort out your issue, you should modify the above line to include src_as
and dst_as aswell:

aggregate[Billing]: src_host,dst_host,src_as,dst_as

Cheers,
Paolo


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to