Subject: bin/17477: rtadvd behaves badly, when changing iface status
To: None <gnats-bugs@gnats.netbsd.org>
From: None <spambait-1@sik.oulu.fi>
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
>Closed-Date:
>Last-Modified:
>Originator: Tomi Nylund
>Release: NetBSD 1.5.3_RC2
>Organization:
Univ. of Oulu
>Environment:
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
sik-gw1:(root)~#
>Description:
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.
>How-To-Repeat:
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:
default:\
:chlim#64:raflags#0:rltime#1800:rtime#30000:retrans#1000:\
:pinfoflags#192:vltime#3600000:pltime#3600000:mtu#1500:
ether:\
:mtu#1500:tc=default:
hme1:\
:addrs#1:addr="dead:beef:0580:50::":prefixlen#64:tc=ether:
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)
>Fix:
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.
>Release-Note:
>Audit-Trail:
>Unformatted: