Hi Rene,

It should be matter of re-defining the socket structure for receivers
from sockaddr to sockaddr_storage to make enough room for IPv6. Doing
that makes a few functions complain the variable type that is passed
is not matching: in short it's not big deal but is a change that, in
order to make sure the whole plugin is not entirely screwed up, does
require decent QA afterwards. Now thing is release of 1.5.1 is almost
imminent and i'd much love to defer this patch to 1.5.2 (we speak one
week-ten days time?) and ping you once it's done. Let me know if you
are in more urgency than that.

Cheers,
Paolo

On Wed, Feb 11, 2015 at 04:08:50PM +0100, Rene Joergensen wrote:
> Hey,
> 
> I'm trying to use tee with IPv6. But can't get it working.
> 
> $ sudo /opt/pmacct15/sbin/nfacctd -f /etc/pmacct/nfacctd6_tee.conf -d
> [sudo] password for rgj:
> DEBUG ( /etc/pmacct/nfacctd6_tee.conf ): plugin name/type: 'default'/'core'.
> DEBUG ( /etc/pmacct/nfacctd6_tee.conf ): plugin name/type: 'a'/'tee'.
> DEBUG ( /etc/pmacct/nfacctd6_tee.conf ): nfacctd_port:11000
> DEBUG ( /etc/pmacct/nfacctd6_tee.conf ): nfacctd_ip:2a02:980:1:a::2
> DEBUG ( /etc/pmacct/nfacctd6_tee.conf ):
> tee_receivers[a]:/etc/pmacct/tee_recievers.lst
> DEBUG ( /etc/pmacct/nfacctd6_tee.conf ): tee_transparent[a]:true
> DEBUG ( /etc/pmacct/nfacctd6_tee.conf ): debug:true
> INFO ( default/core ): Reading configuration file
> '/etc/pmacct/nfacctd6_tee.conf'.
> INFO ( a/tee ): plugin_pipe_size=4096000 bytes plugin_buffer_size=10056
> bytes
> INFO ( a/tee ): ctrl channel: obtained=212992 bytes target=3256 bytes
> INFO ( default/core ): waiting for NetFlow data on 2a02:980:1:a::2:11000
> INFO ( a/tee ): Trying to (re)load map: /etc/pmacct/tee_recievers.lst
> WARN ( a/tee ): Invalid receiver
> [2a02:0980:0001:0010:0000:0000:0000:0002]:11000 in map
> '/etc/pmacct/tee_recievers.lst'.
> ERROR ( a/tee ): No valid receivers. Line 1 ignored in map
> '/etc/pmacct/tee_recievers.lst'.
> INFO ( a/tee ): map '/etc/pmacct/tee_recievers.lst' successfully (re)loaded.
> 
> tee_recievers.lst contains:
> 
> id=1 ip=[2a02:0980:0001:0010:0000:0000:0000:0002]:11000
> 
> Is there something obvious that I'm missing?
> 
> Cheers,
> René

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


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

Reply via email to