From: Heiko Z. <he...@zu...> - 2009-05-04 17:24:02
|
Thanks for the information. I downloaded the patch and will upload it to the build system with my next check in. Heiko Quoting Andrzej Odyniec <an...@ma...>: > Hi, > > Now last 0.99.11 Quagga is practically unusable, because now is in broadcast > prefix with very long path of 4-byte ASN path. When this prefix is received, > bgpd (last, 0.99.11, in 1.4RC1) crashes like this: > >> 2009/05/03 19:27:30 notifications: BGP: BGPd 0.99.11-realms >> starting: vty@2605, bgp@<all>:179 >> 2009/05/03 19:27:35 errors: BGP: 195.187.251.225 [Error] >> bgp_read_packet error: Connection reset by peer >> 2009/05/03 19:27:57 critical: BGP: Assertion `len < str_size' >> failed in file bgp_aspath.c, line 619, function aspath_make_str_count >> 2009/05/03 19:27:57 critical: BGP: Backtrace for 14 stack frames: >> 2009/05/03 19:27:57 critical: BGP: [bt 0] >> /usr/lib/libzebra.so.0(zlog_backtrace+0x34) [0x4f51e7ab] >> 2009/05/03 19:27:57 critical: BGP: [bt 1] >> /usr/lib/libzebra.so.0(_zlog_assert_failed+0xb5) [0x4f51e947] >> 2009/05/03 19:27:57 critical: BGP: [bt 2] /usr/sbin/bgpd [0x119ea440] >> 2009/05/03 19:27:57 critical: BGP: [bt 3] /usr/sbin/bgpd [0x119ea4aa] >> 2009/05/03 19:27:57 critical: BGP: [bt 4] /usr/sbin/bgpd [0x119ea4f5] >> 2009/05/03 19:27:57 critical: BGP: [bt 5] >> /usr/lib/libzebra.so.0(hash_get+0x39) [0x4f513c4b] >> 2009/05/03 19:27:57 critical: BGP: [bt 6] /usr/sbin/bgpd [0x119ebb63] >> 2009/05/03 19:27:57 critical: BGP: [bt 7] /usr/sbin/bgpd [0x119a7144] >> 2009/05/03 19:27:57 critical: BGP: [bt 8] /usr/sbin/bgpd [0x119c7e35] >> 2009/05/03 19:27:57 critical: BGP: [bt 9] >> /usr/sbin/bgpd(bgp_read+0x438) [0x119c9317] >> 2009/05/03 19:27:57 critical: BGP: [bt 10] >> /usr/lib/libzebra.so.0(thread_call+0x69) [0x4f50f5b5] >> 2009/05/03 19:27:57 critical: BGP: [bt 11] >> /usr/sbin/bgpd(main+0x38c) [0x11997b05] >> 2009/05/03 19:27:57 critical: BGP: [bt 12] >> /lib/libc.so.6(__libc_start_main+0x157) [0x4f1b1ff3] >> 2009/05/03 19:27:57 critical: BGP: [bt 13] /usr/sbin/bgpd [0x11997521] > > and propagated via BGP addresses are absent in the Internet. After restart > bgpd starts new sessions, obtain this ugly prefix again and again crashes > immediatelly. > > I'm not sure, but seems as problem like this is present in other routing > systems. After solving this problem in transit routers (i.e. via router > replacement), this path is propagated to the next neibors and today > or tomorow > can crash more BGP routers especially running Quagga. > > I solved this problem last night applying patch of Chris Caputo: > > https://www.caputo.com/foss/quagga-0.99.11-BGP-4-byte-ASN-bug-fixes.patch > > on the file bgpd/bgp_aspath.c > > After this my bgpd is working correctly. In my case this is working > today from > 3:30 CET and don't crashes again. > > I suggest to connect this patch to bgp patches for now, until guys > from Quagga > don't correct this problem --- or Devil-Linux as BGP router will be unusable. > > Best Regards > > -- > Andrzej Odyniec > > <an...@ma...> > Rada Nadzorcza Macrologic SA > ul. Chroscickiego 49, 02-414 Warszawa > tel. +48(22)8637681x132, fax: +48(22)8639861 > ul. Jagiellonska 36, 03-719 Warszawa > tel. +48(22)5118115, fax: +48(22)5118117 > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Devil-linux-develop mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-develop > -- Regards Heiko Zuerker http://www.devil-linux.org ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |