Hi Andrew,

On Fri, Dec 11, 2009 at 01:32:34PM +1300, Andrew Thrift wrote:

> I have a requirement to count clients traffic passing through our border  
> router by classes, e.g. local (iBGP), national (BGP marked with specific  
> community) and international (anything not covered by local/national),  
> after a bit of research I found pmacct/nfacct and from what I can tell  
> it looks like it can do what I want.

That's correct. More sophisticated considerations (ie. whether leveraging
communities is the best choice) can be made only by knowing the overall
picture. 

> Have aggregation periods per client IP of  1 Hour, 1 Day and 1 Month  
> (1st day to last day)

Yes. Temporal aggregation is fully flexible, so you can really choose
whichever time period makes sense to you. Indeed per IP or per subnet
accounting is possible. 

> Use match filters similar to:
>
> [ ... ]

Match filters: I guess you would like to base your solution on a SQL
backend. BGP communities, IP addresses, etc. are all visible in the  
database: all revolves around crafting the right SQL queries.

Cheers,
Paolo


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

Reply via email to