Hi Joan, Just fetched myself for a test from the CVS and build is 20140205-00 (ie. pmacctd -V). Do i get correctly the issue is: you are able to compile pmacct 1.5.0rc2 against PF_RING 5.6.2 but not latest pmacct code from CVS against the exact same PF_RING library?
Cheers, Paolo On Fri, Feb 07, 2014 at 11:59:02AM +0100, Joan wrote: > Hi Paolo, the code from the cvs (module pmacct) doesn't compile when > linking with pfring enabled libpcap, it does without problem when there is > only the system libpcap, see the log attached. > It was when using PF_RING-5.6.2 > > > Still the las commit to the cvs is from 2014-01-09, earlier than my mail, > is this the proper module to checkout from? > > > Regards, > > Joan > > > 2014-02-05 17:42 GMT+01:00 Paolo Lucente <pa...@pmacct.net>: > > > Hi Joan, > > > > I verified the issue you describe and fixed in the CVS. Can you give > > it a try and see if that works for you? > > > > Cheers, > > Paolo > > > > On Wed, Feb 05, 2014 at 11:50:55AM +0100, Joan wrote: > > > I am trying to setup again a system to export flows with as number by > > using > > > the networks_file, since creating a full networks_file with the script > > at ( > > > https://github.com/paololucente/pmacct-contrib/tree/master/st1) failed > > > leaving all the AS fields as 0, I simplified the file to a minimal case > > > (only google's 8.8.8.x and 8.8.4.x) > > > > > > > > > ! generated by quagga_gen_as_network.pl at 20140205-11:25.51 > > > 193.149.55.94,15169,8.8.4.0/24 > > > 193.149.55.94,15169,8.8.8.0/24 > > > > > > > > > Now I'm getting the srcas and dstas setted for all the traffic as if it > > was > > > originated and destinated to google. > > > I'm using the current 1.5.0rc2. > > > > > Feb 5 11:37:43 flower pmacctd[9562]: INFO ( default/core ): Start > > logging ... > > > Feb 5 11:37:43 flower pmacctd[9562]: INFO ( default/nfprobe ): > > plugin_pipe_size=4096000 bytes plugin_buffer_size=4096 bytes > > > Feb 5 11:37:43 flower pmacctd[9562]: INFO ( default/nfprobe ): ctrl > > channel: obtained=163840 bytes target=4000 bytes > > > Feb 5 11:37:43 flower pmacctd[9562]: DEBUG ( /etc/pmacct/networks.lst > > ): [networks table IPv4] nh: 193.150.1.123 peer asn: 0 asn: 15169 net: > > 8.8.4.0 mask: 24 > > > Feb 5 11:37:43 flower pmacctd[9563]: INFO ( default/nfprobe ): NetFlow > > probe plugin is originally based on softflowd 0.9.7 software, Copyright > > 2002 Damien M > > > iller <d...@mindrot.org> All rights reserved. > > > Feb 5 11:37:43 flower pmacctd[9562]: DEBUG ( /etc/pmacct/networks.lst > > ): [networks table IPv4] nh: 193.150.1.123 peer asn: 0 asn: 15169 net: > > 8.8.8.0 mask: 24 > > > Feb 5 11:37:43 flower pmacctd[9563]: INFO ( default/nfprobe ): > > TCP timeout: 3600s > > > Feb 5 11:37:43 flower pmacctd[9563]: INFO ( default/nfprobe ): TCP > > post-RST timeout: 120s > > > Feb 5 11:37:43 flower pmacctd[9562]: DEBUG ( /etc/pmacct/networks.lst > > ): IPv4 Networks Cache successfully created: 99991 entries. > > > Feb 5 11:37:43 flower pmacctd[9563]: INFO ( default/nfprobe ): TCP > > post-FIN timeout: 300s > > > Feb 5 11:37:43 flower pmacctd[9563]: INFO ( default/nfprobe ): > > UDP timeout: 300s > > > Feb 5 11:37:43 flower pmacctd[9563]: INFO ( default/nfprobe ): > > ICMP timeout: 300s > > > Feb 5 11:37:43 flower pmacctd[9563]: INFO ( default/nfprobe ): > > General timeout: 3600s > > > Feb 5 11:37:43 flower pmacctd[9563]: INFO ( default/nfprobe ): > > Maximum lifetime: 604800s > > > Feb 5 11:37:43 flower pmacctd[9563]: INFO ( default/nfprobe ): > > Expiry interval: 60s > > > Feb 5 11:37:43 flower pmacctd[9562]: DEBUG ( /etc/pmacct/networks.lst > > ): [networks table IPv6] nh: 193.150.1.123 peer_asn: 0 asn: 15169 net: :: > > mask: 0 > > > Feb 5 11:37:43 flower pmacctd[9562]: DEBUG ( /etc/pmacct/networks.lst > > ): [networks table IPv6] contains a default route > > > Feb 5 11:37:43 flower pmacctd[9562]: DEBUG ( /etc/pmacct/networks.lst > > ): IPv6 Networks Cache successfully created: 32771 entries. > > > Feb 5 11:37:43 flower pmacctd[9563]: INFO ( default/nfprobe ): > > Exporting flows to [192.168.1.123]:2591 > > > Feb 5 11:37:43 flower pmacctd[9563]: DEBUG ( /etc/pmacct/networks.lst > > ): [networks table IPv4] nh: 193.150.1.123 peer asn: 0 asn: 15169 net: > > 8.8.4.0 mask: 24 > > > Feb 5 11:37:43 flower pmacctd[9563]: DEBUG ( /etc/pmacct/networks.lst > > ): [networks table IPv4] nh: 193.150.1.123 peer asn: 0 asn: 15169 net: > > 8.8.8.0 mask: 24 > > > Feb 5 11:37:43 flower pmacctd[9563]: DEBUG ( /etc/pmacct/networks.lst > > ): IPv4 Networks Cache successfully created: 99991 entries. > > > Feb 5 11:37:43 flower pmacctd[9563]: DEBUG ( /etc/pmacct/networks.lst > > ): [networks table IPv6] nh: 193.150.1.123 peer_asn: 0 asn: 15169 net: :: > > mask: 0 > > > Feb 5 11:37:43 flower pmacctd[9563]: DEBUG ( /etc/pmacct/networks.lst > > ): [networks table IPv6] contains a default route > > > Feb 5 11:37:43 flower pmacctd[9563]: DEBUG ( /etc/pmacct/networks.lst > > ): IPv6 Networks Cache successfully created: 32771 entries. > > > Feb 5 11:37:43 flower pmacctd[9562]: OK ( default/core ): link type is: > > 1 > > > > > > > > Dst IP Addr Flows Bytes Packets Src AS Dst AS > > > 209.23.235.22 1 92 1 15169 15169 > > > 88.26.252.71 1 385 5 15169 15169 > > > 166.78.151.214 1 87 1 15169 15169 > > > 88.26.252.71 1 418 5 15169 15169 > > > 162.242.162.82 1 81 1 15169 15169 > > > 69.28.95.170 1 80 1 15169 15169 > > > 69.28.95.154 1 78 1 15169 15169 > > > 218.189.3.34 1 76 1 15169 15169 > > > 64.132.253.13 1 74 1 15169 15169 > > > 88.26.252.71 1 418 5 15169 15169 > > > 195.55.157.82 1 156 1 15169 15169 > > > 205.251.194.67 1 86 1 15169 15169 > > > 88.26.252.71 1 418 5 15169 15169 > > > 178.79.150.32 1 92 1 15169 15169 > > > 176.58.111.122 1 92 1 15169 15169 > > > 209.59.139.12 1 73 1 15169 15169 > > > 178.79.150.32 1 110 1 15169 15169 > > > 54.248.92.63 1 76 1 15169 15169 > > > > > > > _______________________________________________ > > > pmacct-discussion mailing list > > > http://www.pmacct.net/#mailinglists > > > > > > _______________________________________________ > > pmacct-discussion mailing list > > http://www.pmacct.net/#mailinglists > > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists