Title | Redirect vs NONCE |
CommandLine | ./hostRecvRedirect4Nonce.seq -pkt ./hostRecvRedirect4Nonce.def -log 74.html -ti Redirect vs NONCE |
TestVersion | |
ToolVersion | undefined |
Start | 2000/06/12 19:19:47 |
Tn | .//tn.def |
Nu | /usr/local/v6eval//etc//nut.def |
Pkt | ./hostRecvRedirect4Nonce.def |
System | linux-v6 |
TargetName | Kernel 2.2.15 |
HostName | target.tahi.org |
Type | host |
19:19:47 | Start |
Initialization |
|
19:19:47 | Start Capturing Packets (Link0) |
19:19:47 |
vRemote(clearroute.rmt) ``/usr/local/v6eval//bin/linux-v6/clearroute.rmt -t linux-v6 -u root -p v6eval -d cuaa0c -o 1 ''
connected # # route -A inet6 del ::/0 metric 1024 SIOCDELRT: No such process # echo $? 7 # ~ [EOT] |
Target: Clear Routes New LLA of TN: 00:00:01:00:26:75 |
|
19:19:49 |
vSend(Link0,ra_rone2allnode_sll unicast_na_rone2nut_RSO_tll) Router R1 sends RA w/ SLL, then STALE Router R1 sends NA w/ TLL, then REACHABLE |
Wait for DAD |
|
19:19:49 | vRecv(Link0,) timeout:3 cntLimit:0 seektime:0 vRecv() return status=1 |
Test *** Verify that the default router works *** |
|
19:19:52 |
vSend(Link0,echo_request_a) Send echo-request that is forwarded from the default router (R1) |
19:19:52 | vRecv(Link0,echo_reply_a) timeout:2 cntLimit:0 seektime:960805192.738373 Got echo-reply that was thrown to the default router (R1) |
19:19:52 |
vSend(Link0,redirect_rone2nut_tll) Send redirect to the second router (TN), then STALE |
*** Verify that redirect works *** |
|
19:19:52 |
vSend(Link0,echo_request_b) Send echo-request that is forwarded from the default router (R1) |
19:19:52 | vRecv(Link0,echo_reply_b echo_reply_b2 multicast_ns_nut2tnsol_sll) timeout:2 cntLimit:0 seektime:960805192.983360 Got echo-reply that was thrown to the second router (TN) |
Redirect is accepted *** Wait for NONCE *** | |
19:19:53 | Wait 6 second |
Then, DELAY->PROBE |
|
19:19:59 | vRecv(Link0,unicast_ns_nut2tn unicast_ns_nut2tn_sll) timeout:3 cntLimit:0 seektime:0 Got unicast NS, then PROBE |
19:19:59 | vRecv(Link0,) timeout:3 cntLimit:0 seektime:0 recv unexpect packet at 19:19:58 recv unexpect packet at 19:19:59 recv unexpect packet at 19:20:00 recv unexpect packet at 19:20:01 vRecv() return status=1 |
Then, NONCE *** Verify that NUD removes Destination Cache entry *** |
|
19:20:02 |
vSend(Link0,echo_request_b) Send echo-request that is forwarded from the default router (R1) |
19:20:02 | vRecv(Link0,echo_reply_b echo_reply_b2 multicast_ns_nut2tnsol_sll) timeout:2 cntLimit:0 seektime:960805202.284513 Got echo-reply that was thrown to the second router (TN) |
Redirect is accepted The echo-reply was thrown to the second router whose NC entry has been removed ERROR: NUD does not work at redirected entry Termination |
|
19:20:02 |
vSend(Link0,ra_rone2allnode_clrrtr) Clear the Default Router List |
*** NG *** |
|
19:20:02 | End |
Frame_Ether (length:110) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:0:0:0:1 | | SourceAddress = 0:0:0:0:a0:a0 | | Type = 34525 | Packet_IPv6 (length:96) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 56 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:a0a0 | | | DestinationAddress = ff02::1 | | ICMPv6_RA (length:56) | | | Type = 134 | | | Code = 0 | | | Checksum = 58617 calc(58617) | | | CurHopLimit = 0 | | | MFlag = 0 | | | OFlag = 0 | | | Reserved = 0 | | | LifeTime = 600 | | | ReachableTime = 0 | | | RetransTimer = 0 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:0:0:a0:a0 | | | Opt_ICMPv6_Prefix (length:32) | | | | Type = 3 | | | | Length = 4 | | | | PrefixLength = 64 | | | | LFlag = 1 | | | | AFlag = 1 | | | | Reserved1 = 0 | | | | ValidLifetime = 2592000 | | | | PreferredLifetime = 604800 | | | | Reserved2 = 0 | | | | Prefix = 3ffe:501:ffff:100::
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:1:0:24:da | | SourceAddress = 0:0:0:0:a0:a0 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:a0a0 | | | DestinationAddress = fe80::200:1ff:fe00:24da | | ICMPv6_NA (length:32) | | | Type = 136 | | | Code = 0 | | | Checksum = 36708 calc(36708) | | | RFlag = 1 | | | SFlag = 1 | | | OFlag = 1 | | | Reserved = 0 | | | TargetAddress = fe80::200:ff:fe00:a0a0 | | | Opt_ICMPv6_TLL (length:8) | | | | Type = 2 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:0:0:a0:a0
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:1:0:24:da | | SourceAddress = 0:0:0:0:a0:a0 | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:109:200:ff:fe00:a9a9 | | | DestinationAddress = 3ffe:501:ffff:100:200:1ff:fe00:24da | | ICMPv6_EchoRequest (length:24) | | | Type = 128 | | | Code = 0 | | | Checksum = 8738 calc(8738) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = ffffffff ffffffff ffffffff ffffffff
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:a0:a0 | | SourceAddress = 0:0:1:0:24:da | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:1ff:fe00:24da | | | DestinationAddress = 3ffe:501:ffff:109:200:ff:fe00:a9a9 | | ICMPv6_EchoReply (length:24) | | | Type = 129 | | | Code = 0 | | | Checksum = 8482 calc(8482) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = ffffffff ffffffff ffffffff ffffffff ===echo_reply_a=================================
Frame_Ether (length:102) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:1:0:24:da | | SourceAddress = 0:0:0:0:a0:a0 | | Type = 34525 | Packet_IPv6 (length:88) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 48 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:a0a0 | | | DestinationAddress = fe80::200:1ff:fe00:24da | | ICMPv6_Redirect (length:48) | | | Type = 137 | | | Code = 0 | | | Checksum = 28666 calc(28666) | | | Reserved = 0 | | | TargetAddress = fe80::200:1ff:fe00:2675 | | | DestinationAddress = 3ffe:501:ffff:109:200:ff:fe00:a9a9 | | | Opt_ICMPv6_TLL (length:8) | | | | Type = 2 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:1:0:26:75
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:1:0:24:da | | SourceAddress = 0:0:0:0:a0:a0 | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:109:200:ff:fe00:a9a9 | | | DestinationAddress = 3ffe:501:ffff:100:200:1ff:fe00:24da | | ICMPv6_EchoRequest (length:24) | | | Type = 128 | | | Code = 0 | | | Checksum = 48059 calc(48059) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = cccccccc cccccccc cccccccc cccccccc
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:1:0:26:75 | | SourceAddress = 0:0:1:0:24:da | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:1ff:fe00:24da | | | DestinationAddress = 3ffe:501:ffff:109:200:ff:fe00:a9a9 | | ICMPv6_EchoReply (length:24) | | | Type = 129 | | | Code = 0 | | | Checksum = 47803 calc(47803) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = cccccccc cccccccc cccccccc cccccccc ===echo_reply_b================================= ng compare hether_nut2rone.DestinationAddress received:0:0:1:0:26:75 = 0:0:0:0:a0:a0 ===echo_reply_b2=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:1:0:26:75 | | SourceAddress = 0:0:1:0:24:da | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:1ff:fe00:24da | | | DestinationAddress = fe80::200:1ff:fe00:2675 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 56962 calc(56962) | | | Reserved = 0 | | | TargetAddress = fe80::200:1ff:fe00:2675 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:1:0:24:da ===unicast_ns_nut2tn================================= ng count Packet_IPv6.ICMPv6_NS != Packet_IPv6.ICMPv6_NS ===unicast_ns_nut2tn_sll=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:1:0:26:75 | | SourceAddress = 0:0:1:0:24:da | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:1ff:fe00:24da | | | DestinationAddress = fe80::200:1ff:fe00:2675 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 56962 calc(56962) | | | Reserved = 0 | | | TargetAddress = fe80::200:1ff:fe00:2675 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:1:0:24:da
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:1:0:26:75 | | SourceAddress = 0:0:1:0:24:da | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:1ff:fe00:24da | | | DestinationAddress = fe80::200:1ff:fe00:2675 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 56962 calc(56962) | | | Reserved = 0 | | | TargetAddress = fe80::200:1ff:fe00:2675 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:1:0:24:da
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:ff:0:26:75 | | SourceAddress = 0:0:1:0:24:da | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:1ff:fe00:24da | | | DestinationAddress = ff02::1:ff00:2675 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 57598 calc(57598) | | | Reserved = 0 | | | TargetAddress = fe80::200:1ff:fe00:2675 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:1:0:24:da
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:ff:0:26:75 | | SourceAddress = 0:0:1:0:24:da | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:1ff:fe00:24da | | | DestinationAddress = ff02::1:ff00:2675 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 57598 calc(57598) | | | Reserved = 0 | | | TargetAddress = fe80::200:1ff:fe00:2675 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:1:0:24:da
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:1:0:24:da | | SourceAddress = 0:0:0:0:a0:a0 | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:109:200:ff:fe00:a9a9 | | | DestinationAddress = 3ffe:501:ffff:100:200:1ff:fe00:24da | | ICMPv6_EchoRequest (length:24) | | | Type = 128 | | | Code = 0 | | | Checksum = 48059 calc(48059) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = cccccccc cccccccc cccccccc cccccccc
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:1:0:26:75 | | SourceAddress = 0:0:1:0:24:da | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:1ff:fe00:24da | | | DestinationAddress = 3ffe:501:ffff:109:200:ff:fe00:a9a9 | | ICMPv6_EchoReply (length:24) | | | Type = 129 | | | Code = 0 | | | Checksum = 47803 calc(47803) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = cccccccc cccccccc cccccccc cccccccc ===echo_reply_b================================= ng compare hether_nut2rone.DestinationAddress received:0:0:1:0:26:75 = 0:0:0:0:a0:a0 ===echo_reply_b2=================================
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:0:0:0:1 | | SourceAddress = 0:0:0:0:a0:a0 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:a0a0 | | | DestinationAddress = ff02::1 | | ICMPv6_RA (length:16) | | | Type = 134 | | | Code = 0 | | | Checksum = 55951 calc(55951) | | | CurHopLimit = 0 | | | MFlag = 0 | | | OFlag = 0 | | | Reserved = 0 | | | LifeTime = 0 | | | ReachableTime = 0 | | | RetransTimer = 0