Package: bird6 Version: 1.2.4-1 Severity: normal After using bird without any problems for at least 18 months (using a backport, the lenny version crashes), I finally decided to give bird6 a try. Beside many other things that should rather go into a huge rant, the following thing took several hours to track down:
Since I should not try out a routing daemon in a production
environment for obvious reasons, I used a private network with unique
local addresses (ULA, fc00::/7, RFC 4193) like e.g.
protocol bgp bgp03 {
local as 65002;
neighbor fddb:abcd:1234:ffff::203:3 as 65003;
import all;
}
bird6 did not show much activity with this as it consideres UL
addresses as invalid. The following patch fixes this by putting them
into the "site" scope. Personally, I'd also drop the "site local"
support as this has been deprecated several years ago.
Christoph
--- a/lib/ipv6.c
+++ b/lib/ipv6.c
@@ -69,6 +69,8 @@ ipv6_classify(ip_addr *a)
if ((x & 0xe0000000) == 0x20000000) /* Aggregatable Global Unicast
Address */
return IADDR_HOST | SCOPE_UNIVERSE;
+ if ((x & 0xfe000000) == 0xfc000000) /* Unique Local Address */
+ return IADDR_HOST | SCOPE_SITE;
if ((x & 0xffc00000) == 0xfe800000) /* Link-Local Address */
return IADDR_HOST | SCOPE_LINK;
if ((x & 0xffc00000) == 0xfec00000) /* Site-Local Address */
Regarding the system information: This is a Debian lenny installation
using a backport of bird from sid. The version number is actually
"1.2.4-1~bpo50+1", the bpo part was stripped above in order not to
confuse the BTS.
-- System Information:
Debian Release: 5.0.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32.17
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bird6 depends on:
ii libc6 2.7-18lenny4 GNU C Library: Shared libraries
ii libncurses5 5.7+20081213-1 shared libraries for terminal hand
ii libreadline5 5.2-3.1 GNU readline and history libraries
Versions of packages bird6 recommends:
ii bird 1.2.4-1~bpo50+1 Internet Routing Daemon
bird6 suggests no packages.
-- no debconf information
signature.asc
Description: Digital signature

