From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 21 10:26:14 2008 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CFB91065675 for ; Fri, 21 Mar 2008 10:26:14 +0000 (UTC) (envelope-from Iverson.Hsieh@zyxel.com.tw) Received: from zyfb01-66.zyxel.com.tw (zyfb01-66.zyxel.com.tw [59.124.183.66]) by mx1.freebsd.org (Postfix) with ESMTP id CD7A08FC31 for ; Fri, 21 Mar 2008 10:26:13 +0000 (UTC) (envelope-from Iverson.Hsieh@zyxel.com.tw) Received: from ZyTWBE03.ZyXEL.com ([172.23.5.49]) by zyfb01-66.zyxel.com.tw with Microsoft SMTPSVC(6.0.3790.1830); Fri, 21 Mar 2008 18:14:07 +0800 Received: from zytwbe01.zyxel.com ([172.23.5.10]) by ZyTWBE03.ZyXEL.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 21 Mar 2008 18:14:07 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Fri, 21 Mar 2008 18:14:02 +0800 Message-ID: <3B56167865B1F446AF6FF53FB98F028123AAA7@zytwbe01.ZyXEL.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: A problem in ndp and rtadvd. Thread-Index: AciLPEmILvCYGY5gQpqukTgdw8ZiGQ== From: =?big5?B?SXZlcnNvbiBIc2llaCAtwcKp066m?= To: X-OriginalArrivalTime: 21 Mar 2008 10:14:07.0705 (UTC) FILETIME=[4C745490:01C88B3C] Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: A problem in ndp and rtadvd. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2008 10:26:14 -0000 Dear all: I use command, date, to set current time. I find this causes the two=20 problems. I test the following two cases in freebsd 5.5-STABLE and=20 in freebsd 7.0-BETA2, and I find the result is the same. =20 1.in neighbor discovery protocol(ndp) The following is my command sequence. =20 $ ndp -a Neighbor Linklayer Address = Netif Expire S Flags 2001:b121:4::cccc 0:50:8d:48:57:9a = fxp0 permanent R 2001:b121:4:0:41f7:42ee:d08c:ca8c 0:90:cc:c2:aa:61 fxp0 26s = R 9999:9999::1 0:5:1c:15:a:8b = rl0 permanent R fe80::205:1cff:fe15:a8b%rl0 0:5:1c:15:a:8b rl0 = permanent R fe80::250:8dff:fe48:579a%fxp0 0:50:8d:48:57:9a fxp0 = permanent R fe80::290:ccff:fec2:aa61%fxp0 0:90:cc:c2:aa:61 fxp0 30s = R fe80::1%lo0 (incomplete) = lo0 permanent R =20 $ date Fri Mar 21 16:14:18 UTC 2008 =20 $ sudo date 0703211614 Password: Wed Mar 21 16:14:00 UTC 2007 =20 $ ndp -a Neighbor Linklayer Address = Netif Expire S Flags 2001:b121:4::cccc 0:50:8d:48:57:9a = fxp0 permanent R 2001:b121:4:0:41f7:42ee:d08c:ca8c 0:90:cc:c2:aa:61 fxp0 = 366d0h0m4 R 9999:9999::1 0:5:1c:15:a:8b = rl0 permanent R fe80::205:1cff:fe15:a8b%rl0 0:5:1c:15:a:8b rl0 = permanent R fe80::250:8dff:fe48:579a%fxp0 0:50:8d:48:57:9a fxp0 = permanent R fe80::290:ccff:fec2:aa61%fxp0 0:90:cc:c2:aa:61 fxp0 = 366d0h0m4 R fe80::1%lo0 (incomplete) = lo0 permanent R =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 I adjust system current time to one year ago by using 'date' command. = we can find ndp expiration time, in Expire column, also extended one year. Is this = OK? =20 2.in router advertisement daemon(rtadvd) I also adjust system current time to test rtadvd. Before I adjust = system current time, rtadvd can send unsolicited RA periodically. rtadvd can = send unsolicited RA about from 200 seconds to 600 seconds each time. But = after I=20 adjust system current time to one year ago, rtadvd does not send = unsolicited=20 RA any more. Is the behavior correct? =20 =20 =20 =20