Title | Outbound AH packet (HMAC-SHA1) |
CommandLine | ./HTR_A_Out_hmacsha1.seq -pkt ./HTR_A_hmacsha1.def -log 3.html -ti Outbound AH packet (HMAC-SHA1) |
TestVersion | REL_2_1_1 |
ToolVersion | REL_3_3_2 |
Start | 2011/10/24 15:20:28 |
Tn | /usr/local/v6eval//etc//tn.def |
Nu | /usr/local/v6eval//etc//nut.def |
Pkt | ./HTR_A_hmacsha1.def |
System | freebsd-i386 |
TargetName | freebsd-head |
HostName | ipv6-conf |
Type | host |
15:20:28 | Start |
*** Target initialization phase *** Target: Clear all SAD and SPD entries |
|
15:20:28 |
vRemote(ipsecClearAll.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ipsecClearAll.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected # # /sbin/setkey -c <<EOD spdflush; flush; EOD # # sendMessagesSync: never got /sbin/setkey -c <<EODspdflush;flush;EOD echo $status 0~ [EOT] |
Target: Set SAD entries: src="3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8" dst="3ffe:501:ffff:ff05:200:ff:fe00:c1c1" spi=0x1000 mode=transport protocol=ah aalgo=hmac-sha1 aalgokey=TAHITEST89ABCDEF0123 | |
15:20:34 |
vRemote(ipsecSetSAD.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ipsecSetSAD.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 src="3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8" dst="3ffe:501:ffff:ff05:200:ff:fe00:c1c1" spi=0x1000 mode=transport protocol=ah aalgo=hmac-sha1 aalgokey=TAHITEST89ABCDEF0123 ''
Connected # # /sbin/setkey -c <<EOD add 3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8 3ffe:501:ffff:ff05:200:ff:fe00:c1c1 ah 0x1000 -m transport -A hmac-sha1 "TAHITEST89ABCDEF0123" ; dump; EOD 3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8 3ffe:501:ffff:ff05:200:ff:fe00:c1c1 ah mode=transport spi=4096(0x00001000) reqid=0(0x00000000) A: hmac-sha1 54414849 54455354 38394142 43444546 30313233 seq=0x00000000 replay=0 flags=0x00000040 state=mature created: Oct 25 10:58:48 2011 current: Oct 25 10:58:48 2011 diff: 0(s) hard: 0(s) soft: 0(s) last: hard: 0(s) soft: 0(s) current: 0(bytes) hard: 0(bytes) soft: 0(bytes) allocated: 0 hard: 0 soft: 0 sadb_seq=0 pid=1309 refcnt=1 # # sendMessagesSync: never got /sbin/setkey -c <<EODadd 3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8 3ffe:501:ffff:ff05:200:ff:fe00:c1c1 ah 0x1000 -m transport -A hmac-sha1 "TAHITEST89ABCDEF0123";dump;EOD echo $status 0~ [EOT] |
Target: Set SPD entries: src="3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8" dst="3ffe:501:ffff:ff05:200:ff:fe00:c1c1" upperspec=any direction=out protocol=ah mode=transport | |
15:20:39 |
vRemote(ipsecSetSPD.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ipsecSetSPD.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 src="3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8" dst="3ffe:501:ffff:ff05:200:ff:fe00:c1c1" upperspec=any direction=out protocol=ah mode=transport ''
Connected # # /sbin/setkey -c <<EOD spdadd 3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8 3ffe:501:ffff:ff05:200:ff:fe00:c1c1 any -P out ipsec ah/transport/3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8-3ffe:501:ffff:ff05:200:ff:fe00:c1c1/require ; spddump; EOD 3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8[any] 3ffe:501:ffff:ff05:200:ff:fe00:c1c1[any] any out ipsec ah/transport/3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8-3ffe:501:ffff:ff05:200:ff:fe00:c1c1/require spid=2 seq=0 pid=1310 refcnt=1 # # sendMessagesSync: never got /sbin/setkey -c <<EODspdadd 3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8 3ffe:501:ffff:ff05:200:ff:fe00:c1c1 any -P out ipsec ah/transport/3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8-3ffe:501:ffff:ff05:200:ff:fe00:c1c1/require;spddump;EOD echo $status 0~ [EOT] |
*** Target testing phase *** |
|
15:20:45 | Start Capturing Packets (Link0) |
15:20:45 |
vSend(Link0,echo_request_from_host1) send echo_request_from_host1 |
15:20:46 | vRecv(Link0,ns_to_router_linkaddr ns_to_router echo_reply_to_host1_ah) timeout:6 cntLimit:0 seektime:0 recv echo_reply_to_host1_ah |
15:20:46 | vRecv(Link0,ns_to_router_linkaddr ns_to_router) timeout:6 cntLimit:0 seektime:0 vRecv() return status=1 |
TN received echo reply from NUT to HOST1. OK |
|
15:20:52 | End |
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 00:1c:23:09:f4:e8 | | SourceAddress = 00:00:00:00:a0:a0 | | 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:ff05:200:ff:fe00:c1c1 | | | DestinationAddress = 3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8 | | ICMPv6_EchoRequest (length:16) | | | Type = 128 | | | Code = 0 | | | Checksum = 46407 calc(46407) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:8) | | | | data = 4563686f 44617461
===ALGORITHM LISTS BEGIN==================== -------------------------------------------- frame=echo_reply_to_host1_ah AH=aalgo_hmacsha1_012 auth=hmacsha1("TAHITEST89ABCDEF0123") -------------------------------------------- ===ALGORITHM LISTS END====================== Frame_Ether (length:94) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a0:a0 | | SourceAddress = 00:1c:23:09:f4:e8 | | Type = 34525 | Packet_IPv6 (length:80) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 40 | | | NextHeader = 51 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:ff03:21c:23ff:fe09:f4e8 | | | DestinationAddress = 3ffe:501:ffff:ff05:200:ff:fe00:c1c1 | | Hdr_AH (length:24) | | | NextHeader = 58 | | | PayloadLength = 4 | | | Reserved = 0 | | | SPI = 4096 | | | SequenceNumber = 1 | | | algorithm = aalgo_hmacsha1_012 | | | ICV = 455063fb f2e6f0df 2c587b48 calc(455063fb f2e6f0df 2c587b48) | | ICMPv6_EchoReply (length:16) | | | Type = 129 | | | Code = 0 | | | Checksum = 46151 calc(46151) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:8) | | | | data = 4563686f 44617461 ===echo_reply_to_host1_ah================================= applied algorithms={aalgo_hmacsha1_012}