Subject: bin/17477: rtadvd behaves badly, when changing iface status
To: None <>
From: None <>
List: netbsd-bugs
Date: 07/04/2002 01:14:38
>Number:         17477
>Category:       bin
>Synopsis:       rtadvd behaves badly, when changing iface status
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 04 01:15:00 PDT 2002
>Originator:     Tomi Nylund
>Release:        NetBSD 1.5.3_RC2
Univ. of Oulu
sik-gw1:(root)~# uname -a
NetBSD sik-gw1 1.5.3_RC2 NetBSD 1.5.3_RC2 (SIK-FIREWALL-IPV6) #0: Mon May 20 13:05:41 EEST 2002     root@sik-gw1:/mnt/syssrc/sys/arch/sparc/compile/SIK-FIREWALL-IPV6 sparc

rtadvd behaves badly, when changing routes by hand in a system where it is running. It starts to consume all CPU time, and causes the systemto slow down significantly. This bug has also been verified
with netbsd/i386, also 1.5.3_RC2.

1) start rtadvd on a gateway machine.
2) say, for example, ifconfig gif4 up ; sleep 2; ifconfig gif4 down
3) watch rtadvd eat all cpu.

rtadvd only advertises on a single interface, hme1. The config lookslike this:




dead beef is, of course, censored from our actual prefix.

In addition, following is printed in /var/log/messages:

Jul  4 11:04:35 sik-gw1 rtadvd[274]: <nd6_options> unexpected ND option(type 1)

None known, only kill -9 <rtadvd> and then /"etc/rc.d/rtadvd start"
helps. It does not transmit "route gone" that way, ie. does not cause
all our machines to lose def. gw.