| Title | Processing Invalid Relay-reply Message |
| CommandLine | ./S_RFC3315_15.14_InvalidRelayReplyMsg.seq -pkt ./S_RFC3315_15.14_InvalidRelayReplyMsg.def -log 50.html -ti Processing Invalid Relay-reply Message |
| TestVersion | DHCPv6_1_0 |
| ToolVersion | REL_3_0_8 |
| Start | 2006/03/30 09:34:45 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./S_RFC3315_15.14_InvalidRelayReplyMsg.def |
| System | freebsd-i386 |
| TargetName | FreeBSD 5.4-RELEASE-p7 |
| HostName | NS1.example.com |
| Type | host |
| 09:34:45 | Start | ||||||||||||||||
|
==== NUT Initialization ==== vRemote("dhcp6s.rmt", "start","rapidcommit","link0=bfe0","startaddr=3ffe:501:ffff:101::10","endaddr=3ffe:501:ffff:101::11","valduid=00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2") |
|||||||||||||||||
| 09:34:45 |
vRemote(dhcp6s.rmt) ``/usr/local/v6eval//bin/freebsd-i386//dhcp6s.rmt -t freebsd-i386 -u root -p v6eval -d cuaa0 -o 1 start rapidcommit link0=bfe0 startaddr=3ffe:501:ffff:101::10 endaddr=3ffe:501:ffff:101::11 valduid=00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2''
eval $main::rOpt_start='1'
eval $main::rOpt_rapidcommit='1'
eval $main::rOpt_link0='bfe0'
eval $main::rOpt_startaddr='3ffe:501:ffff:101::10'
eval $main::rOpt_endaddr='3ffe:501:ffff:101::11'
eval $main::rOpt_valduid='00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2'
Connected
prompt_user: ``login: '', prompt_password: ``Password:'', prompt_command: ``(\$|#) ''
rLogin: Wait for login prompt (0.2 sec)
rLogin: Never got prompt; try again
rLogin: Wait for login prompt (5 sec)
NS1# rLogin: Got command prompt
rLogin: Got command prompt
Make dhcp6s.conf
#;
#;
#;
#;
#;
#;
interface bfe0 {
allow rapid-commit;
#;
};
host TN{
duid 00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2;
#;
address 3ffe:501:ffff:101::10 10000 20000;
#;
};
#
#;
#;
#;
#;
Put local:freebsd-i386.dhcp6s.conf to remote:/tmp/dhcp6s.conf
NS1# ~[set] echocheck
NS1# rPutfile: Starting copying
NS1# ~[put] freebsd-i386.dhcp6s.conf /tmp/dhcp6s.conf
DNS1#
NS1# rPutfile: Copying completed
Put local:freebsd-i386.dhcp6ctl.conf to remote:/tmp/dhcp6ctlkey
NS1# ~[set] echocheck
NS1# rPutfile: Starting copying
NS1# ~[put] freebsd-i386.dhcp6ctl.conf /tmp/dhcp6ctlkey
DNS1#
NS1# rPutfile: Copying completed
_rCommand: Try to get command prompt (0.2 sec.)
_rCommand: Try to get command prompt ( sec.)
NS1# _rCommand: Do ``killall dhcp6s'' command
killall dhcp6s
sendMessagesSync: got echo back of killall dhcp6s
rCommand: Try to get command prompt (0.2 sec)
No matching processes were found
NS1# rCommand: CmdOutput=``
No matching processes were found
NS1''
echo $status
1
sendMessagesSync: got echo back of echo $status
rCommand: exit status: 1
Start dhcp6s
_rCommand: Try to get command prompt (0.2 sec.)
NS1# _rCommand: Do ``/usr/local/sbin/dhcp6s -D -c /tmp/dhcp6s.conf -k /tmp/dhcp6ctlkey bfe0'' command
/usr/local/sbin/dhcp6s -D -c /tmp/dhcp6s.conf -k /tmp/dhcp6ctlkey bfe0
sendMessagesSync: got echo back of /usr/local/sbin/dhcp6s -D -c /tmp/dhcp6s.conf -k /tmp/dhcp6ctlkey bfe0
rCommand: Try to get command prompt (0.2 sec)
NS1# rCommand: CmdOutput=``
NS1''
echo $status
0
sendMessagesSync: got echo back of echo $status
rCommand: exit status: 0
prompt_user: ``login: '', prompt_password: ``Password:'', prompt_command: ``(\$|#) ''
rLogout: skip by not specifing ``-l''
~
[EOT]
| ||||||||||||||||
| 09:34:59 | Start Capturing Packets (Link0) | ||||||||||||||||
| 09:34:59 | Clear Captured Packets (Link0) | ||||||||||||||||
| 09:34:59 |
vSend(Link0,relay_advertise_invalid) send relay_advertise_invalid |
||||||||||||||||
Relay-reply Message
Advertise Message in Relay Message Option
|
|||||||||||||||||
| 09:34:59 | vRecv(Link0, ns_nut_to_relay2_0 ns_nut_to_relay1_0 ns_nut_to_relay2_0_global_global ns_nut_to_relay1_0_global_global ns_nutga_to_any ns_nut_to_relay1_0_global ns_nut_to_any_global ns_nut_to_any_local) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 09:35:01 vRecv() return status=1 |
||||||||||||||||
|
Could not get Message The Message exchange is correct *** Target test finish *** DHCPv6 Server stop |
|||||||||||||||||
| 09:35:04 |
vRemote(dhcp6s.rmt) ``/usr/local/v6eval//bin/freebsd-i386//dhcp6s.rmt -t freebsd-i386 -u root -p v6eval -d cuaa0 -o 1 stop ''
eval $main::rOpt_stop='1' Connected prompt_user: ``login: '', prompt_password: ``Password:'', prompt_command: ``(\$|#) '' rLogin: Wait for login prompt (0.2 sec) rLogin: Never got prompt; try again rLogin: Wait for login prompt (5 sec) NS1# rLogin: Got command prompt rLogin: Got command prompt _rCommand: Try to get command prompt (0.2 sec.) _rCommand: Try to get command prompt ( sec.) NS1# _rCommand: Do ``killall dhcp6s'' command killall dhcp6s sendMessagesSync: got echo back of killall dhcp6s rCommand: Try to get command prompt (0.2 sec) NS1# rCommand: CmdOutput=`` NS1'' echo $status 0 sendMessagesSync: got echo back of echo $status rCommand: exit status: 0 prompt_user: ``login: '', prompt_password: ``Password:'', prompt_command: ``(\$|#) '' rLogout: skip by not specifing ``-l'' ~ [EOT] | ||||||||||||||||
| 09:35:05 | Stop Capturing Packets (Link0) | ||||||||||||||||
|
Stop Link0 OK |
|||||||||||||||||
| 09:35:06 | End |
Frame_Ether (length:164) | Hdr_Ether (length:14) | | DestinationAddress = 00:11:09:b0:ea:b8 | | SourceAddress = 00:00:00:00:a6:a6 | | Type = 34525 | Packet_IPv6 (length:150) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 110 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a4a4 | | | DestinationAddress = fe80::211:9ff:feb0:eab8 | | Upp_UDP (length:110) | | | Hdr_UDP (length:8) | | | | SourcePort = 547 | | | | DestinationPort = 547 | | | | Length = 110 | | | | Checksum = 50861 calc(50861) | | | Udp_DHCPv6_RelayReply (length:102) | | | | Type = 13 | | | | HopCount = 0 | | | | LinkAddr = :: | | | | PeerAddr = fe80::200:ff:fe00:a2a2 | | | | Opt_DHCPv6_IID (length:8) | | | | | Code = 18 | | | | | Length = 4 | | | | | Identifier = 01010101 | | | | Opt_DHCPv6_RelayMessage (length:60) | | | | | Code = 9 | | | | | Length = 56 | | | | | Udp_DHCPv6_Advertise (length:56) | | | | | | Type = 2 | | | | | | Identifier = 103 | | | | | | Opt_DHCPv6_CID (length:18) | | | | | | | Code = 1 | | | | | | | Length = 14 | | | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | | | Type = 1 | | | | | | | | HardwareType = 1 | | | | | | | | Time = 300000 | | | | | | | | LinkLayerAddress = 00:00:00:00:a2:a2 | | | | | | Opt_DHCPv6_SID (length:18) | | | | | | | Code = 2 | | | | | | | Length = 14 | | | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | | | Type = 1 | | | | | | | | HardwareType = 1 | | | | | | | | Time = 400000 | | | | | | | | LinkLayerAddress = 00:00:00:00:a1:a1 | | | | | | Opt_DHCPv6_IA_NA (length:16) | | | | | | | Code = 3 | | | | | | | Length = 12 | | | | | | | Identifier = 101010 | | | | | | | Time1 = 4000 | | | | | | | Time2 = 5000
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:03 | | SourceAddress = 00:11:09:b0:ea:b8 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 0 | | | HopLimit = 1 | | | SourceAddress = fe80::211:9ff:feb0:eab8 | | | DestinationAddress = ff05::1:3 | | Hdr_HopByHop (length:8) | | | NextHeader = 58 | | | HeaderExtLength = 0 | | | Opt_PadN (length:2) | | | | OptionType = 1 | | | | OptDataLength = 0 | | | Opt_RouterAlert (length:4) | | | | OptionType = 5 | | | | OptDataLength = 2 | | | | Value = 0 | | ICMPv6_MLDReport (length:24) | | | Type = 131 | | | Code = 0 | | | Checksum = 35486 calc(35486) | | | MaxResponseDelay = 0 | | | Reserved = 0 | | | MulticastAddress = ff05::1:3 ===ns_nut_to_relay2_0================================= ng compare _HDR_IPV6_ns_nut_to_relay2_0.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nut_to_relay2_0.HopLimit received:1 = 255 ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nut_to_relay1_0================================= ng compare _HDR_IPV6_ns_nut_to_relay1_0.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nut_to_relay1_0.HopLimit received:1 = 255 ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nut_to_relay2_0_global_global================================= ng compare _HDR_IPV6_ns_nut_to_relay2_0_global_global.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nut_to_relay2_0_global_global.HopLimit received:1 = 255 ng compare _HDR_IPV6_ns_nut_to_relay2_0_global_global.SourceAddress received:fe80::211:9ff:feb0:eab8 = 3ffe:501:ffff:100::abcd ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nut_to_relay1_0_global_global================================= ng compare _HDR_IPV6_ns_nut_to_relay1_0_global_global.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nut_to_relay1_0_global_global.HopLimit received:1 = 255 ng compare _HDR_IPV6_ns_nut_to_relay1_0_global_global.SourceAddress received:fe80::211:9ff:feb0:eab8 = 3ffe:501:ffff:100::abcd ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nutga_to_any================================= ng compare _HDR_IPV6_ns_nutga_to_any.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nutga_to_any.HopLimit received:1 = 255 ng compare _HDR_IPV6_ns_nutga_to_any.SourceAddress received:fe80::211:9ff:feb0:eab8 = 3ffe:501:ffff:100::abcd ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nut_to_relay1_0_global================================= ng compare _HDR_IPV6_ns_nut_to_relay1_0_global.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nut_to_relay1_0_global.HopLimit received:1 = 255 ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nut_to_any_global================================= ng compare _HDR_IPV6_ns_nut_to_any_global.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nut_to_any_global.HopLimit received:1 = 255 ng compare _HDR_IPV6_ns_nut_to_any_global.SourceAddress received:fe80::211:9ff:feb0:eab8 = 3ffe:501:ffff:100::abcd ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6 ===ns_nut_to_any_local================================= ng compare _HDR_IPV6_ns_nut_to_any_local.NextHeader received:0 = 58 ng compare _HDR_IPV6_ns_nut_to_any_local.HopLimit received:1 = 255 ng meta Packet_IPv6.ICMPv6_NS != Packet_IPv6.Hdr_HopByHop ng count Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv6