| Title | Position of payload *** |
| CommandLine | ./ENODE/I_A_RFC2409_5.seq -pkt ./ENODE/I_A_RFC2409_5.def test_type=BASIC -log 2.html -ti Position of payload *** |
| TestVersion | undefined |
| ToolVersion | REL_3_0_8 |
| Start | 2006/03/17 22:18:47 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./ENODE/I_A_RFC2409_5.def |
| System | freebsd-i386 |
| TargetName | freebsd5.4 |
| HostName | racoon |
| Type | host |
| 22:18:47 | Start |
|
*** Target IKE initialization phase *** Target: Reset IKE SA entries: saddump |
|
| 22:18:47 |
vRemote(ikeResetSA.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ikeResetSA.rmt -t freebsd-i386 -u root -p v6eval -d ucom0 -o 1 saddump ''
Connected
HJWV*)k²B"٢ɅͱѽɹBՅjjԨH+K
FreeBSD/i386 (dell.64translator.com) (cuaa0)
login: root
Password:
Last login: Fri Mar 17 09:14:19 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 (IPsec) #0: Thu Mar 9 10:16:29 JST 2006
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o Security advisories and updated errata information for all releases are
at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
for your release first as it's updated frequently.
o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,
along with the mailing lists, can be searched by going to
http://www.FreeBSD.org/search/. If the doc distribution has
been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list. If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page. If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility. Edit /etc/motd to change this login announcement.
You have new mail.
dell#
dell# /usr/local/sbin/setkey -c <<EOD
dump;
flush;
EOD
? dump;
? flush;
? EOD
No SAD entries.
dell#
dell# sendMessagesSync: never got /usr/local/sbin/setkey -c <<EODdump;flush;EOD
echo $status
0
dell# kill -TERM `head -1 /var/run/racoon.pid`
head: /var/run/racoon.pid: No such file or directory
dell#
dell# echo $status
1
dell# /bin/rm -f /var/run/racoon.pid
dell#
dell# echo $status
0~
[EOT]
|
| Target: Clear SPD entries: spddump | |
| 22:19:07 |
vRemote(ipsecResetSPD.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ipsecResetSPD.rmt -t freebsd-i386 -u root -p v6eval -d ucom0 -o 1 spddump ''
Connected dell# dell# /usr/local/sbin/setkey -c <<EOD spddump; spdflush; ? spddump; ? spdflush; EOD ? EOD No SPD entries. dell# dell# sendMessagesSync: never got /usr/local/sbin/setkey -c <<EODspddump;spdflush;EOD echo $status 0~ [EOT] |
| Target: Set SPD entries: src=3ffe:501:ffff:100:290:99ff:fe7e:3e52 dst=3ffe:501:ffff:101::11 upperspec=any direction=out protocol=PROTO_IPSEC_ESP mode=Transport | |
| 22:19:15 |
vRemote(ipsecSetSPD.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ipsecSetSPD.rmt -t freebsd-i386 -u root -p v6eval -d ucom0 -o 1 src=3ffe:501:ffff:100:290:99ff:fe7e:3e52 dst=3ffe:501:ffff:101::11 upperspec=any direction=out protocol=PROTO_IPSEC_ESP mode=Transport ''
Connected
dell#
dell# /usr/local/sbin/setkey -c <<EOD
spdadd 3ffe:501:ffff:100:290:99ff:fe7e:3e52 3ffe:501:ffff:101::11
any
-P out ipsec
esp/transport/3ffe:501:ffff:100:290:99ff:fe7e:3e52-3ffe:501:ffff:101::11/require
;
spddump;
EOD
? spdadd 3ffe:501:ffff:100:290:99ff:fe7e:3e52 3ffe:501:ffff:101::11
any
-P out ipsec
esp/transport/3ffe:501:ffff:100:290:99ff:fe7e:3e52-3ffe:501:ffff:101::11/require
;
spddump;
EOD
? any
? -P out ipsec
? esp/transport/3ffe:501:ffff:100:290:99ff:fe7e:3e52-3ffe:501:ffff:101::1 1/require
? ;
? spddump;
? EOD
3ffe:501:ffff:100:290:99ff:fe7e:3e52[any] 3ffe:501:ffff:101::11[any] any
out ipsec
esp/transport/3ffe:501:ffff:100:290:99ff:fe7e:3e52-3ffe:501:ffff:101::11/require
created: Mar 17 13:26:33 2006 lastused: Mar 17 13:26:33 2006
lifetime: 0(s) validtime: 0(s)
spid=16388 seq=0 pid=466
refcnt=1
dell#
dell# sendMessagesSync: never got /usr/local/sbin/setkey -c <<EODspdadd 3ffe:501:ffff:100:290:99ff:fe7e:3e52 3ffe:501:ffff:101::11 any -P out ipsec esp/transport/3ffe:501:ffff:100:290:99ff:fe7e:3e52-3ffe:501:ffff:101::11/require;spddump;EOD
echo $status
0~
[EOT]
|
| Target: Set IKE SA entries: dst=3ffe:501:ffff:101::11 dst_port=500 exchange_mode=aggressive doi=ipsec_doi situation=identity_only isakmp_src_id_type=address isakmp_src_id=3ffe:501:ffff:100:290:99ff:fe7e:3e52 dh_group=2 lifetime=28800 lifetime_unit=seconds encryption_algorithm=3des hash_algorithm=sha1 authentication_method=pre_shared_key key_id=3ffe:501:ffff:101::11 key_value=0x494b452d54455354 ph2_id_type=address ph2_src_id=3ffe:501:ffff:100:290:99ff:fe7e:3e52 ph2_dst_id=3ffe:501:ffff:101::11 ph2_src_upper=any ph2_dst_upper=any ipsec_p_num=1 ipsec_p1_t_num=1 ph2_p1_t1_lt=8 ph2_p1_t1_lt_unit=hour ph2_p1_t1_enc_alg=ESP_3DES ph2_p1_t1_auth_mtd=HMAC_SHA | |
| 22:19:23 |
vRemote(ikeSetSA.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ikeSetSA.rmt -t freebsd-i386 -u root -p v6eval -d ucom0 -o 1 dst=3ffe:501:ffff:101::11 dst_port=500 exchange_mode=aggressive doi=ipsec_doi situation=identity_only isakmp_src_id_type=address isakmp_src_id=3ffe:501:ffff:100:290:99ff:fe7e:3e52 dh_group=2 lifetime=28800 lifetime_unit=seconds encryption_algorithm=3des hash_algorithm=sha1 authentication_method=pre_shared_key key_id=3ffe:501:ffff:101::11 key_value=0x494b452d54455354 ph2_id_type=address ph2_src_id=3ffe:501:ffff:100:290:99ff:fe7e:3e52 ph2_dst_id=3ffe:501:ffff:101::11 ph2_src_upper=any ph2_dst_upper=any ipsec_p_num=1 ipsec_p1_t_num=1 ph2_p1_t1_lt=8 ph2_p1_t1_lt_unit=hour ph2_p1_t1_enc_alg=ESP_3DES ph2_p1_t1_auth_mtd=HMAC_SHA ''
Connected dell# dell# ~[set] echocheck dell# dell# ~[put] freebsd-i386.psk.txt /tmp/psk.txt D dell# dell# dell# /bin/chmod 600 /tmp/psk.txt dell# echo $status 0 dell# ~[set] echocheck dell# dell# ~[put] freebsd-i386.ike.conf /tmp/ike.conf Ddell# dell# dell# test -f /var/run/racoon.pid &&kill -TERM `head -1 /var/run/racoon.pid` dell# echo $status dell# echo $status 1 dell# /usr/local/sbin/racoon -f /tmp/ike.conf dell# dell# echo $status 0~ [EOT] |
| 22:19:36 | vRemote(ikeEnable.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ikeEnable.rmt -t freebsd-i386 -u root -p v6eval -d ucom0 -o 1 '' |
|
*** Target initialization phase *** |
|
| 22:19:36 | Start Capturing Packets (Link0) |
| 22:19:36 | vRecv(Link0,rs_from_nut rs_from_nut_wsll) timeout:15 cntLimit:0 seektime:0 vRecv() return status=1 |
|
*** Target testing phase *** |
|
| 22:19:51 | Clear Captured Packets (Link0) |
|
*** Phase-1 1st message recv *** HOST1(NUT) send ICMP to HOST2(TN) |
|
| 22:19:51 |
vRemoteAsync(ping6.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ping6.rmt -t freebsd-i386 -u root -p v6eval -d ucom0 -o 1 count=2 interval=1 if=rl0 addr=3ffe:501:ffff:101::11''
Link to remote control log |
| 22:19:51 | vRecv(Link0,isakmp_phase1_recv ns_uni rs_from_nut rs_from_nut_wsll ns_uni_tll_sll ns_uni_sll ns_multi_llt ns_multi) timeout:10 cntLimit:0 seektime:0 Receive Neighbor Solicitation from HOST-1(NUT) |
| 22:19:55 |
vSend(Link0,na_llt) Send Neighbor Advertisement(TN) |
| 22:19:55 | vRecv(Link0,isakmp_phase1_recv ns_uni rs_from_nut rs_from_nut_wsll ns_uni_tll_sll ns_uni_sll ns_multi_llt ns_multi) timeout:10 cntLimit:0 seektime:0 Recv 1st message from HOST1(NUT) |
|
OK payload_check Position of payload is correct *** Target test finish *** |
|
| 22:19:55 | Stop Capturing Packets (Link0) |
| 22:19:55 |
vRemoteAsyncWait()
Link to remote control start point sleep 3 [sec] for escaping critical point of asynchronous remoteconf. Connected dell# dell# /sbin/ping6 -n -c 2 -i 1 -h 64 -s 2 -p 00 -I rl0 3ffe:501:ffff:101::11 PATTERN: 0x00 PING6(50=40+8+2 bytes) 3ffe:501:ffff:100:290:99ff:fe7e:3e52 --> 3ffe:501:ffff:101::11 --- 3ffe:501:ffff:101::11 ping6 statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss dell# echo $status dell# echo $status 1~ [EOT] |
| Target: Reset IKE SA entries: saddump | |
| 22:20:09 |
vRemote(ikeResetSA.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ikeResetSA.rmt -t freebsd-i386 -u root -p v6eval -d ucom0 -o 1 saddump ''
Connected dell# dell# /usr/local/sbin/setkey -c <<EOD dump; flush; EOD ? dump; ? flush; ? EOD No SAD entries. dell# dell# sendMessagesSync: never got /usr/local/sbin/setkey -c <<EODdump;flush;EOD echo $status 0 dell# kill -TERM `head -1 /var/run/racoon.pid` dell# echo $status dell# echo $status 0 dell# /bin/rm -f /var/run/racoon.pid dell# dell# echo $status 0~ [EOT] |
| Target: Clear SPD entries: spddump | |
| 22:20:17 |
vRemote(ipsecResetSPD.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ipsecResetSPD.rmt -t freebsd-i386 -u root -p v6eval -d ucom0 -o 1 spddump ''
Connected
dell#
dell# /usr/local/sbin/setkey -c <<EOD
spddump;
spdflush;? spddump;
EOD
? spdflush;
EOD
? EOD
3ffe:501:ffff:100:290:99ff:fe7e:3e52[any] 3ffe:501:ffff:101::11[any] any
out ipsec
esp/transport/3ffe:501:ffff:100:290:99ff:fe7e:3e52-3ffe:501:ffff:101::11/require
created: Mar 17 13:26:33 2006 lastused: Mar 17 13:27:13 2006
lifetime: 0(s) validtime: 0(s)
spid=16388 seq=0 pid=481
refcnt=1
dell#
dell# sendMessagesSync: never got /usr/local/sbin/setkey -c <<EODspddump;spdflush;EOD
echo $status
0~
[EOT]
|
|
OK |
|
| 22:20:25 | End |
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:ff:00:00:11 | | SourceAddress = 00:90:99:7e:3e:52 | | 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:290:99ff:fe7e:3e52 | | | DestinationAddress = ff02::1:ff00:11 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 33595 calc(33595) | | | Reserved = 0 | | | TargetAddress = fe80::11 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 00:90:99:7e:3e:52 ===isakmp_phase1_recv================================= ng compare _HETHER_nut2tnA11.DestinationAddress received:33:33:ff:00:00:11 = 00:00:00:00:00:11 ng compare _HDR_IPV6_isakmp_phase1_recv.NextHeader received:58 = 17 ng compare _HDR_IPV6_isakmp_phase1_recv.DestinationAddress received:ff02::1:ff00:11 = 3ffe:501:ffff:101::11 ng meta Packet_IPv6.Upp_UDP != Packet_IPv6.ICMPv6_NS ===ns_uni================================= ng compare _HETHER_nut2tnA11.DestinationAddress received:33:33:ff:00:00:11 = 00:00:00:00:00:11 ng compare _HDR_IPV6_ns_uni.DestinationAddress received:ff02::1:ff00:11 = 3ffe:501:ffff:100::11 ng compare _ICMPV6_ns_uni.TargetAddress received:fe80::11 = 3ffe:501:ffff:100::11 ng count Packet_IPv6.ICMPv6_NS != Packet_IPv6.ICMPv6_NS ===rs_from_nut================================= ng compare _HETHER_nut2allrouters.DestinationAddress received:33:33:ff:00:00:11 = 33:33:00:00:00:02 ng compare _HDR_IPV6_rs_from_nut.SourceAddress received:3ffe:501:ffff:100:290:99ff:fe7e:3e52 = fe80::290:99ff:fe7e:3e52 ng compare _HDR_IPV6_rs_from_nut.DestinationAddress received:ff02::1:ff00:11 = ff02::2 ng meta Packet_IPv6.ICMPv6_RS != Packet_IPv6.ICMPv6_NS ===rs_from_nut_wsll================================= ng compare _HETHER_nut2allrouters.DestinationAddress received:33:33:ff:00:00:11 = 33:33:00:00:00:02 ng compare _HDR_IPV6_rs_from_nut_wsll.SourceAddress received:3ffe:501:ffff:100:290:99ff:fe7e:3e52 = fe80::290:99ff:fe7e:3e52 ng compare _HDR_IPV6_rs_from_nut_wsll.DestinationAddress received:ff02::1:ff00:11 = ff02::2 ng meta Packet_IPv6.ICMPv6_RS != Packet_IPv6.ICMPv6_NS ===ns_uni_tll_sll================================= ng compare _HETHER_nut2tnA11.DestinationAddress received:33:33:ff:00:00:11 = 00:00:00:00:00:11 ng compare _HDR_IPV6_ns_uni_tll_sll.SourceAddress received:3ffe:501:ffff:100:290:99ff:fe7e:3e52 = fe80::290:99ff:fe7e:3e52 ng compare _HDR_IPV6_ns_uni_tll_sll.DestinationAddress received:ff02::1:ff00:11 = fe80::11 ===ns_uni_sll================================= ng compare _HETHER_nut2tnA11.DestinationAddress received:33:33:ff:00:00:11 = 00:00:00:00:00:11 ng compare _HDR_IPV6_ns_uni_sll.DestinationAddress received:ff02::1:ff00:11 = 3ffe:501:ffff:100::11 ng compare _ICMPV6_ns_uni_sll.TargetAddress received:fe80::11 = 3ffe:501:ffff:100::11 ===ns_multi_llt=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 00:90:99:7e:3e:52 | | SourceAddress = 00:00:00:00:00:11 | | 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::11 | | | DestinationAddress = 3ffe:501:ffff:100:290:99ff:fe7e:3e52 | | ICMPv6_NA (length:32) | | | Type = 136 | | | Code = 0 | | | Checksum = 12688 calc(12688) | | | RFlag = 1 | | | SFlag = 1 | | | OFlag = 1 | | | Reserved = 0 | | | TargetAddress = fe80::11 | | | Opt_ICMPv6_TLL (length:8) | | | | Type = 2 | | | | Length = 1 | | | | LinkLayerAddress = 00:00:00:00:00:11
Frame_Ether (length:338) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:00:11 | | SourceAddress = 00:90:99:7e:3e:52 | | Type = 34525 | Packet_IPv6 (length:324) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 284 | | | NextHeader = 17 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:290:99ff:fe7e:3e52 | | | DestinationAddress = 3ffe:501:ffff:101::11 | | Upp_UDP (length:284) | | | Hdr_UDP (length:8) | | | | SourcePort = 500 | | | | DestinationPort = 500 | | | | Length = 284 | | | | Checksum = 37690 calc(37690) | | | Udp_ISAKMP (length:276) | | | | Hdr_ISAKMP (length:28) | | | | | InitiatorCookie = 36fab9cc57fb1989 | | | | | ResponderCookie = 0000000000000000 | | | | | NextPayload = 1 | | | | | MjVer = 1 | | | | | MnVer = 0 | | | | | ExchangeType = 4 | | | | | Reserved = 0 | | | | | AFlag = 0 | | | | | CFlag = 0 | | | | | EFlag = 0 | | | | | MessageID = 0 | | | | | Length = 276 | | | | Pld_ISAKMP_SA_IPsec_IDonly (length:52) | | | | | NextPayload = 4 | | | | | Reserved1 = 0 | | | | | PayloadLength = 52 | | | | | DOI = 1 | | | | | Situation = 1 | | | | | Pld_ISAKMP_P_ISAKMP (length:40) | | | | | | NextPayload = 0 | | | | | | Reserved1 = 0 | | | | | | PayloadLength = 40 | | | | | | ProposalNumber = 1 | | | | | | ProtocolID = 1 | | | | | | SPIsize = 0 | | | | | | NumOfTransforms = 1 | | | | | | SPI = | | | | | | Pld_ISAKMP_T (length:32) | | | | | | | NextPayload = 0 | | | | | | | Reserved1 = 0 | | | | | | | PayloadLength = 32 | | | | | | | TransformNumber = 1 | | | | | | | TransformID = 1 | | | | | | | Reserved2 = 0 | | | | | | | Attr_ISAKMP_TV (length:4) | | | | | | | | AF = 1 | | | | | | | | Type = 11 | | | | | | | | Value = 1 | | | | | | | Attr_ISAKMP_TV (length:4) | | | | | | | | AF = 1 | | | | | | | | Type = 12 | | | | | | | | Value = 28800 | | | | | | | Attr_ISAKMP_TV (length:4) | | | | | | | | AF = 1 | | | | | | | | Type = 1 | | | | | | | | Value = 5 | | | | | | | Attr_ISAKMP_TV (length:4) | | | | | | | | AF = 1 | | | | | | | | Type = 3 | | | | | | | | Value = 1 | | | | | | | Attr_ISAKMP_TV (length:4) | | | | | | | | AF = 1 | | | | | | | | Type = 2 | | | | | | | | Value = 2 | | | | | | | Attr_ISAKMP_TV (length:4) | | | | | | | | AF = 1 | | | | | | | | Type = 4 | | | | | | | | Value = 2 | | | | Pld_ISAKMP_KE (length:132) | | | | | NextPayload = 10 | | | | | Reserved1 = 0 | | | | | PayloadLength = 132 | | | | | KeyExchangeData = | | | | | 9272e9c5 1d4af7d3 d338e65f 751021f7 ae184705 f43b37ee 710688ff 3ff5b6da | | | | | 4b0968d0 92f56f8e d0c9a01c 625c98f1 1183aabe 69be0a52 f01a566f 43a1880d | | | | | 98613260 8182393e 53865140 0b264f6c 530896b1 9a3a9ac4 14211eba 31f3d85f | | | | | b32e73a8 f541d38d 2a91b604 46892342 bbcbdc13 0d3207c1 e664fa9e 34fe6452 | | | | Pld_ISAKMP_NONCE (length:20) | | | | | NextPayload = 5 | | | | | Reserved1 = 0 | | | | | PayloadLength = 20 | | | | | NonceData = d2a408fa 6bb49fc6 1bf68010 7ac2e92d | | | | Pld_ISAKMP_ID_IPV6_ADDR (length:24) | | | | | NextPayload = 13 | | | | | Reserved1 = 0 | | | | | PayloadLength = 24 | | | | | IDtype = 5 | | | | | ProtocolID = 17 | | | | | Port = 500 | | | | | ID = 3ffe:501:ffff:100:290:99ff:fe7e:3e52 | | | | Pld_ISAKMP_VID (length:20) | | | | | NextPayload = 0 | | | | | Reserved1 = 0 | | | | | PayloadLength = 20 | | | | | VID = afcad713 68a1f1c9 6b8696fc 77570100 ===isakmp_phase1_recv=================================