| Title | Connect two SA bundles with different spi, same IPsrc |
| CommandLine | ../ipsec/HTR_A_In_2SA_DspiSipsrc.seq -pkt ./HTR_A_2SA_DspiSip.def -cpp=-include ./ipsecaddr.def -log 11.html -ti Connect two SA bundles with different spi, same IPsrc |
| TestVersion | |
| ToolVersion | undefined |
| Start | 2002/03/27 22:11:34 |
| Tn | /usr/local/v6eval//etc//tn.def |
| Nu | /usr/local/v6eval//etc//nut.def |
| Pkt | ./HTR_A_2SA_DspiSip.def |
| System | usagi-i386 |
| TargetName | Red Hat Linux release 7.2 (Enigma) + usagi cvs 2002/03/26 20:00 |
| HostName | usagi.tahi.org |
| Type | host |
| 22:11:34 | Start |
|
*** Target initialization phase *** Target: Clear all SAD and SPD entries |
|
| 22:11:34 |
vRemote(ipsecClearAll.rmt) ``/usr/local/v6eval//bin/usagi-i386//ipsecClearAll.rmt -t usagi-i386 -u root -p v6eval -d cuaa0 -o 1 ''
Connected. [root@usagi root]# [root@usagi root]# /usr/local/v6/bin/pfkey -F any [root@usagi root]# echo $? 16 ~. Disconnected. |
| Target: Set SAD entries: src="192.168.105.31" dst="192.168.103.20" spi=0x1000 mode=transport protocol=ah aalgo=hmac-md5 aalgokey=TAHITEST89ABCDEF | |
| 22:11:38 |
vRemote(ipsecSetSAD.rmt) ``/usr/local/v6eval//bin/usagi-i386//ipsecSetSAD.rmt -t usagi-i386 -u root -p v6eval -d cuaa0 -o 1 src="192.168.105.31" dst="192.168.103.20" spi=0x1000 mode=transport protocol=ah aalgo=hmac-md5 aalgokey=TAHITEST89ABCDEF ''
Connected. [root@usagi root]# [root@usagi root]# /usr/local/v6/bin/pfkey -A sa -T ah -S 0x1000 -s 192.168.105 .31/128 -d 192.168.103.20/128 --auth hmac-md5 --authkey 0x5441484954455354383941 4243444546 parse_address is failed [root@usagi root]# sendMessagesSync: never got /usr/local/v6/bin/pfkey -A sa -T ah -S 0x1000 -s 192.168.105.31/128 -d 192.168.103.20/128 --auth hmac-md5 --authkey 0x54414849544553543839414243444546 ~. Disconnected. |
| Target: Set SAD entries: src="192.168.105.31" dst="192.168.103.20" spi=0x2000 mode=transport protocol=ah aalgo=hmac-md5 aalgokey=foo0foo1foo2foo3 | |
| 22:12:16 |
vRemote(ipsecSetSAD.rmt) ``/usr/local/v6eval//bin/usagi-i386//ipsecSetSAD.rmt -t usagi-i386 -u root -p v6eval -d cuaa0 -o 1 src="192.168.105.31" dst="192.168.103.20" spi=0x2000 mode=transport protocol=ah aalgo=hmac-md5 aalgokey=foo0foo1foo2foo3 ''
Connected. [root@usagi root]# [root@usagi root]# /usr/local/v6/bin/pfkey -A sa -T ah -S 0x2000 -s 192.168.105 .31/128 -d 192.168.103.20/128 --auth hmac-md5 --authkey 0x666F6F30666F6F31666F6F 32666F6F33 parse_address is failed [root@usagi root]# sendMessagesSync: never got /usr/local/v6/bin/pfkey -A sa -T ah -S 0x2000 -s 192.168.105.31/128 -d 192.168.103.20/128 --auth hmac-md5 --authkey 0x666F6F30666F6F31666F6F32666F6F33 ~. Disconnected. |
| Target: Set SPD entries: src="192.168.105.31" dst="192.168.103.20" upperspec=any direction=in protocol=ah mode=transport | |
| 22:12:55 |
vRemote(ipsecSetSPD.rmt) ``/usr/local/v6eval//bin/usagi-i386//ipsecSetSPD.rmt -t usagi-i386 -u root -p v6eval -d cuaa0 -o 1 src="192.168.105.31" dst="192.168.103.20" upperspec=any direction=in protocol=ah mode=transport ''
Connected. level is specified. I ignore it [root@usagi root]# [root@usagi root]# /usr/local/v6/bin/pfkey -A sp -S any -T ah -s 192.168.105.31/ 128 -d 192.168.103.20/128 parse_address is failed [root@usagi root]# sendMessagesSync: never got /usr/local/v6/bin/pfkey -A sp -S any -T ah -s 192.168.105.31/128 -d 192.168.103.20/128 [root@usagi root]# /usr/local/v6/bin/pfkey -L SADB: ----------------------------------------------- SPD: --------------------------------------------- [root@usagi root]# echo $? 1 ~. Disconnected. |
|
*** Target testing phase *** |
|
| 22:13:35 | Start Capturing Packets (Link0) |
| 22:13:35 |
vSend(Link0,echo_request_from_host1_ah) send echo_request_from_host1_ah |
| 22:13:35 | vRecv(Link0,ns_to_router echo_reply_to_host1) timeout:6 cntLimit:0 seektime:0 recv ns_to_router |
| 22:13:35 |
vSend(Link0,na_from_router) send na_from_router |
| 22:13:35 | vRecv(Link0,echo_reply_to_host1) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 22:13:35 vRecv() return status=1 |
|
TN received no echo reply from NUT to HOST1. (SPI=0x1000) NG |
|
| 22:13:41 | End |
Frame_Ether (length:72) | Hdr_Ether (length:14) | | DestinationAddress = 0:e0:18:a8:ab:de | | SourceAddress = 0:0:0:0:a0:a0 | | Type = 2048 | Packet_IPv4 (length:58) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 58 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 51 | | | HeaderChecksum = 27148 calc(27148) | | | SourceAddress = 192.168.105.31 | | | DestinationAddress = 192.168.103.20 | | Hdr_AH (length:24) | | | NextHeader = 17 | | | PayloadLength = 4 | | | Reserved = 0 | | | SPI = 4096 | | | SequenceNumber = 1 | | | algorithm = aalgo_hmacmd5_012 | | | ICV = 4fbbe1a5 44deeee9 eedaeeee calc(4fbbe1a5 44deeee9 eedaeeee) | | Upp_UDP (length:14) | | | Hdr_UDP (length:8) | | | | SourcePort = 10000 | | | | DestinationPort = 7 | | | | Length = 14 | | | | Checksum = 44610 calc(44610) | | | Payload (length:6) | | | | data = 44617461 2031
Frame_Ether (length:60) | Hdr_Ether (length:14) | | DestinationAddress = ff:ff:ff:ff:ff:ff | | SourceAddress = 0:e0:18:a8:ab:de | | Type = 2054 | Packet_ARP (length:28) | | Hdr_ARP (length:28) | | | Hardware = 1 | | | Protocol = 2048 | | | HLEN = 6 | | | PLEN = 4 | | | Operation = 1 | | | SenderHAddr = 0:e0:18:a8:ab:de | | | SenderPAddr = 192.168.103.20 | | | TargetHAddr = 0:0:0:0:0:0 | | | TargetPAddr = 192.168.103.10 | [Needless] (length:18) | | data = 00000000 00000000 00000000 00000000 0000 ===ns_to_router=================================
Frame_Ether (length:42) | Hdr_Ether (length:14) | | DestinationAddress = 0:e0:18:a8:ab:de | | SourceAddress = 0:0:0:0:a0:a0 | | Type = 2054 | Packet_ARP (length:28) | | Hdr_ARP (length:28) | | | Hardware = 1 | | | Protocol = 2048 | | | HLEN = 6 | | | PLEN = 4 | | | Operation = 2 | | | SenderHAddr = 0:0:0:0:a0:a0 | | | SenderPAddr = 192.168.103.10 | | | TargetHAddr = 0:e0:18:a8:ab:de | | | TargetPAddr = 192.168.103.20
Frame_Ether (length:100) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:a0:a0 | | SourceAddress = 0:e0:18:a8:ab:de | | Type = 2048 | Packet_IPv4 (length:86) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 192 | | | TotalLength = 86 | | | Identifier = 62418 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 1 | | | HeaderChecksum = 30095 calc(30095) | | | SourceAddress = 192.168.103.20 | | | DestinationAddress = 192.168.105.31 | | ICMPv4_DestinationUnreachable (length:66) | | | Type = 3 | | | Code = 2 | | | Checksum = 60073 calc(60073) | | | Unused = 0 | | | Payload (length:58) | | | | data = 4500003a 00000000 ff336a0c c0a8691f c0a86714 11040000 00001000 00000001 4fbbe1a5 44deeee9 eedaeeee 27100007 000eae42 44617461 2031 ===echo_reply_to_host1================================= ng compare _HDR_IPV4_echo_reply_to_host1.Protocol received:1 = 17 ng meta Packet_IPv4.Upp_UDP != Packet_IPv4.ICMPv4_DestinationUnreachable