Hi,

FYI - this turned out to be a bug which has been followed-up privately
with Axel in the meanwhile. The fix is already in the CVS as per the
following log:

* sfacctd, nfacctd: Assign16() was not handling correctly 2-bytes Ethertype
  values (ie. 0x86dd, 0x8847) in 802.1Q tags. As a result 'aggregate_filter'
  was not working correctly when supplied with IPv6-related filters. Thanks
  to Axel Apitz for reporting the issue.

It would also suggest that Ethertype IP, 0x0800, works fine just because one
of the two bytes is '0x00'. 'aggregate_filter' was the only feature affected.

Cheers,
Paolo


On Wed, Feb 11, 2009 at 08:03:07PM +0100, Axel Apitz wrote:
> Hi @all,
> 
> i tried to convert the example for getting stats for an IPv4 Network
> without the stuff i don't interested into IPv6.
> 
> So i use (IPv4):
> --
> aggregate[myNet-outbound]: src_net
> aggregate_filter[myNet-outbound]: vlan and src net v.w.x.y/z
> --
> and as networkfile:
> --
> v.w.x.y/z
> --
> That worked great.
> 
> Now using IPv6:
> --
> aggregate[myNet-outbound]: src_net
> aggregate_filter[myNet-outbound]: vlan and src net v:w:x:y::0/z
> --
> and as networkfile:
> --
> v:w:x:y::0/z
> --
> Nothing.
> 
> I tried some other combinations:
>  - remove aggregate_filter -> Ok, Everithing ist Aggregated to the
> networks, also the IPv6 Network
>  - switched to src_host and the filter vlan and src host v:w:x:y::11 -> 
> Nothing
> 
> Best Regards,
>   Axel Apitz
> 
> -- 
> Axel Apitz
> 
> The unbelievable Machine Company GmbH
> Grolmanstr. 40
> 10623 Berlin
> Tel.: +49 - 30 - 8892656 - 15
> Fax.: +49 - 30 - 8892656 - 11
> Mobile: +49 - 172 - 7300539
> 
> http://www.unbelievable-machine.com


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

Reply via email to