Test Information

TitleDetect modification of IPv4 header IP src address with AH
CommandLine./HTR_A_In_DM_IPv4H_src.seq -pkt ./HTR_A_DM_IPv4H.def -cpp=-include ./ipsecaddr.def -log 13.html -ti Detect modification of IPv4 header IP src address with AH
TestVersion
ToolVersionundefined
Start2002/03/27 20:48:27
Tn/usr/local/v6eval//etc//tn.def
Nu/usr/local/v6eval//etc//nut.def
Pkt./HTR_A_DM_IPv4H.def
Systemusagi-i386
TargetNameRed Hat Linux release 7.2 (Enigma) + usagi cvs 2002/03/26 20:00
HostNameusagi.tahi.org
Typehost

Test Sequence Execution Log

20:48:28Start

*** Target initialization phase ***
Target: Clear all SAD and SPD entries
20:48:28 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
20:48:32 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 SPD entries: src="192.168.105.31" dst="192.168.103.20" upperspec=any direction=in protocol=ah mode=transport
20:49:11 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 ***
20:49:49Start Capturing Packets (Link0)
20:49:49 vSend(Link0,echo_request_from_host1_ah)
send echo_request_from_host1_ah
20:49:50 vRecv(Link0,ns_to_router echo_reply_to_host1) timeout:6 cntLimit:0 seektime:0
recv ns_to_router
20:49:50 vSend(Link0,na_from_router)
send na_from_router
20:49:50 vRecv(Link0,echo_reply_to_host1) timeout:5 cntLimit:0 seektime:0
recv unexpect packet at 20:49:50
vRecv() return status=1

TN received no echo reply from NUT to HOST1.
NG
20:49:55End

Packet Reverse Log