Package: quagga
Version: 0.99.21-3
When i activate point-to-point on a loopback interface in quagga, quagga
will crash. As far as i know it is useless to make your loopback
interface an ospf interface, but i think it is better that a message
will be shown instead of a crash.
Linux 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64 GNU/Linux
Reproduce:
$ cdebootstrap wheezy quagga/
$ chroot quagga/
$ apt-get update
$ apt-get install quagga
$ apt-get install telnet
Turn on ospfd, zebra daemons in /etc/quagga/daemons file.
Make your config like this:
$ telnet localhost 2604
ospfd(config-router)# sh run
Current configuration:
!
hostname ospfd
password zebra
log stdout
!
!
!
interface eth0
!
interface eth2
!
interface eth2.5
!
interface eth2.11
!
interface lo
ip ospf authentication-key piet
ip ospf message-digest-key 23 md5 piet
!
router ospf
ospf router-id 127.0.0.1
network 127.0.0.1/8 area 0.0.0.1
!
line vty
!
end
Then make the loopback interface a point-to-point interface.
ospfd(config)# interface lo
ospfd(config-if)# ip ospf network point-to-point
ospfd(config-if)# Connection closed by foreign host.
When you view the logfile if enabled you see this stacktrace:
$ cat /var/log/quagga/ospfd.log
2012/11/09 11:50:53 OSPF: interface 127.0.0.1 [1] join AllSPFRouters
Multicast group.
2012/11/09 11:50:53 OSPF: ospf_packet_add(interface lo:127.0.0.1 in
state 4 [Point-To-Point], packet type Hello, destination 224.0.0.5)
called with NULL obuf, ignoring (please report this bug)!
OSPF: Received signal 11 at 1352461853 (si_addr 0x8); aborting...
Backtrace for 10 stack frames:
/usr/lib/libzebra.so.0(zlog_backtrace_sigsafe+0x3e)[0x7fbfa8999b0b]
/usr/lib/libzebra.so.0(zlog_signal+0x234)[0x7fbfa899a085]
/usr/lib/libzebra.so.0(+0x364d1)[0x7fbfa89a24d1]
/lib/x86_64-linux-gnu/libc.so.6(+0x324f0)[0x7fbfa7fd44f0]
/usr/lib/libospf.so.0(ospf_fifo_head+0x1)[0x7fbfa8bf3267]
/usr/lib/libospf.so.0(+0x2bc35)[0x7fbfa8bf3c35]
/usr/lib/libzebra.so.0(thread_call+0x67)[0x7fbfa898f80b]
/usr/lib/quagga/ospfd(main+0x3b5)[0x7fbfa9070f25]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7fbfa7fc0ead]
/usr/lib/quagga/ospfd(+0x1f79)[0x7fbfa9070f79]
--
Frank Baalbergen - System / Network Engineer
T +31 (0)10 2760434 | frank.baalber...@mendix.com | www.mendix.com
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org