| Title | Receiving Solicit Message and Sending Advertise Message |
| CommandLine | ./auth/S_RFC3315_21.4.5.1_SolAdv.seq -pkt ./auth/S_RFC3315_21.4.5.1_SolAdv.def -log 6.html -ti Receiving Solicit Message and Sending Advertise Message |
| TestVersion | DHCPv6_1_0 |
| ToolVersion | REL_3_0_8 |
| Start | 2006/03/30 11:39:10 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./auth/S_RFC3315_21.4.5.1_SolAdv.def |
| System | freebsd-i386 |
| TargetName | FreeBSD 5.4-RELEASE-p7 |
| HostName | NS1.example.com |
| Type | host |
| 11:39:10 | Start | ||||||||||||
|
==== NUT Initialization ==== Authentication Information REALM: DHCPv6.TEST.EXAMPLE.COM Key ID: 1 Shared Secret Key: TAHITEST_VALID12 Device's Key Type: MIME64, Encoded value: VEFISVRFU1RfVkFMSUQxMg== vRemote("dhcp6s.rmt", "start" , "authentication=delayed", "auth_realm=DHCPv6.TEST.EXAMPLE.COM", "auth_keyid=1", "auth_sharedsecretkey=VEFISVRFU1RfVkFMSUQxMg==", "link0=bfe0","startaddr=3ffe:ffff:100::10","endaddr=3ffe:ffff:100::11") |
|||||||||||||
| 11:39:10 |
vRemote(dhcp6s.rmt) ``/usr/local/v6eval//bin/freebsd-i386//dhcp6s.rmt -t freebsd-i386 -u root -p v6eval -d cuaa0 -o 1 start authentication=delayed auth_realm=DHCPv6.TEST.EXAMPLE.COM auth_keyid=1 auth_sharedsecretkey=VEFISVRFU1RfVkFMSUQxMg== link0=bfe0 startaddr=3ffe:ffff:100::10 endaddr=3ffe:ffff:100::11''
eval $main::rOpt_start='1'
eval $main::rOpt_authentication='delayed'
eval $main::rOpt_auth_realm='DHCPv6.TEST.EXAMPLE.COM'
eval $main::rOpt_auth_keyid='1'
eval $main::rOpt_auth_sharedsecretkey='VEFISVRFU1RfVkFMSUQxMg=='
eval $main::rOpt_link0='bfe0'
eval $main::rOpt_startaddr='3ffe:ffff:100::10'
eval $main::rOpt_endaddr='3ffe:ffff:100::11'
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 {
#;
#;
};
host TN{
duid 00:01:00:01:00:04:93:e0:00:00:00:00:a2:a2;
#;
address 3ffe:ffff:100::10 10000 20000;
delayedkey TN;
};
keyinfo TN{
realm "DHCPv6.TEST.EXAMPLE.COM";
keyid 1;
secret "VEFISVRFU1RfVkFMSUQxMg==";
};
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]
| ||||||||||||
| 11:39:24 | Start Capturing Packets (Link0) | ||||||||||||
| 11:39:24 | Clear Captured Packets (Link0) | ||||||||||||
|
==== DHCP Client-Initiated Configuration Exchange using Delayed Authentication Protocol ==== |
|||||||||||||
| 11:39:24 |
vSend(Link0,solicit_client1_to_alldhcp) Send DHCPv6 Solicit Message: CLIENT1 --> all DHCPv6 Servers |
||||||||||||
Solicit Message
|
|||||||||||||
| 11:39:25 | vRecv(Link0,dhcp6_advertise 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 Receive DHCPv6 Advertise Message: NUT --> Any |
||||||||||||
|
got DHCPv6 Advertise Message Advertise Message
Checking Opt_DHCPv6_SID Opt_DHCPv6_SID found Checking Opt_DHCPv6_CID Opt_DHCPv6_CID found Checking Opt_DHCPv6_Authentication Opt_DHCPv6_Authentication found Comparing Identifier Comparing Opt_DHCPv6_CID Code matched.:1 == 1 Length matched.:14 == 14 DHCPv6_DUID_LLT_Ether matched.:Type HardwareType Time LinkLayerAddress == Type HardwareType Time LinkLayerAddress Type matched.:1 == 1 HardwareType matched.:1 == 1 Time matched.:300000 == 300000 LinkLayerAddress matched.:00:00:00:00:a2:a2 == 00:00:00:00:a2:a2 Increment replay detection field: c7d5c2146b0dc851 |
|||||||||||||
| 11:39:25 |
vSend(Link0,request_client1_to_alldhcp) Send DHCPv6 Request Message: CLIENT1 --> all DHCPv6 Servers |
||||||||||||
Request Message
|
|||||||||||||
| 11:39:25 | vRecv(Link0,dhcp6_reply 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 Receive DHCPv6 Reply Message: NUT --> Any |
||||||||||||
|
got DHCPv6 Reply Message Reply Message
Checking Opt_DHCPv6_SID Opt_DHCPv6_SID found Checking Opt_DHCPv6_CID Opt_DHCPv6_CID found Checking Opt_DHCPv6_Authentication Opt_DHCPv6_Authentication found Checking Opt_DHCPv6_IA_NA Opt_DHCPv6_IA_NA found Comparing Identifier Comparing Opt_DHCPv6_CID Code matched.:1 == 1 Length matched.:14 == 14 DHCPv6_DUID_LLT_Ether matched.:Type HardwareType Time LinkLayerAddress == Type HardwareType Time LinkLayerAddress Type matched.:1 == 1 HardwareType matched.:1 == 1 Time matched.:300000 == 300000 LinkLayerAddress matched.:00:00:00:00:a2:a2 == 00:00:00:00:a2:a2 DHCP Client-Initiated Configuration Exchange using Delayed Authentication Protocol is correct *** Target test finish *** DHCPv6 Server stop |
|||||||||||||
| 11:39:26 |
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] | ||||||||||||
| 11:39:27 | Stop Capturing Packets (Link0) | ||||||||||||
|
Stop Link0 OK |
|||||||||||||
| 11:39:27 | End |
Frame_Ether (length:115) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:02 | | SourceAddress = 00:00:00:00:a2:a2 | | Type = 34525 | Packet_IPv6 (length:101) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 61 | | | NextHeader = 17 | | | HopLimit = 1 | | | SourceAddress = fe80::200:ff:fe00:a2a2 | | | DestinationAddress = ff02::1:2 | | Upp_UDP (length:61) | | | Hdr_UDP (length:8) | | | | SourcePort = 546 | | | | DestinationPort = 547 | | | | Length = 61 | | | | Checksum = 29224 calc(29224) | | | Udp_DHCPv6_Solicit (length:53) | | | | Type = 1 | | | | Identifier = 100 | | | | 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_IA_NA (length:16) | | | | | Code = 3 | | | | | Length = 12 | | | | | Identifier = 101010 | | | | | Time1 = 4000 | | | | | Time2 = 5000 | | | | Opt_DHCPv6_Authentication (length:15) | | | | | Code = 11 | | | | | Length = 11 | | | | | Protocol = 2 | | | | | Algorithm = 1 | | | | | RDM = 0 | | | | | ReplayDetection = 0000000000000000
Frame_Ether (length:204) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a2:a2 | | SourceAddress = 00:11:09:b0:ea:b8 | | Type = 34525 | Packet_IPv6 (length:190) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 150 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = fe80::211:9ff:feb0:eab8 | | | DestinationAddress = fe80::200:ff:fe00:a2a2 | | Upp_UDP (length:150) | | | Hdr_UDP (length:8) | | | | SourcePort = 55878 | | | | DestinationPort = 546 | | | | Length = 150 | | | | Checksum = 44092 calc(44092) | | | Udp_DHCPv6_Advertise (length:142) | | | | Type = 2 | | | | Identifier = 100 | | | | 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 = 194660377 | | | | | | LinkLayerAddress = 00:11:09:b0:ea:b8 | | | | Opt_DHCPv6_IA_NA (length:44) | | | | | Code = 3 | | | | | Length = 40 | | | | | Identifier = 101010 | | | | | Time1 = 5000 | | | | | Time2 = 8000 | | | | | Opt_DHCPv6_IA_Address (length:28) | | | | | | Code = 5 | | | | | | Length = 24 | | | | | | Address = 3ffe:ffff:100::10 | | | | | | PreferredLifetime = 10000 | | | | | | ValidLifetime = 20000 | | | | Opt_DHCPv6_Authentication (length:58) | | | | | Code = 11 | | | | | Length = 54 | | | | | Protocol = 2 | | | | | Algorithm = 1 | | | | | RDM = 0 | | | | | ReplayDetection = c7d5c2146b0dc850 | | | | | DHCPv6_Auth_Delayed (length:43) | | | | | | Realm = | | | | | | 44484350 76362e54 4553542e 4558414d 504c452e 434f4d | | | | | | Identifier = 1 | | | | | | Authenticator = 0ca5cb964a3b2bedc2d9e75f5add37f3 ===dhcp6_advertise=================================
Frame_Ether (length:176) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:02 | | SourceAddress = 00:00:00:00:a2:a2 | | Type = 34525 | Packet_IPv6 (length:162) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 122 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = fe80::200:ff:fe00:a2a2 | | | DestinationAddress = ff02::1:2 | | Upp_UDP (length:122) | | | Hdr_UDP (length:8) | | | | SourcePort = 546 | | | | DestinationPort = 547 | | | | Length = 122 | | | | Checksum = 20192 calc(20192) | | | Udp_DHCPv6_Request (length:114) | | | | Type = 3 | | | | Identifier = 101 | | | | 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 = 194660377 | | | | | | LinkLayerAddress = 00:11:09:b0:ea:b8 | | | | Opt_DHCPv6_IA_NA (length:16) | | | | | Code = 3 | | | | | Length = 12 | | | | | Identifier = 101010 | | | | | Time1 = 4000 | | | | | Time2 = 5000 | | | | Opt_DHCPv6_Authentication (length:58) | | | | | Code = 11 | | | | | Length = 54 | | | | | Protocol = 2 | | | | | Algorithm = 1 | | | | | RDM = 0 | | | | | ReplayDetection = c7d5c2146b0dc851 | | | | | DHCPv6_Auth_Delayed (length:43) | | | | | | Realm = | | | | | | 44484350 76362e54 4553542e 4558414d 504c452e 434f4d | | | | | | Identifier = 1 | | | | | | Authenticator = 978b0c9726f1c22b5d3a5503062e3487
Frame_Ether (length:204) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a2:a2 | | SourceAddress = 00:11:09:b0:ea:b8 | | Type = 34525 | Packet_IPv6 (length:190) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 150 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = fe80::211:9ff:feb0:eab8 | | | DestinationAddress = fe80::200:ff:fe00:a2a2 | | Upp_UDP (length:150) | | | Hdr_UDP (length:8) | | | | SourcePort = 55878 | | | | DestinationPort = 546 | | | | Length = 150 | | | | Checksum = 42747 calc(42747) | | | Udp_DHCPv6_Reply (length:142) | | | | Type = 7 | | | | Identifier = 101 | | | | 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 = 194660377 | | | | | | LinkLayerAddress = 00:11:09:b0:ea:b8 | | | | Opt_DHCPv6_IA_NA (length:44) | | | | | Code = 3 | | | | | Length = 40 | | | | | Identifier = 101010 | | | | | Time1 = 5000 | | | | | Time2 = 8000 | | | | | Opt_DHCPv6_IA_Address (length:28) | | | | | | Code = 5 | | | | | | Length = 24 | | | | | | Address = 3ffe:ffff:100::10 | | | | | | PreferredLifetime = 10000 | | | | | | ValidLifetime = 20000 | | | | Opt_DHCPv6_Authentication (length:58) | | | | | Code = 11 | | | | | Length = 54 | | | | | Protocol = 2 | | | | | Algorithm = 1 | | | | | RDM = 0 | | | | | ReplayDetection = c7d5c215219ed83a | | | | | DHCPv6_Auth_Delayed (length:43) | | | | | | Realm = | | | | | | 44484350 76362e54 4553542e 4558414d 504c452e 434f4d | | | | | | Identifier = 1 | | | | | | Authenticator = 7ede3379f931f0c098a3e0e18289778e ===dhcp6_reply=================================