Test Infomation

TitleInvalid Redirect vs Neighbor Cache State
CommandLine./hostRecvRedirectInvalid.seq -pkt ./hostRecvRedirectInvalid.def -log 65.html -ti Invalid Redirect vs Neighbor Cache State
TestVersionREL_1_1
ToolVersionREL_1_1
Start2000/07/31 14:38:59
Tn.//tn.def
Nu/usr/local/v6eval//etc//nut.def
Pkt./hostRecvRedirectInvalid.def
Systemkame-freebsd
TargetNameFreeBSD-3.4 Release + KAME-stable-20000704
HostNametarget1.toba.tahi.org
Typehost

Test Sequence Execution Log

14:38:59Start
14:38:59Start Capturing Packets (Link0)


*** NONCE vs. Redirect w/ TLL, src=global (INVALID) ***
Initialization
New LLA of TN: 00:00:00:00:01:bd
14:38:59Clear Captured Packets (Link0)

Test
14:38:59 vSend(Link0,RDredirect_rone2nut_tll_invalid_globalsrc)
Send Redirect w/ TLL, src=global (INVALID)

Examine the target's state
14:38:59Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
14:39:00 vRecv(Link0,nd_multicast_ns nd_unicast_ns nd_unicast_ns_sll nd_unicast_ns_to_z nd_unicast_ns_sll_to_z) timeout:4 cntLimit:1 seektime:0
vRecv() return status=1

Timer expired
14:39:04 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
14:39:04 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:965021944.135064
Got multicast NS, it was NONCE state
14:39:05 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv unexpect packet at 14:39:06
recv unexpect packet at 14:39:07
vRecv() return status=1

OK: The target was in NONCE state

*** NONCE vs. Redirect w/ TLL, hop limit!=255 (INVALID) ***
Initialization
New LLA of TN: 00:00:00:00:01:be
14:39:09Clear Captured Packets (Link0)

Test
14:39:09 vSend(Link0,RDredirect_rone2nut_tll_invalid_hoplimit)
Send Redirect w/ TLL, hop limit!=255 (INVALID)

Examine the target's state
14:39:09Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
14:39:09 vRecv(Link0,nd_multicast_ns nd_unicast_ns nd_unicast_ns_sll nd_unicast_ns_to_z nd_unicast_ns_sll_to_z) timeout:4 cntLimit:1 seektime:0
vRecv() return status=1

Timer expired
14:39:13 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
14:39:13 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:965021953.325032
Got multicast NS, it was NONCE state
14:39:14 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv unexpect packet at 14:39:15
recv unexpect packet at 14:39:16
vRecv() return status=1

OK: The target was in NONCE state

*** NONCE vs. Redirect w/ TLL, icmp code!=0 (INVALID) ***
Initialization
New LLA of TN: 00:00:00:00:01:bf
14:39:18Clear Captured Packets (Link0)

Test
14:39:18 vSend(Link0,RDredirect_rone2nut_tll_invalid_icmpcode)
Send Redirect w/ TLL, icmp code!=0 (INVALID)

Examine the target's state
14:39:18Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
14:39:18 vRecv(Link0,nd_multicast_ns nd_unicast_ns nd_unicast_ns_sll nd_unicast_ns_to_z nd_unicast_ns_sll_to_z) timeout:4 cntLimit:1 seektime:0
vRecv() return status=1

Timer expired
14:39:22 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
14:39:22 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:965021962.324976
Got multicast NS, it was NONCE state
14:39:23 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv unexpect packet at 14:39:24
recv unexpect packet at 14:39:25
vRecv() return status=1

OK: The target was in NONCE state

*** NONCE vs. Redirect w/ TLL, checksum!=valid (INVALID) ***
Initialization
New LLA of TN: 00:00:00:00:01:c0
14:39:27Clear Captured Packets (Link0)

Test
14:39:27 vSend(Link0,RDredirect_rone2nut_tll_invalid_chksum)
Send Redirect w/ TLL, checksum!=valid (INVALID)

Examine the target's state
14:39:27Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
14:39:27 vRecv(Link0,nd_multicast_ns nd_unicast_ns nd_unicast_ns_sll nd_unicast_ns_to_z nd_unicast_ns_sll_to_z) timeout:4 cntLimit:1 seektime:0
vRecv() return status=1

Timer expired
14:39:31 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
14:39:31 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:965021971.313922
Got multicast NS, it was NONCE state
14:39:32 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv unexpect packet at 14:39:33
recv unexpect packet at 14:39:34
vRecv() return status=1

OK: The target was in NONCE state

*** NONCE vs. Redirect w/ TLL, icmp dst=multicast (INVALID) ***
Initialization
New LLA of TN: 00:00:00:00:01:c1
14:39:36Clear Captured Packets (Link0)

Test
14:39:36 vSend(Link0,RDredirect_rone2nut_tll_invalid_icmpdst)
Send Redirect w/ TLL, icmp dst=multicast (INVALID)

Examine the target's state
14:39:36Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
14:39:36 vRecv(Link0,nd_multicast_ns nd_unicast_ns nd_unicast_ns_sll nd_unicast_ns_to_z nd_unicast_ns_sll_to_z) timeout:4 cntLimit:1 seektime:0
vRecv() return status=1

Timer expired
14:39:40 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
14:39:40 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:965021980.315993
Got multicast NS, it was NONCE state
14:39:41 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv unexpect packet at 14:39:42
recv unexpect packet at 14:39:43
vRecv() return status=1

OK: The target was in NONCE state

*** NONCE vs. Redirect w/ TLL, src!=valid router (INVALID) ***
Initialization
New LLA of TN: 00:00:00:00:01:c2
14:39:45Clear Captured Packets (Link0)

Test
14:39:45 vSend(Link0,RDredirect_rone2nut_tll_invalid_router)
Send Redirect w/ TLL, src!=valid router (INVALID)

Examine the target's state
14:39:45Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
14:39:45 vRecv(Link0,nd_multicast_ns nd_unicast_ns nd_unicast_ns_sll nd_unicast_ns_to_z nd_unicast_ns_sll_to_z) timeout:4 cntLimit:1 seektime:0
vRecv() return status=1

Timer expired
14:39:49 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
14:39:49 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:965021989.314307
Got multicast NS, it was NONCE state
14:39:50 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv unexpect packet at 14:39:50
recv unexpect packet at 14:39:51
vRecv() return status=1

OK: The target was in NONCE state

*** NONCE vs. Redirect w/ TLL, target=global & target!=dst (INVALID)***
Initialization
New LLA of TN: 00:00:00:00:01:c3
Target: NONCE state
Set default router whose state is REACHABLE
14:39:54 vSend(Link0,RDra_rone2allnode_sll RDunicast_na_rone2nut_RSO_tll)
R1 sends RA w/ SLL, then STALE state
R1 sends NA(RSO) w/ TLL, then REACHABLE state

Wait for DAD NS
14:39:54 vRecv(Link0,) timeout:3 cntLimit:0 seektime:0
vRecv() return status=1
14:39:57Clear Captured Packets (Link0)

Test
14:39:57 vSend(Link0,RDredirect_rone2nut_tll_invalid_target)
Send invalid Redirect
14:39:57 Wait 1 second

Examine the target's state
14:39:58 vSend(Link0,RDecho_request_tn2nut_global)
Send echo-request
14:39:58 vRecv(Link0,RDmulticast_ns_nut2tn_global RDmulticast_ns_nut2tn_sll_global RDecho_reply_nut2tn_global) timeout:6 cntLimit:0 seektime:0
Got multicast NS, it was NONCE
14:39:59 vRecv(Link0,) timeout:6 cntLimit:0 seektime:0
recv unexpect packet at 14:39:59
recv unexpect packet at 14:40:00
vRecv() return status=1

OK: The target was NONCE state

Termination
14:40:05 vSend(Link0,RDra_rone2allnode_clrrtr RDra_tn2allnode_clrrtr)
Clear R1 from the Defautl Router List
Clear TN from the Defautl Router List


*** Test Summary: NONCE vs. Invalid Redirect ***
P/FPTNEXPRESULTJDG

Redirect w/ TLL, src=global (INVALID)exp:NONCEresult:NONCEPASS

Redirect w/ TLL, hop limit!=255 (INVALID)exp:NONCEresult:NONCEPASS

Redirect w/ TLL, icmp code!=0 (INVALID)exp:NONCEresult:NONCEPASS

Redirect w/ TLL, checksum!=valid (INVALID)exp:NONCEresult:NONCEPASS

Redirect w/ TLL, icmp dst=multicast (INVALID)exp:NONCEresult:NONCEPASS

Redirect w/ TLL, src!=valid router (INVALID)exp:NONCEresult:NONCEPASS

Redirect w/ TLL, target=global & target!=dst (INVALID)exp:NONCEresult:NONCEPASS
*** EOT ***
14:40:05End

Packet Reverse Log