Test Infomation

TitleInvalid Redirect vs Neighbor Cache State
CommandLine./hostRecvRedirectInvalid.seq -pkt ./hostRecvRedirectInvalid.def -log 65.html -ti Invalid Redirect vs Neighbor Cache State
TestVersion
ToolVersionundefined
Start2000/06/12 19:12:14
Tn.//tn.def
Nu/usr/local/v6eval//etc//nut.def
Pkt./hostRecvRedirectInvalid.def
Systemlinux-v6
TargetNameKernel 2.2.15
HostNametarget.tahi.org
Typehost

Test Sequence Execution Log

19:12:14Start
19:12:14Start Capturing Packets (Link0)


*** NONCE vs. Redirect w/ TLL, src=global (INVALID) ***
Initialization
New LLA of TN: 00:00:01:00:26:5c
19:12:14Clear Captured Packets (Link0)

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

Examine the target's state
19:12:14Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
19:12:14 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
19:12:18 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
19:12:18 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:960804738.974424
Got multicast NS, it was NONCE state
19:12:19 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv unexpect packet at 19:12:19
recv unexpect packet at 19:12:20
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:01:00:26:5d
19:12:23Clear Captured Packets (Link0)

Test
19:12:23 vSend(Link0,RDredirect_rone2nut_tll_invalid_hoplimit)
Send Redirect w/ TLL, hop limit!=255 (INVALID)

Examine the target's state
19:12:23Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
19:12:23 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
19:12:27 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
19:12:27 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:960804747.344011
Got multicast NS, it was NONCE state
19:12:27 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv unexpect packet at 19:12:28
recv unexpect packet at 19:12:29
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:01:00:26:5e
19:12:31Clear Captured Packets (Link0)

Test
19:12:31 vSend(Link0,RDredirect_rone2nut_tll_invalid_icmpcode)
Send Redirect w/ TLL, icmp code!=0 (INVALID)

Examine the target's state
19:12:31Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
19:12:31 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
19:12:35 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
19:12:35 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:960804755.715046
Got echo-reply, it was REACHABLE/STALE state

Wait for a NS (6 sec.)
19:12:35 vRecv(Link0,nd_unicast_ns nd_unicast_ns_sll nd_unicast_ns_to_z nd_unicast_ns_sll_to_z) timeout:6 cntLimit:1 seektime:0
Got unicast NS, it was STALE
19:12:40 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv unexpect packet at 19:12:41
recv unexpect packet at 19:12:42
recv unexpect packet at 19:12:43
recv unexpect packet at 19:12:44
vRecv() return status=1

NG: The target was in STALE state

*** NONCE vs. Redirect w/ TLL, checksum!=valid (INVALID) ***
Initialization
New LLA of TN: 00:00:01:00:26:5f
19:12:44Clear Captured Packets (Link0)

Test
19:12:44 vSend(Link0,RDredirect_rone2nut_tll_invalid_chksum)
Send Redirect w/ TLL, checksum!=valid (INVALID)

Examine the target's state
19:12:44Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
19:12:44 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
recv unexpect packet at 19:12:45
vRecv() return status=2

ERROR: Got unexpect packets
Target was in unknown state
19:12:45 vRecv(Link0,) timeout:10 cntLimit:0 seektime:0
vRecv() return status=1

NG: The target was in ERROR state

*** NONCE vs. Redirect w/ TLL, icmp dst=multicast (INVALID) ***
Initialization
New LLA of TN: 00:00:01:00:26:60
19:12:55Clear Captured Packets (Link0)

Test
19:12:55 vSend(Link0,RDredirect_rone2nut_tll_invalid_icmpdst)
Send Redirect w/ TLL, icmp dst=multicast (INVALID)

Examine the target's state
19:12:55Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
19:12:55 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
19:12:59 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
19:13:00 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:960804779.995689
Got multicast NS, it was NONCE state
19:13:00 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv unexpect packet at 19:13:00
recv unexpect packet at 19:13:01
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:01:00:26:61
19:13:04Clear Captured Packets (Link0)

Test
19:13:04 vSend(Link0,RDredirect_rone2nut_tll_invalid_router)
Send Redirect w/ TLL, src!=valid router (INVALID)

Examine the target's state
19:13:04Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
19:13:04 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
19:13:08 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
19:13:08 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:960804788.365829
Got echo-reply, it was REACHABLE/STALE state

Wait for a NS (6 sec.)
19:13:08 vRecv(Link0,nd_unicast_ns nd_unicast_ns_sll nd_unicast_ns_to_z nd_unicast_ns_sll_to_z) timeout:6 cntLimit:1 seektime:0
Got unicast NS, it was STALE
19:13:13 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv unexpect packet at 19:13:14
recv unexpect packet at 19:13:15
recv unexpect packet at 19:13:16
recv unexpect packet at 19:13:17
vRecv() return status=1

NG: The target was in STALE state

*** NONCE vs. Redirect w/ TLL, target=global & target!=dst (INVALID)***
Initialization
New LLA of TN: 00:00:01:00:26:62
Target: NONCE state
Set default router whose state is REACHABLE
19:13:17 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
19:13:17 vRecv(Link0,) timeout:3 cntLimit:0 seektime:0
recv unexpect packet at 19:13:18
vRecv() return status=1
19:13:20Clear Captured Packets (Link0)

Test
19:13:20 vSend(Link0,RDredirect_rone2nut_tll_invalid_target)
Send invalid Redirect
19:13:20 Wait 1 second

Examine the target's state
19:13:21 vSend(Link0,RDecho_request_tn2nut_global)
Send echo-request
19:13:21 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
19:13:21 vRecv(Link0,) timeout:6 cntLimit:0 seektime:0
recv unexpect packet at 19:13:22
recv unexpect packet at 19:13:23
vRecv() return status=1

OK: The target was NONCE state

Termination
19:13:27 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:STALEFAIL
*Redirect w/ TLL, checksum!=valid (INVALID)exp:NONCEresult:ERRORFAIL

Redirect w/ TLL, icmp dst=multicast (INVALID)exp:NONCEresult:NONCEPASS
*Redirect w/ TLL, src!=valid router (INVALID)exp:NONCEresult:STALEFAIL

Redirect w/ TLL, target=global & target!=dst (INVALID)exp:NONCEresult:NONCEPASS
*** EOT ***
19:13:28End

Packet Reverse Log