Test Information

TitleInvalid Redirect vs Neighbor Cache State
CommandLine./hostRecvRedirectInvalid.seq -pkt ./hostRecvRedirectInvalid.def -log 65.html -ti Invalid Redirect vs Neighbor Cache State
TestVersionREL_2_1_1
ToolVersionREL_3_3_2
Start2011/10/24 01:37:22
Tn.//tn.def
Nu/usr/local/v6eval//etc//nut.def
Pkt./hostRecvRedirectInvalid.def
Systemfreebsd-i386
TargetNamefreebsd-head
HostNameipv6-conf
Typehost

Test Sequence Execution Log

01:37:22Start
01:37:22Start Capturing Packets (Link0)


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

Test
01:37:22 vSend(Link0,RDredirect_rone2nut_tll_invalid_globalsrc)
Send Redirect w/ TLL, src=global (INVALID)

Examine the target's state
01:37:22Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
01:37:22 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:1319445442.468935
vRecv() return status=1

Timer expired
01:37:26 vSend(Link0,nd_echo_request)
Send echo-request

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

Test
01:37:30 vSend(Link0,RDredirect_rone2nut_tll_invalid_hoplimit)
Send Redirect w/ TLL, hop limit!=255 (INVALID)

Examine the target's state
01:37:30Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
01:37:30 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:1319445450.567927
vRecv() return status=1

Timer expired
01:37:34 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
01:37:34 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:1319445454.592838
Got multicast NS, it was NONCE state
01:37:34 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv a packet at 01:37:35
recv a packet at 01:37:36
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
01:37:38Clear Captured Packets (Link0)

Test
01:37:38 vSend(Link0,RDredirect_rone2nut_tll_invalid_icmpcode)
Send Redirect w/ TLL, icmp code!=0 (INVALID)

Examine the target's state
01:37:38Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
01:37:38 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:1319445458.667724
vRecv() return status=1

Timer expired
01:37:42 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
01:37:42 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:1319445462.692831
Got multicast NS, it was NONCE state
01:37:42 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv a packet at 01:37:43
recv a packet at 01:37:44
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
01:37:46Clear Captured Packets (Link0)

Test
01:37:46 vSend(Link0,RDredirect_rone2nut_tll_invalid_chksum)
Send Redirect w/ TLL, checksum!=valid (INVALID)

Examine the target's state
01:37:46Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
01:37:46 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:1319445466.766828
vRecv() return status=1

Timer expired
01:37:50 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
01:37:50 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:1319445470.791711
Got multicast NS, it was NONCE state
01:37:50 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv a packet at 01:37:51
recv a packet at 01:37:52
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
01:37:54Clear Captured Packets (Link0)

Test
01:37:54 vSend(Link0,RDredirect_rone2nut_tll_invalid_icmpdst)
Send Redirect w/ TLL, icmp dst=multicast (INVALID)

Examine the target's state
01:37:54Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
01:37:54 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:1319445474.865779
vRecv() return status=1

Timer expired
01:37:58 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
01:37:58 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:1319445478.889731
Got multicast NS, it was NONCE state
01:37:58 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv a packet at 01:37:59
recv a packet at 01:38:00
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
01:38:02Clear Captured Packets (Link0)

Test
01:38:02 vSend(Link0,RDredirect_rone2nut_tll_invalid_router)
Send Redirect w/ TLL, src!=valid router (INVALID)

Examine the target's state
01:38:02Start Capturing Packets (Link0)

Wait for a NS (4 sec.)
01:38:02 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:1319445482.965048
vRecv() return status=1

Timer expired
01:38:06 vSend(Link0,nd_echo_request)
Send echo-request

Wait for a echo-reply or multicast NS (2 sec.)
01:38:06 vRecv(Link0,nd_echo_reply nd_echo_reply_to_z2 nd_multicast_ns) timeout:2 cntLimit:1 seektime:1319445486.989645
Got multicast NS, it was NONCE state
01:38:07 vRecv(Link0,) timeout:4 cntLimit:0 seektime:0
recv a packet at 01:38:07
recv a packet at 01:38:08
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
01:38:11 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
01:38:11 vRecv(Link0,) timeout:3 cntLimit:0 seektime:0
vRecv() return status=1
01:38:14Clear Captured Packets (Link0)

Test
01:38:14 vSend(Link0,RDredirect_rone2nut_tll_invalid_target)
Send invalid Redirect
01:38:14 Wait 1 second

Examine the target's state
01:38:15 vSend(Link0,RDecho_request_tn2nut_global)
Send echo-request
01:38:15 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
01:38:15 vRecv(Link0,) timeout:6 cntLimit:0 seektime:0
recv a packet at 01:38:16
recv a packet at 01:38:17
vRecv() return status=1

OK: The target was NONCE state

Termination
01:38:21 vSend(Link0,RDra_rone2allnode_clrrtr RDra_tn2allnode_clrrtr)
Clear R1 from the Default Router List
Clear TN from the Default 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 ***
01:38:21End

Packet Reverse Log