| Title | Delayed Authentication Protocol for Client |
| CommandLine | ./auth/C_RFC3315_21.4.1_DelayedAuthProto.seq -pkt ./auth/C_RFC3315_21.4.1_DelayedAuthProto.def -log 24.html -ti Delayed Authentication Protocol for Client |
| TestVersion | DHCPv6_1_0 |
| ToolVersion | REL_3_0_8 |
| Start | 2006/03/30 11:46:07 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./auth/C_RFC3315_21.4.1_DelayedAuthProto.def |
| System | freebsd-i386 |
| TargetName | FreeBSD 5.4-RELEASE-p7 |
| HostName | NS1.example.com |
| Type | host |
| 11:46:07 | 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== DHCP Client-Initiated Configuration Exchange using Delayed Authentication Protocol |
|||||||||||||||
| 11:46:08 |
vRemote(dhcp6c.rmt) ``/usr/local/v6eval//bin/freebsd-i386//dhcp6c.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''
Connected
FreeBSD/i386 (NS1.example.com) (cuaa0)
login: root
Password:
Last login: Thu Mar 30 10:09:15 on cuaa0
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE-p7 (NUT) #0: Tue Sep 27 21:15:12 JST 2005
You have new mail.
NS1#
NS1# rm -f /var/db/dhcp6c_duid
NS1# echo $status
0
NS1# killall dhcp6c
No matching processes were found
NS1# echo $status
1
NS1# ~[set] echocheck
NS1#
NS1# ~[put] ./ztemp /tmp/dhcp6c.conf
DNS1#
NS1#
NS1# /usr/local/sbin/dhcp6c -c /tmp/dhcp6c.conf bfe0
NS1# echo $status
0
~
[EOT]
| ||||||||||||||
| 11:46:16 | Start Capturing Packets (Link0) | ||||||||||||||
| 11:46:16 | vRecv(Link0,dhcp6_solicit 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:30 cntLimit:0 seektime:0 Receive DHCPv6 Solicit Message |
||||||||||||||
|
got DHCPv6 Solicit Message Solicit Message
|
|||||||||||||||
| 11:46:16 | Clear Captured Packets (Link0) | ||||||||||||||
|
Checking Options... Checking Opt_DHCPv6_CID Opt_DHCPv6_CID found Checking Opt_DHCPv6_Authentication Opt_DHCPv6_Authentication found |
|||||||||||||||
| 11:46:17 |
vSend(Link0,advertise_server1_to_nut) Send DHCPv6 Advertise Message: SERVER1 --> NUT |
||||||||||||||
Advertise Message
|
|||||||||||||||
| 11:46:17 | vRecv(Link0,dhcp6_request 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:30 cntLimit:0 seektime:0 Receive DHCPv6 Request Message |
||||||||||||||
|
got DHCPv6 Request Message Request Message
|
|||||||||||||||
| 11:46:17 | Clear Captured Packets (Link0) | ||||||||||||||
|
Checking Options... 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 Opt_DHCPv6_SID Code matched.:2 == 2 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.:400000 == 400000 LinkLayerAddress matched.:00:00:00:00:a1:a1 == 00:00:00:00:a1:a1 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.:197001647 == 197001647 LinkLayerAddress matched.:00:11:09:b0:ea:b8 == 00:11:09:b0:ea:b8 ############packet############## 035dd2f40001000e000100010bbe01af001109b0eab80002000e0001000100061a8000000000a1a1000800020000000b0036020100c7d5c3b129abac334448435076362e544553542e4558414d504c452e434f4d0000000100000000000000000000000000000000 ############calc_md5############ d565ab14d2f57d37b7a9a21f11422a7e ############rcv_md5############# d565ab14d2f57d37b7a9a21f11422a7e ################################ Authentication HMAC HASH matched. |
|||||||||||||||
| 11:46:18 |
vSend(Link0,reply_server1_to_nut) Send DHCPv6 Reply Message: SERVER1 --> NUT |
||||||||||||||
Reply Message
|
|||||||||||||||
| 11:46:18 | vRecv(Link0,dadns_nutga) timeout:3 cntLimit:0 seektime:0 vRecv() return status=1 |
||||||||||||||
| 11:46:21 | Wait 3 second | ||||||||||||||
|
# ping test from Server1 to NUT(Global Address assigned by DHCP) |
|||||||||||||||
| 11:46:24 | vRecv(Link0,rs_nut_to_server1) timeout:3 cntLimit:0 seektime:0 vRecv() return status=1 |
||||||||||||||
| 11:46:27 |
vSend(Link0,ra_server1_to_nut) Send RA: SERVER1 --> NUT |
||||||||||||||
| 11:46:27 |
vSend(Link0,echorequest_server1_to_nut) Send Echo Request: SERVER1 --> NUT |
||||||||||||||
| 11:46:28 | vRecv(Link0,ns_nutga_to_any echoreply_nut_to_server1) timeout:3 cntLimit:0 seektime:0 Receive NS: NUT --> ANY |
||||||||||||||
| 11:46:28 |
vSend(Link0,na_server1ga_to_nutga) Send NA: SERVER1(Global) --> NUT(Global) |
||||||||||||||
| 11:46:28 | vRecv(Link0,echoreply_nut_to_server1) timeout:5 cntLimit:0 seektime:0 Receive Echo Reply: NUT --> SERVER1 |
||||||||||||||
|
SERVER1 received Echo Reply. DHCP Client-Initiated Configuration Exchange using Delayed Authentication Protocol is correct *** Target test finish *** DHCPv6 Client stop |
|||||||||||||||
| 11:46:29 |
vRemote(dhcp6c.rmt) ``/usr/local/v6eval//bin/freebsd-i386//dhcp6c.rmt -t freebsd-i386 -u root -p v6eval -d cuaa0 -o 1 stop ''
Connected NS1# NS1# rm -f /var/db/dhcp6c_duid NS1# echo $status 0 NS1# killall dhcp6c NS1# echo $status 0 ~ [EOT] | ||||||||||||||
|
OK |
|||||||||||||||
| 11:46:30 | End |
Frame_Ether (length:105) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:02 | | SourceAddress = 00:11:09:b0:ea:b8 | | Type = 34525 | Packet_IPv6 (length:91) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 51 | | | NextHeader = 17 | | | HopLimit = 1 | | | SourceAddress = fe80::211:9ff:feb0:eab8 | | | DestinationAddress = ff02::1:2 | | Upp_UDP (length:51) | | | Hdr_UDP (length:8) | | | | SourcePort = 546 | | | | DestinationPort = 547 | | | | Length = 51 | | | | Checksum = 29979 calc(29979) | | | Udp_DHCPv6_Solicit (length:43) | | | | Type = 1 | | | | Identifier = 9407871 | | | | Opt_DHCPv6_CID (length:18) | | | | | Code = 1 | | | | | Length = 14 | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | Type = 1 | | | | | | HardwareType = 1 | | | | | | Time = 197001647 | | | | | | LinkLayerAddress = 00:11:09:b0:ea:b8 | | | | Opt_DHCPv6_ElapsedTime (length:6) | | | | | Code = 8 | | | | | Length = 2 | | | | | Time = 0 | | | | Opt_DHCPv6_Authentication (length:15) | | | | | Code = 11 | | | | | Length = 11 | | | | | Protocol = 2 | | | | | Algorithm = 1 | | | | | RDM = 0 | | | | | ReplayDetection = 0000000000000000 ===dhcp6_solicit=================================
Frame_Ether (length:204) | Hdr_Ether (length:14) | | DestinationAddress = 00:11:09:b0:ea:b8 | | SourceAddress = 00:00:00:00:a1:a1 | | Type = 34525 | Packet_IPv6 (length:190) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 150 | | | NextHeader = 17 | | | HopLimit = 1 | | | SourceAddress = fe80::200:ff:fe00:a1a1 | | | DestinationAddress = fe80::211:9ff:feb0:eab8 | | Upp_UDP (length:150) | | | Hdr_UDP (length:8) | | | | SourcePort = 549 | | | | DestinationPort = 546 | | | | Length = 150 | | | | Checksum = 43295 calc(43295) | | | Udp_DHCPv6_Advertise (length:142) | | | | Type = 2 | | | | Identifier = 9407871 | | | | Opt_DHCPv6_CID (length:18) | | | | | Code = 1 | | | | | Length = 14 | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | Type = 1 | | | | | | HardwareType = 1 | | | | | | Time = 197001647 | | | | | | LinkLayerAddress = 00:11:09:b0:ea:b8 | | | | 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:44) | | | | | Code = 3 | | | | | Length = 40 | | | | | Identifier = 101010 | | | | | Time1 = 4000 | | | | | Time2 = 5000 | | | | | Opt_DHCPv6_IA_Address (length:28) | | | | | | Code = 5 | | | | | | Length = 24 | | | | | | Address = 3ffe:501:ffff:100::abcd | | | | | | PreferredLifetime = 1000 | | | | | | ValidLifetime = 2000 | | | | Opt_DHCPv6_Authentication (length:58) | | | | | Code = 11 | | | | | Length = 54 | | | | | Protocol = 2 | | | | | Algorithm = 1 | | | | | RDM = 0 | | | | | ReplayDetection = 0000000000000001 | | | | | DHCPv6_Auth_Delayed (length:43) | | | | | | Realm = | | | | | | 44484350 76362e54 4553542e 4558414d 504c452e 434f4d | | | | | | Identifier = 1 | | | | | | Authenticator = e8b8a076bcc1745d5978e3268eee24e4
Frame_Ether (length:166) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:01:00:02 | | SourceAddress = 00:11:09:b0:ea:b8 | | Type = 34525 | Packet_IPv6 (length:152) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 112 | | | NextHeader = 17 | | | HopLimit = 1 | | | SourceAddress = fe80::211:9ff:feb0:eab8 | | | DestinationAddress = ff02::1:2 | | Upp_UDP (length:112) | | | Hdr_UDP (length:8) | | | | SourcePort = 546 | | | | DestinationPort = 547 | | | | Length = 112 | | | | Checksum = 36851 calc(36851) | | | Udp_DHCPv6_Request (length:104) | | | | Type = 3 | | | | Identifier = 6148852 | | | | Opt_DHCPv6_CID (length:18) | | | | | Code = 1 | | | | | Length = 14 | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | Type = 1 | | | | | | HardwareType = 1 | | | | | | Time = 197001647 | | | | | | LinkLayerAddress = 00:11:09:b0:ea:b8 | | | | 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_ElapsedTime (length:6) | | | | | Code = 8 | | | | | Length = 2 | | | | | Time = 0 | | | | Opt_DHCPv6_Authentication (length:58) | | | | | Code = 11 | | | | | Length = 54 | | | | | Protocol = 2 | | | | | Algorithm = 1 | | | | | RDM = 0 | | | | | ReplayDetection = c7d5c3b129abac33 | | | | | DHCPv6_Auth_Delayed (length:43) | | | | | | Realm = | | | | | | 44484350 76362e54 4553542e 4558414d 504c452e 434f4d | | | | | | Identifier = 1 | | | | | | Authenticator = d565ab14d2f57d37b7a9a21f11422a7e ===dhcp6_request=================================
Frame_Ether (length:212) | Hdr_Ether (length:14) | | DestinationAddress = 00:11:09:b0:ea:b8 | | SourceAddress = 00:00:00:00:a1:a1 | | Type = 34525 | Packet_IPv6 (length:198) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 158 | | | NextHeader = 17 | | | HopLimit = 1 | | | SourceAddress = fe80::200:ff:fe00:a1a1 | | | DestinationAddress = fe80::211:9ff:feb0:eab8 | | Upp_UDP (length:158) | | | Hdr_UDP (length:8) | | | | SourcePort = 551 | | | | DestinationPort = 546 | | | | Length = 158 | | | | Checksum = 11452 calc(11452) | | | Udp_DHCPv6_Reply (length:150) | | | | Type = 7 | | | | Identifier = 6148852 | | | | Opt_DHCPv6_CID (length:18) | | | | | Code = 1 | | | | | Length = 14 | | | | | DHCPv6_DUID_LLT_Ether (length:14) | | | | | | Type = 1 | | | | | | HardwareType = 1 | | | | | | Time = 197001647 | | | | | | LinkLayerAddress = 00:11:09:b0:ea:b8 | | | | 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:44) | | | | | Code = 3 | | | | | Length = 40 | | | | | Identifier = 101010 | | | | | Time1 = 4000 | | | | | Time2 = 5000 | | | | | Opt_DHCPv6_IA_Address (length:28) | | | | | | Code = 5 | | | | | | Length = 24 | | | | | | Address = 3ffe:501:ffff:100::abcd | | | | | | PreferredLifetime = 1000 | | | | | | ValidLifetime = 2000 | | | | Opt_DHCPv6_Authentication (length:58) | | | | | Code = 11 | | | | | Length = 54 | | | | | Protocol = 2 | | | | | Algorithm = 1 | | | | | RDM = 0 | | | | | ReplayDetection = 0000000000000002 | | | | | DHCPv6_Auth_Delayed (length:43) | | | | | | Realm = | | | | | | 44484350 76362e54 4553542e 4558414d 504c452e 434f4d | | | | | | Identifier = 1 | | | | | | Authenticator = 06b4da6545afa3558e59d0c90ae9a792 | | | | Opt_DHCPv6_StatusCode (length:8) | | | | | Code = 13 | | | | | Length = 4 | | | | | StatusCode = 0 | | | | | Message = 0000
Frame_Ether (length:110) | Hdr_Ether (length:14) | | DestinationAddress = 00:11:09:b0:ea:b8 | | SourceAddress = 00:00:00:00:a1:a1 | | 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:a1a1 | | | DestinationAddress = fe80::211:9ff:feb0:eab8 | | ICMPv6_RA (length:56) | | | Type = 134 | | | Code = 0 | | | Checksum = 22577 calc(22577) | | | CurHopLimit = 0 | | | MFlag = 1 | | | OFlag = 0 | | | HFlag = 0 | | | Preference = 0 | | | Reserved = 0 | | | LifeTime = 3000 | | | ReachableTime = 0 | | | RetransTimer = 0 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 00:00:00:00:a1:a1 | | | Opt_ICMPv6_Prefix (length:32) | | | | Type = 3 | | | | Length = 4 | | | | PrefixLength = 64 | | | | LFlag = 0 | | | | AFlag = 0 | | | | RFlag = 0 | | | | Reserved1 = 0 | | | | ValidLifetime = 14400 | | | | PreferredLifetime = 7200 | | | | Reserved2 = 0 | | | | Prefix = 3ffe:501:ffff:100::
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 00:11:09:b0:ea:b8 | | SourceAddress = 00:00:00:00:a1:a1 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a1a1 | | | DestinationAddress = 3ffe:501:ffff:100::abcd | | ICMPv6_EchoRequest (length:16) | | | Type = 128 | | | Code = 0 | | | Checksum = 42311 calc(42311) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:8) | | | | data = 00000000 00000000
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:ff:00:a1:a1 | | 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 = 58 | | | HopLimit = 255 | | | SourceAddress = 3ffe:501:ffff:100::abcd | | | DestinationAddress = ff02::1:ff00:a1a1 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 2326 calc(2326) | | | Reserved = 0 | | | TargetAddress = 3ffe:501:ffff:100:200:ff:fe00:a1a1 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 00:11:09:b0:ea:b8 ===ns_nutga_to_any=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 00:11:09:b0:ea:b8 | | SourceAddress = 00:00:00:00:a1:a1 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:a1a1 | | | DestinationAddress = 3ffe:501:ffff:100::abcd | | ICMPv6_NA (length:32) | | | Type = 136 | | | Code = 0 | | | Checksum = 12531 calc(12531) | | | RFlag = 1 | | | SFlag = 1 | | | OFlag = 1 | | | Reserved = 0 | | | TargetAddress = 3ffe:501:ffff:100:200:ff:fe00:a1a1 | | | Opt_ICMPv6_TLL (length:8) | | | | Type = 2 | | | | Length = 1 | | | | LinkLayerAddress = 00:00:00:00:a1:a1
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a1:a1 | | SourceAddress = 00:11:09:b0:ea:b8 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100::abcd | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:a1a1 | | ICMPv6_EchoReply (length:16) | | | Type = 129 | | | Code = 0 | | | Checksum = 42055 calc(42055) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:8) | | | | data = 00000000 00000000 ===echoreply_nut_to_server1=================================