Re: [pmacct-discussion] pmbmpd and IPv6
Le 2019-07-15 20:21, Fabien VINCENT a écrit : > Le 2019-07-15 18:14, Paolo Lucente a écrit : > > Hi Fabien, > > Just to confirm that IPv6 should be supported just fine in pmbmpd: the > code for parsing BGP Update PDUs is shared with BGP and, actually, even > the compiler flags that were allowing to disable IPv6 support are gone. > It smells it may be IPv6 data is not included in the export from the > router - can you inspect raw BMP data (say, with wireshark) to be extra > sure? Of course just let me know if you need help with that. > > Paolo > > On Mon, Jul 15, 2019 at 01:45:55PM +0200, Fabien VINCENT wrote: Dear, > > I try to setup a PoC using pmbmpd > > I have a strange behavior with A9K/IOS-XR sending BMP data to bmp-server > > I have the sample config > > ! > bmp_daemon: true > bmp_daemon_ip: 10.x.y.z > bmp_daemon_port: 1790 > ! > ! default to 10 > !bmp_daemon_max_peers > ! > bmp_daemon_msglog_file: /var/log/pmbmpd/bmp-$peer_src_ip.log > ! > > bmp_daemon_allow_file: /opt/pmacct/conf/bmp.allowed > bmp_dump_file: /tmp/pmbmpd/$bmp_router-%s.dump > bmp_dump_output: json > bmp_dump_refresh_time: 120 > > And when dump files are written, nothing related to IPv6 BMP export. Is > it supported on pmacct 1.7.3 ? > > # /usr/local/sbin/pmbmpd -V > pmacct BMP Collector Daemon, pmbmpd 1.7.3-git (20190418-00+c4) > > Arguments: > '--enable-pgsql' '--enable-rabbitmq' '--enable-kafka' '--enable-geoip' > '--enable-jansson' '--enable-l2' '--enable-64bit' > '--enable-traffic-bins' '--enable-bgp-bins' '--enable-bmp-bins' > '--enable-st-bins' > > Libs: > libpcap version 1.8.1 > PostgreSQL 19 > rabbimq-c 0.8.0 > rdkafka 0.11.3 > jansson 2.11 > > System: > Linux 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 > x86_64 > > Compiler: > gcc 7.4.0 > > For suggestions, critics, bugs, contact me: Paolo Lucente > . > > Anything related to pmbmpd or IOS-XR ? > > -- > FABIEN VINCENT > --- > @beufanet > --- > ___ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists > > ___ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists Agree, will look at pcap dump tomorrow morning. -- FABIEN VINCENT --- @beufanet --- ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists Can't find any reason why bmp config on IOS-XR is not sending anything to server bmp server 1 bmp server 1 host 10.y.x.z port 1790 bmp server 1 vrf MYVRF bmp server 1 description blabla-pmbmpd bmp server 1 update-source LoopbackA bmp server 1 flapping-delay 3600 bmp server 1 initial-delay 60 bmp server 1 stats-reporting-period 120 bmp server 1 initial-refresh delay 120 => works router bgp 65534 neighbor 192.168.2.1 bmp-activate server 1 => not working router bgp 65534 neighbor 2001:dead::beef bmp-activate server 1 Seems related to IOS-XR behavior but can't explain why as I received no IPv6 BMP dump on IPv4 10.x.y.z Did someone already worked on it ? -- FABIEN VINCENT --- @beufanet ---___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
Re: [pmacct-discussion] pmbmpd and IPv6
Le 2019-07-15 18:14, Paolo Lucente a écrit : > Hi Fabien, > > Just to confirm that IPv6 should be supported just fine in pmbmpd: the > code for parsing BGP Update PDUs is shared with BGP and, actually, even > the compiler flags that were allowing to disable IPv6 support are gone. > It smells it may be IPv6 data is not included in the export from the > router - can you inspect raw BMP data (say, with wireshark) to be extra > sure? Of course just let me know if you need help with that. > > Paolo > > On Mon, Jul 15, 2019 at 01:45:55PM +0200, Fabien VINCENT wrote: > >> Dear, >> >> I try to setup a PoC using pmbmpd >> >> I have a strange behavior with A9K/IOS-XR sending BMP data to bmp-server >> >> I have the sample config >> >> ! >> bmp_daemon: true >> bmp_daemon_ip: 10.x.y.z >> bmp_daemon_port: 1790 >> ! >> ! default to 10 >> !bmp_daemon_max_peers >> ! >> bmp_daemon_msglog_file: /var/log/pmbmpd/bmp-$peer_src_ip.log >> ! >> >> bmp_daemon_allow_file: /opt/pmacct/conf/bmp.allowed >> bmp_dump_file: /tmp/pmbmpd/$bmp_router-%s.dump >> bmp_dump_output: json >> bmp_dump_refresh_time: 120 >> >> And when dump files are written, nothing related to IPv6 BMP export. Is >> it supported on pmacct 1.7.3 ? >> >> # /usr/local/sbin/pmbmpd -V >> pmacct BMP Collector Daemon, pmbmpd 1.7.3-git (20190418-00+c4) >> >> Arguments: >> '--enable-pgsql' '--enable-rabbitmq' '--enable-kafka' '--enable-geoip' >> '--enable-jansson' '--enable-l2' '--enable-64bit' >> '--enable-traffic-bins' '--enable-bgp-bins' '--enable-bmp-bins' >> '--enable-st-bins' >> >> Libs: >> libpcap version 1.8.1 >> PostgreSQL 19 >> rabbimq-c 0.8.0 >> rdkafka 0.11.3 >> jansson 2.11 >> >> System: >> Linux 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 >> x86_64 >> >> Compiler: >> gcc 7.4.0 >> >> For suggestions, critics, bugs, contact me: Paolo Lucente >> . >> >> Anything related to pmbmpd or IOS-XR ? >> >> -- >> FABIEN VINCENT >> --- >> @beufanet >> --- > >> ___ >> pmacct-discussion mailing list >> http://www.pmacct.net/#mailinglists > > ___ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists Agree, will look at pcap dump tomorrow morning. -- FABIEN VINCENT --- @beufanet ---___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
Re: [pmacct-discussion] pmbmpd and IPv6
Hi Fabien, Just to confirm that IPv6 should be supported just fine in pmbmpd: the code for parsing BGP Update PDUs is shared with BGP and, actually, even the compiler flags that were allowing to disable IPv6 support are gone. It smells it may be IPv6 data is not included in the export from the router - can you inspect raw BMP data (say, with wireshark) to be extra sure? Of course just let me know if you need help with that. Paolo On Mon, Jul 15, 2019 at 01:45:55PM +0200, Fabien VINCENT wrote: > Dear, > > I try to setup a PoC using pmbmpd > > I have a strange behavior with A9K/IOS-XR sending BMP data to bmp-server > > > I have the sample config > > ! > bmp_daemon: true > bmp_daemon_ip: 10.x.y.z > bmp_daemon_port: 1790 > ! > ! default to 10 > !bmp_daemon_max_peers > ! > bmp_daemon_msglog_file: /var/log/pmbmpd/bmp-$peer_src_ip.log > ! > > bmp_daemon_allow_file: /opt/pmacct/conf/bmp.allowed > bmp_dump_file: /tmp/pmbmpd/$bmp_router-%s.dump > bmp_dump_output: json > bmp_dump_refresh_time: 120 > > And when dump files are written, nothing related to IPv6 BMP export. Is > it supported on pmacct 1.7.3 ? > > # /usr/local/sbin/pmbmpd -V > pmacct BMP Collector Daemon, pmbmpd 1.7.3-git (20190418-00+c4) > > Arguments: > '--enable-pgsql' '--enable-rabbitmq' '--enable-kafka' '--enable-geoip' > '--enable-jansson' '--enable-l2' '--enable-64bit' > '--enable-traffic-bins' '--enable-bgp-bins' '--enable-bmp-bins' > '--enable-st-bins' > > Libs: > libpcap version 1.8.1 > PostgreSQL 19 > rabbimq-c 0.8.0 > rdkafka 0.11.3 > jansson 2.11 > > System: > Linux 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 > x86_64 > > Compiler: > gcc 7.4.0 > > For suggestions, critics, bugs, contact me: Paolo Lucente > . > > Anything related to pmbmpd or IOS-XR ? > > -- > FABIEN VINCENT > --- > @beufanet > --- > ___ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists ___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
[pmacct-discussion] pmbmpd and IPv6
Dear, I try to setup a PoC using pmbmpd I have a strange behavior with A9K/IOS-XR sending BMP data to bmp-server I have the sample config ! bmp_daemon: true bmp_daemon_ip: 10.x.y.z bmp_daemon_port: 1790 ! ! default to 10 !bmp_daemon_max_peers ! bmp_daemon_msglog_file: /var/log/pmbmpd/bmp-$peer_src_ip.log ! bmp_daemon_allow_file: /opt/pmacct/conf/bmp.allowed bmp_dump_file: /tmp/pmbmpd/$bmp_router-%s.dump bmp_dump_output: json bmp_dump_refresh_time: 120 And when dump files are written, nothing related to IPv6 BMP export. Is it supported on pmacct 1.7.3 ? # /usr/local/sbin/pmbmpd -V pmacct BMP Collector Daemon, pmbmpd 1.7.3-git (20190418-00+c4) Arguments: '--enable-pgsql' '--enable-rabbitmq' '--enable-kafka' '--enable-geoip' '--enable-jansson' '--enable-l2' '--enable-64bit' '--enable-traffic-bins' '--enable-bgp-bins' '--enable-bmp-bins' '--enable-st-bins' Libs: libpcap version 1.8.1 PostgreSQL 19 rabbimq-c 0.8.0 rdkafka 0.11.3 jansson 2.11 System: Linux 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 Compiler: gcc 7.4.0 For suggestions, critics, bugs, contact me: Paolo Lucente . Anything related to pmbmpd or IOS-XR ? -- FABIEN VINCENT --- @beufanet ---___ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists