Hi Maurizio, The values currently used were taken by the IPFIX Information Elements document: http://www.iana.org/assignments/ipfix/ipfix.xml . I see that in such document field types #58 and #59 are still supported. Good idea is hence to switch to those, as you propose.
As of why changing the define has no effect, i have no idea: i mean, it should work :-) I've just committed the change to the CVS. Would you please see whether it appears to work to your eyes? Thanks, Paolo On Wed, Oct 19, 2011 at 06:32:07PM +0200, Maurizio Molina wrote: > Hi, > in the source file pmacct-0.14.0rc2/src/nfprobe_plugin/netflow9.c the > IDs used for identifying the SRC and DST VLAN in the templates are > defined as follows: > > #define NF9_SRC_VLAN 243 > #define NF9_DST_VLAN 254 > > I'm experiencing that this is not understood by the collector (I am > actually capturing a packet dump and decoding it with wireshark: it says > that types 243 and 254 are unknown) > > Actually, in the netflow v9 rfc (http://www.ietf.org/rfc/rfc3954.txt) > SRC_VLAN and DST_VLAN are defined as 58 and 59, respectively. > > I tried to change manually these values in the files and recompile, but > this has no effect (apparently 243 and 254 are still used). > > I wonder: > 1) why are these two ids defined differently that what's in the RFC? > 2) why changing them in the #define has no effect? > > Thanks, > Maurizio > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
