{"id":57,"date":"2009-05-03T14:47:11","date_gmt":"2009-05-03T13:47:11","guid":{"rendered":"http:\/\/kudzia.eu\/b\/?p=57"},"modified":"2011-04-30T10:22:26","modified_gmt":"2011-04-30T09:22:26","slug":"firefighting-asn32-and-quagga-crash","status":"publish","type":"post","link":"https:\/\/kudzia.eu\/b\/2009\/05\/firefighting-asn32-and-quagga-crash\/","title":{"rendered":"firefighting &#8211; asn32 and quagga crash"},"content":{"rendered":"<p>debian lenny, out-of-the-box quagga_0.99.10-1lenny1_i386<\/p>\n<p>symptoms of disaster in bgpd.log:<br \/>\n<code><br \/>\n2009\/05\/03 14:00:47 BGP: Assertion `len < str_size' failed in file bgp_aspath.c, line 619, function aspath_make_str_count\n2009\/05\/03 14:00:47 BGP: Backtrace for 14 stack frames:\n2009\/05\/03 14:00:47 BGP: [bt 0] \/usr\/lib\/libzebra.so.0(zlog_backtrace+0x2a) [0xb7f50a5a]\n2009\/05\/03 14:00:47 BGP: [bt 1] \/usr\/lib\/libzebra.so.0(_zlog_assert_failed+0x77) [0xb7f50be7]\n[..]\n<\/code><br \/>\n<!--more--><br \/>\nhectic googling brings very few results including:<br \/>\nhttp:\/\/groups.google.com\/group\/linux.debian.bugs.dist\/browse_thread\/thread\/8aff7837604f140e\/1a81302f8a5dc83f?lnk=raot<\/p>\n<p>i've followed suggestions, downloaded patch file from http:\/\/marc.info\/?l=quagga-dev&m=123364779626078&q=raw<br \/>\nedited it and removed beginning and endso it's valid patch. you can get it as well from<br \/>\n<a href='https:\/\/kudzia.eu\/b\/wp-content\/uploads\/20090503-quagga_asn32.txt'>here<\/a><\/p>\n<p>then quick download of source, applying the patch and compilation<br \/>\n<code><br \/>\ncd \/usr\/local\/src<br \/>\nwget http:\/\/www.quagga.net\/download\/quagga-0.99.11.tar.gz<br \/>\ntar -zxvf quagga-0.99.11.tar.gz<br \/>\nmv quagga-0.99.11 a<br \/>\npatch -p0 < 20090503-quagga_asn32.txt\ncd a\n.\/configure --disable-ipv6 --disable-ripngd --disable-ospfd --disable-ospf6d\nmake\nmake install\n<\/code><\/p>\n<p>uf... that was quite ... unexpected intervetion. i had to kick out debian's quagga, and hack some small custom startup script. i hope proper patched version will show sooner or later in debian's repositories.<\/p>\n<p>update:<br \/>\nproblem is actively discussed <a href=\"http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=526270\">here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>debian lenny, out-of-the-box quagga_0.99.10-1lenny1_i386 symptoms of disaster in bgpd.log: 2009\/05\/03 14:00:47 BGP: Assertion `len < str_size' failed in file bgp_aspath.c, line 619, function aspath_make_str_count 2009\/05\/03 14:00:47 BGP: Backtrace for 14 stack frames: 2009\/05\/03 14:00:47 BGP: [bt 0] \/usr\/lib\/libzebra.so.0(zlog_backtrace+0x2a) [0xb7f50a5a] 2009\/05\/03 14:00:47 BGP: [bt 1] \/usr\/lib\/libzebra.so.0(_zlog_assert_failed+0x77) [0xb7f50be7] [..]\n<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[5,6],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-tech","tag-bgp","tag-linux"],"_links":{"self":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":12,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":602,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/57\/revisions\/602"}],"wp:attachment":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}