Test Information

TitleTest IKEv2.EN.I.1.1.4.1 Part A: Invalid payload type 1
CommandLine./1-EN-I/IKEv2-EN-I-1-1-4-1-A.seq -log 17.html -ti Test IKEv2.EN.I.1.1.4.1 Part A: Invalid payload type 1
TestVersionREL_1_0_3
ToolVersionREL_2_1_6
Start2010/03/09 04:35:24
Tn/usr/local/koi//etc//tn.def
Nu/usr/local/koi//etc//nut.def

Test Sequence Execution Log

04:35:24Start

TEST SETUP

initializing IKEv2 module ...

configuring Common Topology for End-Node: End-Node to End-Node ...

parsing ./config.pl ...

keyvalue
Link A prefix2001:0db8:0001:0001
Link X prefix2001:0db8:000f:0001
Link A link-local address (TR1)fe80::f
Link A global address (NUT)2001:0db8:0001:0001::1234
pre-shared key (TN)IKETEST12345678!
pre-shared key (NUT)IKETEST12345678!
IKE_SA Lifetime64
CHILD_SA Lifetime128
IKE_SA_INIT Request RetransTimer16
IKE_AUTH Request RetransTimer16
CREATE_CHILD_SA Request RetransTimer16
INFORMATIONAL Request RetransTimer16
Liveness Check Timer32
# of Half-Open IKE_SAs to contain N(COOKIE)32

setting up TN ...
04:35:24 ikev2Local("/sbin/sysctl -w net.inet6.ip6.forwarding=1")
net.inet6.ip6.forwarding: 0 -> 1
04:35:24 ikev2Local("/sbin/ifconfig -a")
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
	ether 00:23:ae:9d:94:70
	inet6 fe80::223:aeff:fe9d:9470%em0 prefixlen 64 scopeid 0x1 
	inet 10.66.70.72 netmask 0xffffff00 broadcast 10.66.70.255
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:e0:4c:0d:51:49
	inet 192.168.0.20 netmask 0xffffff00 broadcast 192.168.0.255
	inet6 fe80::2e0:4cff:fe0d:5149%rl0 prefixlen 64 scopeid 0x2 
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:1d:0f:0f:be:4e
	inet6 fe80::21d:fff:fe0f:be4e%rl1 prefixlen 64 scopeid 0x3 
	media: Ethernet autoselect (none)
	status: no carrier
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
04:35:24 ikev2Local("/sbin/ifconfig rl0 inet6 fe80::f%rl0/64")
04:35:24 ikev2Local("/sbin/ifconfig rl0 inet6 2001:0db8:0001:0001::f/64")
04:35:24 ikev2Local("/sbin/ifconfig lo1 create")
04:35:24 ikev2Local("/sbin/ifconfig lo1 up")
04:35:24 ikev2Local("/sbin/ifconfig lo1 inet6 2001:0db8:000f:0001::1/64")
04:35:27 ikev2Local("/sbin/ifconfig -a")
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
	ether 00:23:ae:9d:94:70
	inet6 fe80::223:aeff:fe9d:9470%em0 prefixlen 64 scopeid 0x1 
	inet 10.66.70.72 netmask 0xffffff00 broadcast 10.66.70.255
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:e0:4c:0d:51:49
	inet 192.168.0.20 netmask 0xffffff00 broadcast 192.168.0.255
	inet6 fe80::2e0:4cff:fe0d:5149%rl0 prefixlen 64 scopeid 0x2 
	inet6 fe80::f%rl0 prefixlen 64 scopeid 0x2 
	inet6 2001:db8:1:1::f prefixlen 64 
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:1d:0f:0f:be:4e
	inet6 fe80::21d:fff:fe0f:be4e%rl1 prefixlen 64 scopeid 0x3 
	media: Ethernet autoselect (none)
	status: no carrier
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet6 2001:db8:f:1::1 prefixlen 64 
04:35:27 ikev2Local("/sbin/setkey -D")
No SAD entries.
04:35:27 ikev2Local("/sbin/setkey -F")
04:35:30 ikev2Local("/sbin/setkey -D")
No SAD entries.
04:35:30 ikev2Local("/sbin/setkey -DP")
No SPD entries.
04:35:30 ikev2Local("/sbin/setkey -FP")
04:35:33 ikev2Local("/sbin/setkey -DP")
No SPD entries.

setting up NUT ...
04:35:33 kRemote(ifconfig.rmt) ``/usr/local/koi/bin/remotes/manual//ifconfig.rmt ifconfig.address=2001:0db8:0001:0001::1234/64 ifconfig.address_family=inet6 ifconfig.interface=eth0''
kRemote()... /usr/local/koi/bin/remotes/manual//ifconfig.rmt ifconfig.address=2001:0db8:0001:0001::1234/64 ifconfig.address_family=inet6 ifconfig.interface=eth0
ifconfig> 
ifconfig> ifconfig.address:	2001:0db8:0001:0001::1234/64
ifconfig> ifconfig.address_family:	inet6
ifconfig> ifconfig.interface:	eth0
ifconfig> 
ifconfig> Press Enter key for continue. 
ifconfig> 

04:46:41 kRemote(route.rmt) ``/usr/local/koi/bin/remotes/manual//route.rmt route.0.address_family=inet6 route.0.gateway=fe80::f%eth0 route.0.interface=eth0 route.0.network=2001:0db8:000f:0001::/64 route.num=1''
kRemote()... /usr/local/koi/bin/remotes/manual//route.rmt route.0.address_family=inet6 route.0.gateway=fe80::f%eth0 route.0.interface=eth0 route.0.network=2001:0db8:000f:0001::/64 route.num=1
route> 
route> route.0.address_family:	inet6
route> route.0.gateway:	fe80::f%eth0
route> route.0.interface:	eth0
route> route.0.network:	2001:0db8:000f:0001::/64
route> route.num:	1
route> 
route> Press Enter key for continue. 
route> 

04:46:42 kRemote(ikev2.rmt) ``/usr/local/koi/bin/remotes/manual//ikev2.rmt operation=stop''
kRemote()... /usr/local/koi/bin/remotes/manual//ikev2.rmt operation=stop
ikev2> 
ikev2> operation:	stop
ikev2> 
ikev2> Press Enter key for continue. 
ikev2> 

04:47:23 kRemote(ikev2.rmt) ``/usr/local/koi/bin/remotes/manual//ikev2.rmt ikev2.addresspool.0.eaddr= ikev2.addresspool.0.saddr= ikev2.addresspool.num=1 ikev2.interface.ike.0.address=2001:0db8:0001:0001::1234 ikev2.interface.ike.0.port=500 ikev2.interface.ike.num=1 ikev2.ipsec.0.ext_sequence=off ikev2.ipsec.0.ipsec_index=common_ipsec_index ikev2.ipsec.0.ipsec_sa_lifetime_time=60 ikev2.ipsec.0.sa_index.0=common_sa_index ikev2.ipsec.0.sa_index.num=1 ikev2.ipsec.num=1 ikev2.policy.0.ipsec_index.0=common_ipsec_index ikev2.policy.0.ipsec_index.num=1 ikev2.policy.0.ipsec_mode=transport ikev2.policy.0.policy_index=common_policy_index ikev2.policy.0.remote_index=common_remote_index ikev2.policy.num=1 ikev2.remote.0.ikev2.initial_contact.initial_contact=off ikev2.remote.0.ikev2.kmp_auth_method.0=psk ikev2.remote.0.ikev2.kmp_auth_method.num=1 ikev2.remote.0.ikev2.kmp_dh_group.0=modp1024 ikev2.remote.0.ikev2.kmp_dh_group.num=1 ikev2.remote.0.ikev2.kmp_enc_alg.0=3des_cbc ikev2.remote.0.ikev2.kmp_enc_alg.num=1 ikev2.remote.0.ikev2.kmp_hash_alg.0=hmac_sha1 ikev2.remote.0.ikev2.kmp_hash_alg.num=1 ikev2.remote.0.ikev2.kmp_prf_alg.0=hmac_sha1 ikev2.remote.0.ikev2.kmp_prf_alg.num=1 ikev2.remote.0.ikev2.kmp_sa_lifetime_time=120 ikev2.remote.0.ikev2.my_id.fqdn.num=0 ikev2.remote.0.ikev2.my_id.ipaddr.0=2001:0db8:0001:0001::1234 ikev2.remote.0.ikev2.my_id.ipaddr.num=1 ikev2.remote.0.ikev2.my_id.keyid.num=0 ikev2.remote.0.ikev2.my_id.rfc822addr.num=0 ikev2.remote.0.ikev2.need_pfs=off ikev2.remote.0.ikev2.peers_id.fqdn.num=0 ikev2.remote.0.ikev2.peers_id.ipaddr.0=2001:0db8:000f:0001::1 ikev2.remote.0.ikev2.peers_id.ipaddr.num=1 ikev2.remote.0.ikev2.peers_id.keyid.num=0 ikev2.remote.0.ikev2.peers_id.rfc822addr.num=0 ikev2.remote.0.ikev2.peers_ipaddr.address=2001:0db8:000f:0001::1 ikev2.remote.0.ikev2.peers_ipaddr.port=500 ikev2.remote.0.ikev2.pre_shared_key.local=IKETEST12345678! ikev2.remote.0.ikev2.pre_shared_key.remote=IKETEST12345678! ikev2.remote.0.ikev2.send_cert_req.send_cert_req=on ikev2.remote.0.remote_index=common_remote_index ikev2.remote.num=1 ikev2.sa.0.esp_auth_alg.0=hmac_sha1 ikev2.sa.0.esp_auth_alg.num=1 ikev2.sa.0.esp_enc_alg.0=3des_cbc ikev2.sa.0.esp_enc_alg.num=1 ikev2.sa.0.sa_index=common_sa_index ikev2.sa.0.sa_protocol=esp ikev2.sa.num=1 ikev2.selector.0.direction=outbound ikev2.selector.0.dst.address=2001:0db8:000f:0001::1 ikev2.selector.0.dst.address_family=inet6 ikev2.selector.0.policy_index=common_policy_index ikev2.selector.0.selector_index=common_selector_index_outbound ikev2.selector.0.src.address=2001:0db8:0001:0001::1234 ikev2.selector.0.src.address_family=inet6 ikev2.selector.0.upper_layer_protocol.protocol=any ikev2.selector.1.direction=inbound ikev2.selector.1.dst.address=2001:0db8:0001:0001::1234 ikev2.selector.1.dst.address_family=inet6 ikev2.selector.1.policy_index=common_policy_index ikev2.selector.1.selector_index=common_selector_index_inbound ikev2.selector.1.src.address=2001:0db8:000f:0001::1 ikev2.selector.1.src.address_family=inet6 ikev2.selector.1.upper_layer_protocol.protocol=any ikev2.selector.num=2''
kRemote()... /usr/local/koi/bin/remotes/manual//ikev2.rmt ikev2.addresspool.0.eaddr= ikev2.addresspool.0.saddr= ikev2.addresspool.num=1 ikev2.interface.ike.0.address=2001:0db8:0001:0001::1234 ikev2.interface.ike.0.port=500 ikev2.interface.ike.num=1 ikev2.ipsec.0.ext_sequence=off ikev2.ipsec.0.ipsec_index=common_ipsec_index ikev2.ipsec.0.ipsec_sa_lifetime_time=60 ikev2.ipsec.0.sa_index.0=common_sa_index ikev2.ipsec.0.sa_index.num=1 ikev2.ipsec.num=1 ikev2.policy.0.ipsec_index.0=common_ipsec_index ikev2.policy.0.ipsec_index.num=1 ikev2.policy.0.ipsec_mode=transport ikev2.policy.0.policy_index=common_policy_index ikev2.policy.0.remote_index=common_remote_index ikev2.policy.num=1 ikev2.remote.0.ikev2.initial_contact.initial_contact=off ikev2.remote.0.ikev2.kmp_auth_method.0=psk ikev2.remote.0.ikev2.kmp_auth_method.num=1 ikev2.remote.0.ikev2.kmp_dh_group.0=modp1024 ikev2.remote.0.ikev2.kmp_dh_group.num=1 ikev2.remote.0.ikev2.kmp_enc_alg.0=3des_cbc ikev2.remote.0.ikev2.kmp_enc_alg.num=1 ikev2.remote.0.ikev2.kmp_hash_alg.0=hmac_sha1 ikev2.remote.0.ikev2.kmp_hash_alg.num=1 ikev2.remote.0.ikev2.kmp_prf_alg.0=hmac_sha1 ikev2.remote.0.ikev2.kmp_prf_alg.num=1 ikev2.remote.0.ikev2.kmp_sa_lifetime_time=120 ikev2.remote.0.ikev2.my_id.fqdn.num=0 ikev2.remote.0.ikev2.my_id.ipaddr.0=2001:0db8:0001:0001::1234 ikev2.remote.0.ikev2.my_id.ipaddr.num=1 ikev2.remote.0.ikev2.my_id.keyid.num=0 ikev2.remote.0.ikev2.my_id.rfc822addr.num=0 ikev2.remote.0.ikev2.need_pfs=off ikev2.remote.0.ikev2.peers_id.fqdn.num=0 ikev2.remote.0.ikev2.peers_id.ipaddr.0=2001:0db8:000f:0001::1 ikev2.remote.0.ikev2.peers_id.ipaddr.num=1 ikev2.remote.0.ikev2.peers_id.keyid.num=0 ikev2.remote.0.ikev2.peers_id.rfc822addr.num=0 ikev2.remote.0.ikev2.peers_ipaddr.address=2001:0db8:000f:0001::1 ikev2.remote.0.ikev2.peers_ipaddr.port=500 ikev2.remote.0.ikev2.pre_shared_key.local=IKETEST12345678! ikev2.remote.0.ikev2.pre_shared_key.remote=IKETEST12345678! ikev2.remote.0.ikev2.send_cert_req.send_cert_req=on ikev2.remote.0.remote_index=common_remote_index ikev2.remote.num=1 ikev2.sa.0.esp_auth_alg.0=hmac_sha1 ikev2.sa.0.esp_auth_alg.num=1 ikev2.sa.0.esp_enc_alg.0=3des_cbc ikev2.sa.0.esp_enc_alg.num=1 ikev2.sa.0.sa_index=common_sa_index ikev2.sa.0.sa_protocol=esp ikev2.sa.num=1 ikev2.selector.0.direction=outbound ikev2.selector.0.dst.address=2001:0db8:000f:0001::1 ikev2.selector.0.dst.address_family=inet6 ikev2.selector.0.policy_index=common_policy_index ikev2.selector.0.selector_index=common_selector_index_outbound ikev2.selector.0.src.address=2001:0db8:0001:0001::1234 ikev2.selector.0.src.address_family=inet6 ikev2.selector.0.upper_layer_protocol.protocol=any ikev2.selector.1.direction=inbound ikev2.selector.1.dst.address=2001:0db8:0001:0001::1234 ikev2.selector.1.dst.address_family=inet6 ikev2.selector.1.policy_index=common_policy_index ikev2.selector.1.selector_index=common_selector_index_inbound ikev2.selector.1.src.address=2001:0db8:000f:0001::1 ikev2.selector.1.src.address_family=inet6 ikev2.selector.1.upper_layer_protocol.protocol=any ikev2.selector.num=2
ikev2> 
ikev2> ikev2.addresspool.0.eaddr:	1
ikev2> ikev2.addresspool.0.saddr:	1
ikev2> ikev2.addresspool.num:	1
ikev2> ikev2.interface.ike.0.address:	2001:0db8:0001:0001::1234
ikev2> ikev2.interface.ike.0.port:	500
ikev2> ikev2.interface.ike.num:	1
ikev2> ikev2.ipsec.0.ext_sequence:	off
ikev2> ikev2.ipsec.0.ipsec_index:	common_ipsec_index
ikev2> ikev2.ipsec.0.ipsec_sa_lifetime_time:	60
ikev2> ikev2.ipsec.0.sa_index.0:	common_sa_index
ikev2> ikev2.ipsec.0.sa_index.num:	1
ikev2> ikev2.ipsec.num:	1
ikev2> ikev2.policy.0.ipsec_index.0:	common_ipsec_index
ikev2> ikev2.policy.0.ipsec_index.num:	1
ikev2> ikev2.policy.0.ipsec_mode:	transport
ikev2> ikev2.policy.0.policy_index:	common_policy_index
ikev2> ikev2.policy.0.remote_index:	common_remote_index
ikev2> ikev2.policy.num:	1
ikev2> ikev2.remote.0.ikev2.initial_contact.initial_contact:	off
ikev2> ikev2.remote.0.ikev2.kmp_auth_method.0:	psk
ikev2> ikev2.remote.0.ikev2.kmp_auth_method.num:	1
ikev2> ikev2.remote.0.ikev2.kmp_dh_group.0:	modp1024
ikev2> ikev2.remote.0.ikev2.kmp_dh_group.num:	1
ikev2> ikev2.remote.0.ikev2.kmp_enc_alg.0:	3des_cbc
ikev2> ikev2.remote.0.ikev2.kmp_enc_alg.num:	1
ikev2> ikev2.remote.0.ikev2.kmp_hash_alg.0:	hmac_sha1
ikev2> ikev2.remote.0.ikev2.kmp_hash_alg.num:	1
ikev2> ikev2.remote.0.ikev2.kmp_prf_alg.0:	hmac_sha1
ikev2> ikev2.remote.0.ikev2.kmp_prf_alg.num:	1
ikev2> ikev2.remote.0.ikev2.kmp_sa_lifetime_time:	120
ikev2> ikev2.remote.0.ikev2.my_id.fqdn.num:	0
ikev2> ikev2.remote.0.ikev2.my_id.ipaddr.0:	2001:0db8:0001:0001::1234
ikev2> ikev2.remote.0.ikev2.my_id.ipaddr.num:	1
ikev2> ikev2.remote.0.ikev2.my_id.keyid.num:	0
ikev2> ikev2.remote.0.ikev2.my_id.rfc822addr.num:	0
ikev2> ikev2.remote.0.ikev2.need_pfs:	off
ikev2> ikev2.remote.0.ikev2.peers_id.fqdn.num:	0
ikev2> ikev2.remote.0.ikev2.peers_id.ipaddr.0:	2001:0db8:000f:0001::1
ikev2> ikev2.remote.0.ikev2.peers_id.ipaddr.num:	1
ikev2> ikev2.remote.0.ikev2.peers_id.keyid.num:	0
ikev2> ikev2.remote.0.ikev2.peers_id.rfc822addr.num:	0
ikev2> ikev2.remote.0.ikev2.peers_ipaddr.address:	2001:0db8:000f:0001::1
ikev2> ikev2.remote.0.ikev2.peers_ipaddr.port:	500
ikev2> ikev2.remote.0.ikev2.pre_shared_key.local:	IKETEST12345678!
ikev2> ikev2.remote.0.ikev2.pre_shared_key.remote:	IKETEST12345678!
ikev2> ikev2.remote.0.ikev2.send_cert_req.send_cert_req:	on
ikev2> ikev2.remote.0.remote_index:	common_remote_index
ikev2> ikev2.remote.num:	1
ikev2> ikev2.sa.0.esp_auth_alg.0:	hmac_sha1
ikev2> ikev2.sa.0.esp_auth_alg.num:	1
ikev2> ikev2.sa.0.esp_enc_alg.0:	3des_cbc
ikev2> ikev2.sa.0.esp_enc_alg.num:	1
ikev2> ikev2.sa.0.sa_index:	common_sa_index
ikev2> ikev2.sa.0.sa_protocol:	esp
ikev2> ikev2.sa.num:	1
ikev2> ikev2.selector.0.direction:	outbound
ikev2> ikev2.selector.0.dst.address:	2001:0db8:000f:0001::1
ikev2> ikev2.selector.0.dst.address_family:	inet6
ikev2> ikev2.selector.0.policy_index:	common_policy_index
ikev2> ikev2.selector.0.selector_index:	common_selector_index_outbound
ikev2> ikev2.selector.0.src.address:	2001:0db8:0001:0001::1234
ikev2> ikev2.selector.0.src.address_family:	inet6
ikev2> ikev2.selector.0.upper_layer_protocol.protocol:	any
ikev2> ikev2.selector.1.direction:	inbound
ikev2> ikev2.selector.1.dst.address:	2001:0db8:0001:0001::1234
ikev2> ikev2.selector.1.dst.address_family:	inet6
ikev2> ikev2.selector.1.policy_index:	common_policy_index
ikev2> ikev2.selector.1.selector_index:	common_selector_index_inbound
ikev2> ikev2.selector.1.src.address:	2001:0db8:000f:0001::1
ikev2> ikev2.selector.1.src.address_family:	inet6
ikev2> ikev2.selector.1.upper_layer_protocol.protocol:	any
ikev2> ikev2.selector.num:	2
ikev2> 
ikev2> Press Enter key for continue. 
ikev2> 


TEST PROCEDURE

Part A:Invalid payload type 1.

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IKE_SA_INIT request (HDR, SAi1, KEi, Ni)
     |               |
     V               V
04:47:30 Clear Buffer
done
04:47:30 kRemoteAsync(ikev2.rmt) ``/usr/local/koi/bin/remotes/manual//ikev2.rmt selector.direction=outbound selector.dst.address=2001:0db8:000f:0001::1 selector.dst.address_family=inet6 selector.policy_index=common_policy_index selector.selector_index=common_selector_index_outbound selector.src.address=2001:0db8:0001:0001::1234 selector.src.address_family=inet6 selector.upper_layer_protocol.protocol=any target=2001:0db8:000f:0001::1 operation=initiate''
kRemoteAsync()... /usr/local/koi/bin/remotes/manual//ikev2.rmt selector.direction=outbound selector.dst.address=2001:0db8:000f:0001::1 selector.dst.address_family=inet6 selector.policy_index=common_policy_index selector.selector_index=common_selector_index_outbound selector.src.address=2001:0db8:0001:0001::1234 selector.src.address_family=inet6 selector.upper_layer_protocol.protocol=any target=2001:0db8:000f:0001::1 operation=initiate
Link to remote control log
04:47:30 Listen
  SrcAddr:2001:0db8:000f:0001::1   SrcPort:500
done
  listening at SocketID:3
04:47:30 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:500
  DstAddr:2001:db8:f:1::1     DstPort:500
done
  received from SocketID:4
receive 1st packet

compare the received packet with packets('common_remote_index')
04:47:38 Checking Payload Order ...
OK: Payload Order ('HDR', 'SA', 'KE', 'Ni, Nr', 'V')
04:47:38 Preparing Expected Packet ...
OK: Added Payloads:
Added#0
	vendorID = 24533135371380597343774798968
	inserted = 4
	added = 1
	self = V
	critical = 0
	length = 16
	nexttype = 0
	reserved = 0
	offset = 228
OK: Modified Payloads:
Modified#0
	critical = 0
	length = ARRAY(0x8a80644)
	length_comparator = range
	nexttype = V
	self = Ni, Nr
	nonce = NaN
	reserved = 0
	modified = nexttype(0 -> V)
04:47:38 Checking Fields ...

IKE Header
OK	initSPI:	(received: acf6ed5c92446b2a, expected: 0000000000000000, comp: ne)
OK	respSPI:	(received: 0000000000000000, expected: 0000000000000000, comp: eq)
OK	nexttype:	(received: SA, expected: SA, comp: eq)
OK	major:	(received: 2, expected: 2, comp: eq)
OK	minor:	(received: 0, expected: 0, comp: eq)
OK	exchType:	(received: IKE_SA_INIT, expected: IKE_SA_INIT, comp: eq)
OK	reserved1:	(received: 0, expected: 0, comp: eq)
OK	initiator:	(received: 1, expected: 1, comp: eq)
OK	higher:	(received: 0, expected: 0, comp: eq)
OK	response:	(received: 0, expected: 0, comp: eq)
OK	reserved2:	(received: 0, expected: 0, comp: eq)
OK	messID:	(received: 0, expected: 0, comp: eq)
OK	length:	(received: 244, expected: any, comp: eq)

SA Proposal Comparison
OK	ENCR:	(received:ENCR_3DES, expected:ENCR_3DES)
OK	PRF:	(received:PRF_HMAC_SHA1, expected:PRF_HMAC_SHA1)
OK	INTEG:	(received:INTEG_HMAC_SHA1_96, expected:INTEG_HMAC_SHA1_96)
OK	D-H:	(received:D-H_1024 MODP Group, expected:D-H_1024 MODP Group)
OK	ESN:	(received:, expected:)

Security Association Payload
OK	nexttype: (received:KE, expected:KE, comp: ne)
OK	reserved: (received:0, expected:0, comp: eq)
OK	critical: (received:0, expected:0, comp: eq)
OK	length: (received:44, expected:44, comp: eq)

Proposal Substructure
OK	nexttype: (received:0, expected:0, comp: eq)
OK	reserved: (received:0, expected:0, comp: eq)
OK	number: (received:1, expected:1, comp: eq)
OK	proposalLen: (received:40, expected:40, comp: eq)
OK	transformCount: (received:4, expected:4, comp: eq)
OK	id: (received:IKE, expected:IKE, comp: eq)
OK	spiSize: (received:0, expected:0, comp: eq)

Transform Substructure
OK	nexttype: (received:3, expected:3, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:ENCR, expected:ENCR, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:3DES, expected:3DES, comp: eq)

Transform Substructure
OK	nexttype: (received:3, expected:3, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:INTEG, expected:INTEG, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:HMAC_SHA1_96, expected:HMAC_SHA1_96, comp: eq)

Transform Substructure
OK	nexttype: (received:3, expected:3, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:PRF, expected:PRF, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:HMAC_SHA1, expected:HMAC_SHA1, comp: eq)

Transform Substructure
OK	nexttype: (received:0, expected:0, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:D-H, expected:D-H, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:1024 MODP Group, expected:1024 MODP Group, comp: eq)

Key Exchange Payload
OK	nexttype:	(received: Ni, Nr, expected: Ni, Nr, comp: eq)
OK	critical:	(received: 0, expected: 0, comp: eq)
OK	reserved:	(received: 0, expected: 0, comp: eq)
OK	length:	(received: 136, expected: 136, comp: eq)
OK	group:	(received: 2, expected: 2, comp: eq)
OK	reserved1:	(received: 0, expected: 0, comp: eq)
OK	publicKey:	(received: 0x16b9d23fb46aa8317b766f0519e0311615620c2c0a3d1d1800b3e84197421f516adf55152985bf475e1db62bf336310f1ce2bb156182da65854b2becca5d19113c560bdaca086bf89b32042f1ea7cc5419b6415e07ff21afc72e5d745c4c2b63f99a1cf8e515845048671f151fe182c73b443ecd57f03bebc11f05456877df5c, expected: any, comp: eq)

Nonce Payload
OK	nexttype:	(received: V, expected: V, comp: eq)
OK	critical:	(received: 0, expected: 0, comp: eq)
OK	reserved:	(received: 0, expected: 0, comp: eq)
OK	length:	(received: 20, expected: [20-260], comp: range)
OK	nonce:	(received: 0xb8749aa1eba9f65a310ce24262254592, expected: any, comp: eq)

Vendor Payload
OK	nexttype:	(received: 0, expected: 0, comp: eq)
OK	critical:	(received: 0, expected: 0, comp: eq)
OK	reserved:	(received: 0, expected: 0, comp: eq)
OK	length:	(received: 16, expected: 16, comp: eq)
OK	vendorID:	(received: 24533135371380597343774798968, expected: 24533135371380597343774798968, comp: eq)

Match with packet('common_remote_index')

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IKE_SA_INIT response (HDR, P, SAr1, KEr, Nr)
     |               |
     V               V
04:47:38 Clear Buffer
done
04:47:38 Send
done
  sent to SocketID:4
send 2nd packet

keyvalue
g^i16b9d23fb46aa8317b766f0519e0311615620c2c0a3d1d1800b3e84197421f516adf55152985bf475e1db62bf336310f1ce2bb156182da65854b2becca5d19113c560bdaca086bf89b32042f1ea7cc5419b6415e07ff21afc72e5d745c4c2b63f99a1cf8e515845048671f151fe182c73b443ecd57f03bebc11f05456877df5c
g^r118d8e9ec98efc59ad4a25d27452f15136c3622cde06640658ebfeab74fb4d2f0a022d4bc8c06f86528a1c374b983c8981ec3dd2cf9edc918b48b1e0f1a24e4d3ac10803925288df286a0c74684a394b68dc5ba11b53635da1d056e798c92dd3e0a56dbd890dc9009550cd62027adf3acabf8b19041594e510c50ec72b5465b3
g^ir8a4807b17e6069441255b73efaaeddd41aedc904d1bb9967020faa4c1578035b431a87fcd56750d25f0a426f7d1464906d2570b51341ee88bd94dba7d722681b0e504efb5e0df810131f698738769520100d83facd234ae40b6b0ddda78fae39d3bba710d899760e4ec5d2bd69112a0e6ba13171e60bafdcfdf6af1877a75c16
Nib8749aa1eba9f65a310ce24262254592
Nr97385d610c693ae374bb218e60c79c5ae7fed57ee4b0bd565fd36d0d0f80d1d32febf477a5c8667e8590181cb51e4235737e62b94cef0c2c09fe33ad19dd7d2b730be7081204d3bd7e1ab8b5417500219446fcfae4467c1121618bf4989b2e14c4226a5f9a826375710d6e20b5ad9882ff0bf980f51541c85a91773f2b937655a86cf2e3124c499ca15850e0b28cfde10c5830f7e414
SPIiacf6ed5c92446b2a
SPIr829c54d5c1bd1e77
IKEv2 Transform Type 1 Algorithms3DES
IKEv2 Transform Type 2 AlgorithmsHMAC_SHA1
IKEv2 Transform Type 3 AlgorithmsHMAC_SHA1_96

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IKE_AUTH request (HDR, SK {IDi, AUTH, N(USE_TRANSPORT_MODE), SAi2, TSi, TSr})
     |               |
     V               V
04:47:38 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:500
  DstAddr:2001:db8:f:1::1     DstPort:500
done
  received from SocketID:4
receive 3rd packet

Authentication Success.
expected(b041eda937ec6b3c3fa5cde99e45828ffabd77ac)
received(b041eda937ec6b3c3fa5cde99e45828ffabd77ac)

compare the received packet with packets('common_remote_index')
04:47:38 Checking Payload Order ...
OK: Payload Order ('HDR', 'E', 'IDi', 'AUTH', 'SA', 'TSi', 'TSr', 'N')
04:47:38 Preparing Expected Packet ...
OK: Added Payloads:
Added#0
	paylen = 4
	inserted = 6
	added = 1
	self = N
	spi = 
	data = 
	critical = 0
	length = 8
	nexttype = 0
	spiSize = 0
	id = 0
	type = USE_TRANSPORT_MODE
	reserved = 0
	offset = 304
OK: Modified Payloads:
Modified#0
	count = 1
	self = TSr
	modified = nexttype(0 -> N)
	selectors = ARRAY(0x8abdafc)
	critical = 0
	reserved1 = 0
	length = 48
	nexttype = N
	reserved = 0
04:47:38 Checking Fields ...

IKE Header
OK	initSPI:	(received: acf6ed5c92446b2a, expected: acf6ed5c92446b2a, comp: eq)
OK	respSPI:	(received: 829c54d5c1bd1e77, expected: 829c54d5c1bd1e77, comp: eq)
OK	nexttype:	(received: E, expected: E, comp: eq)
OK	major:	(received: 2, expected: 2, comp: eq)
OK	minor:	(received: 0, expected: 0, comp: eq)
OK	exchType:	(received: IKE_AUTH, expected: IKE_AUTH, comp: eq)
OK	reserved1:	(received: 0, expected: 0, comp: eq)
OK	initiator:	(received: 1, expected: 1, comp: eq)
OK	higher:	(received: 0, expected: 0, comp: eq)
OK	response:	(received: 0, expected: 0, comp: eq)
OK	reserved2:	(received: 0, expected: 0, comp: eq)
OK	messID:	(received: 1, expected: 1, comp: eq)
OK	length:	(received: 372, expected: any, comp: eq)

Encrypted Payload
OK	innerType:	(received: IDi, expected: IDi, comp: eq)
OK	critical:	(received: 0, expected: 0, comp: eq)
OK	reserved:	(received: 0, expected: 0, comp: eq)
OK	length:	(received: 32, expected: any, comp: eq)
OK	iv:	(received: 808977F5 66B34CBA, expected: any, comp: eq)
OK	checksum:	(received: C66D620F 0BDCEA7B 798B3026, expected: any, comp: eq)

Identification Payload - Initiator
OK	nexttype:	(received: AUTH, expected: AUTH, comp: eq)
OK	critical:	(received: 0, expected: 0, comp: eq)
OK	reserved:	(received: 0, expected: 0, comp: eq)
OK	length:	(received: 24, expected: 24, comp: eq)
OK	type:	(received: IPV6_ADDR, expected: IPV6_ADDR, comp: eq)
OK	reserved1:	(received: 0, expected: 0, comp: eq)
OK	value:	(received: 20010DB8 00010001 00000000 00001234, expected: 20010DB8 00010001 00000000 00001234, comp: eq)

Authentication Payload
OK	nexttype:	(received: SA, expected: SA, comp: eq)
OK	critical:	(received: 0, expected: 0, comp: eq)
OK	reserved:	(received: 0, expected: 0, comp: eq)
OK	length:	(received: 28, expected: any, comp: eq)
OK	method:	(received: SK_MIC, expected: SK_MIC, comp: eq)
OK	reserved1:	(received: 0, expected: 0, comp: eq)
OK	data:	(received: b041eda937ec6b3c3fa5cde99e45828ffabd77ac, expected: any, comp: eq)

SA Proposal Comparison
OK	ENCR:	(received:ENCR_3DES, expected:ENCR_3DES)
OK	PRF:	(received:, expected:)
OK	INTEG:	(received:INTEG_HMAC_SHA1_96, expected:INTEG_HMAC_SHA1_96)
OK	D-H:	(received:, expected:)
OK	ESN:	(received:ESN_No ESN, expected:ESN_No ESN)

Security Association Payload
OK	nexttype: (received:TSi, expected:TSi, comp: ne)
OK	reserved: (received:0, expected:0, comp: eq)
OK	critical: (received:0, expected:0, comp: eq)
OK	length: (received:156, expected:156, comp: eq)

Proposal Substructure
OK	nexttype: (received:2, expected:2, comp: eq)
OK	reserved: (received:0, expected:0, comp: eq)
OK	number: (received:1, expected:1, comp: eq)
OK	id: (received:ESP, expected:ESP, comp: eq)
OK	proposalLen: (received:40, expected:40, comp: eq)
OK	transformCount: (received:3, expected:3, comp: eq)
OK	spiSize: (received:4, expected:4, comp: eq)
OK	spi: (received:37254313, expected:any, comp: eq)

Transform Substructure
OK	nexttype: (received:3, expected:3, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:12, expected:12, comp: eq)
OK	type: (received:ENCR, expected:ENCR, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:AES_CBC, expected:AES_CBC, comp: eq)

Transform Attribute
OK	type: (received:Key Length, expected:Key Length, comp: eq)
OK	value: (received:128, expected:128, comp: eq)

Transform Substructure
OK	nexttype: (received:3, expected:3, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:INTEG, expected:INTEG, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:HMAC_SHA1_96, expected:HMAC_SHA1_96, comp: eq)

Transform Substructure
OK	nexttype: (received:0, expected:0, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:ESN, expected:ESN, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:No ESN, expected:No ESN, comp: eq)

Proposal Substructure
OK	nexttype: (received:2, expected:2, comp: eq)
OK	reserved: (received:0, expected:0, comp: eq)
OK	number: (received:2, expected:0, comp: ne)
OK	id: (received:ESP, expected:ESP, comp: eq)
OK	proposalLen: (received:40, expected:40, comp: eq)
OK	transformCount: (received:3, expected:3, comp: eq)
OK	spiSize: (received:4, expected:4, comp: eq)
OK	spi: (received:37254313, expected:any, comp: eq)

Transform Substructure
OK	nexttype: (received:3, expected:3, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:12, expected:12, comp: eq)
OK	type: (received:ENCR, expected:ENCR, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:AES_CBC, expected:AES_CBC, comp: eq)

Transform Attribute
OK	type: (received:Key Length, expected:Key Length, comp: eq)
OK	value: (received:128, expected:128, comp: eq)

Transform Substructure
OK	nexttype: (received:3, expected:3, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:INTEG, expected:INTEG, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:HMAC_MD5_96, expected:HMAC_MD5_96, comp: eq)

Transform Substructure
OK	nexttype: (received:0, expected:0, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:ESN, expected:ESN, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:No ESN, expected:No ESN, comp: eq)

Proposal Substructure
OK	nexttype: (received:2, expected:2, comp: eq)
OK	reserved: (received:0, expected:0, comp: eq)
OK	number: (received:3, expected:0, comp: ne)
OK	id: (received:ESP, expected:ESP, comp: eq)
OK	proposalLen: (received:36, expected:36, comp: eq)
OK	transformCount: (received:3, expected:3, comp: eq)
OK	spiSize: (received:4, expected:4, comp: eq)
OK	spi: (received:37254313, expected:any, comp: eq)

Transform Substructure
OK	nexttype: (received:3, expected:3, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:ENCR, expected:ENCR, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:3DES, expected:3DES, comp: eq)

Transform Substructure
OK	nexttype: (received:3, expected:3, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:INTEG, expected:INTEG, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:HMAC_SHA1_96, expected:HMAC_SHA1_96, comp: eq)

Transform Substructure
OK	nexttype: (received:0, expected:0, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:ESN, expected:ESN, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:No ESN, expected:No ESN, comp: eq)

Proposal Substructure
OK	nexttype: (received:0, expected:0, comp: eq)
OK	reserved: (received:0, expected:0, comp: eq)
OK	number: (received:4, expected:0, comp: ne)
OK	id: (received:ESP, expected:ESP, comp: eq)
OK	proposalLen: (received:36, expected:36, comp: eq)
OK	transformCount: (received:3, expected:3, comp: eq)
OK	spiSize: (received:4, expected:4, comp: eq)
OK	spi: (received:37254313, expected:any, comp: eq)

Transform Substructure
OK	nexttype: (received:3, expected:3, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:ENCR, expected:ENCR, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:3DES, expected:3DES, comp: eq)

Transform Substructure
OK	nexttype: (received:3, expected:3, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:INTEG, expected:INTEG, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:HMAC_MD5_96, expected:HMAC_MD5_96, comp: eq)

Transform Substructure
OK	nexttype: (received:0, expected:0, comp: eq)
OK	reserved1: (received:0, expected:0, comp: eq)
OK	transformLen: (received:8, expected:8, comp: eq)
OK	type: (received:ESN, expected:ESN, comp: eq)
OK	reserved2: (received:0, expected:0, comp: eq)
OK	id: (received:No ESN, expected:No ESN, comp: eq)

Traffic Selector Payload - Initiator
OK	nexttype:	(received: TSr, expected: TSr, comp: eq)
OK	critical:	(received: 0, expected: 0, comp: eq)
OK	reserved:	(received: 0, expected: 0, comp: eq)
OK	length:	(received: 48, expected: 48, comp: eq)
OK	count:	(received: 1, expected: 1, comp: eq)
OK	reserved1:	(received: 0, expected: 0, comp: eq)

Traffic Selector (expected #0)
OK	type:	(received: IPV6_ADDR_RANGE, expected: IPV6_ADDR_RANGE, comp: eq)
OK	protocol:	(received: 0, expected: 0, comp: eq)
OK	selectorLen:	(received: 40, expected: 40, comp: eq)
OK	sport:	(received: 0, expected: 0, comp: eq)
OK	eport:	(received: 65535, expected: 65535, comp: eq)
OK	saddr:	(received: 20010DB8 00010001 00000000 00001234, expected: 20010DB8 00010001 00000000 00001234, comp: eq)
OK	eaddr:	(received: 20010DB8 00010001 00000000 00001234, expected: 20010DB8 00010001 00000000 00001234, comp: eq)

Traffic Selector Payload - Responder
OK	nexttype:	(received: N, expected: N, comp: eq)
OK	critical:	(received: 0, expected: 0, comp: eq)
OK	reserved:	(received: 0, expected: 0, comp: eq)
OK	length:	(received: 48, expected: 48, comp: eq)
OK	count:	(received: 1, expected: 1, comp: eq)
OK	reserved1:	(received: 0, expected: 0, comp: eq)

Traffic Selector (expected #0)
OK	type:	(received: IPV6_ADDR_RANGE, expected: IPV6_ADDR_RANGE, comp: eq)
OK	protocol:	(received: 0, expected: 0, comp: eq)
OK	selectorLen:	(received: 40, expected: 40, comp: eq)
OK	sport:	(received: 0, expected: 0, comp: eq)
OK	eport:	(received: 65535, expected: 65535, comp: eq)
OK	saddr:	(received: 20010DB8 000F0001 00000000 00000001, expected: 20010DB8 000F0001 00000000 00000001, comp: eq)
OK	eaddr:	(received: 20010DB8 000F0001 00000000 00000001, expected: 20010DB8 000F0001 00000000 00000001, comp: eq)

Notify Payload
OK	nexttype:	(received: 0, expected: 0, comp: eq)
OK	critical:	(received: 0, expected: 0, comp: eq)
OK	reserved:	(received: 0, expected: 0, comp: eq)
OK	length:	(received: 8, expected: 8, comp: eq)
OK	id:	(received: 0, expected: 0, comp: eq)
OK	spiSize:	(received: 0, expected: 0, comp: eq)
OK	type:	(received: USE_TRANSPORT_MODE, expected: USE_TRANSPORT_MODE, comp: eq)
OK	spi:	(received: , expected: , comp: eq)
OK	data:	(received: , expected: , comp: eq)

Match with packet('common_remote_index')

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IKE_AUTH response (HDR, SK {IDr, AUTH, N(USE_TRANSPORT_MODE), SAr2, TSi, TSr})
     |               |
     V               V
04:47:38 Clear Buffer
done
04:47:38 Send
done
  sent to SocketID:4
send 4th packet

keyvalue
er15290bb5ba083eee37b55e37964177384484e8b7bd421985
ar3e3375f2657a8841f379e4ce91c7b320942eb108
ei13fe5f227cca37de53770c0237dd603160b94f754ed8eb2c
ai5819b43ed9d3f96b46e2b9584cf30944b3b690e9
04:47:38 ikev2Local("/usr/local/sbin/setkey -c << EOF add 2001:0db8:000f:0001::1 2001:0db8:0001:0001::1234 esp 0x37254313 -E 3des-cbc 0x15290bb5ba083eee37b55e37964177384484e8b7bd421985 -A hmac-sha1 0x3e3375f2657a8841f379e4ce91c7b320942eb108; add 2001:0db8:0001:0001::1234 2001:0db8:000f:0001::1 esp 0xfcb688e9 -E 3des-cbc 0x13fe5f227cca37de53770c0237dd603160b94f754ed8eb2c -A hmac-sha1 0x5819b43ed9d3f96b46e2b9584cf30944b3b690e9; spdadd 2001:0db8:0001:0001::1234[any] 2001:0db8:000f:0001::1[any] icmp6 -P in ipsec esp/transport//require; spdadd 2001:0db8:000f:0001::1[any] 2001:0db8:0001:0001::1234[any] icmp6 -P out ipsec esp/transport//require; EOF ")
add 2001:0db8:000f:0001::1 2001:0db8:0001:0001::1234 esp 0x37254313
 -E 3des-cbc 0x15290bb5ba083eee37b55e37964177384484e8b7bd421985
 -A hmac-sha1 0x3e3375f2657a8841f379e4ce91c7b320942eb108;
add 2001:0db8:0001:0001::1234 2001:0db8:000f:0001::1 esp 0xfcb688e9
 -E 3des-cbc 0x13fe5f227cca37de53770c0237dd603160b94f754ed8eb2c
 -A hmac-sha1 0x5819b43ed9d3f96b46e2b9584cf30944b3b690e9;
spdadd 2001:0db8:0001:0001::1234[any] 2001:0db8:000f:0001::1[any] icmp6
 -P in ipsec esp/transport//require;
spdadd 2001:0db8:000f:0001::1[any] 2001:0db8:0001:0001::1234[any] icmp6
 -P out ipsec esp/transport//require;
04:47:38 ikev2Local("/usr/local/sbin/setkey -DP")
2001:db8:1:1::1234 2001:db8:f:1::1 icmp6
	in ipsec
	esp/transport//require
	spid=9 seq=1 pid=5836
	refcnt=1
2001:db8:f:1::1 2001:db8:1:1::1234 icmp6
	out ipsec
	esp/transport//require
	spid=10 seq=0 pid=5836
	refcnt=1
04:47:38 ikev2Local("/usr/local/sbin/setkey -D")
2001:db8:1:1::1234 2001:db8:f:1::1 
	esp mode=any spi=4239821033(0xfcb688e9) reqid=0(0x00000000)
	E: 3des-cbc  13fe5f22 7cca37de 53770c02 37dd6031 60b94f75 4ed8eb2c
	A: hmac-sha1  5819b43e d9d3f96b 46e2b958 4cf30944 b3b690e9
	seq=0x00000000 replay=0 flags=0x00000040 state=mature 
	created: Mar  9 04:47:38 2010	current: Mar  9 04:47:38 2010
	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=1 pid=5837 refcnt=1
2001:db8:f:1::1 2001:db8:1:1::1234 
	esp mode=any spi=925188883(0x37254313) reqid=0(0x00000000)
	E: 3des-cbc  15290bb5 ba083eee 37b55e37 96417738 4484e8b7 bd421985
	A: hmac-sha1  3e3375f2 657a8841 f379e4ce 91c7b320 942eb108
	seq=0x00000000 replay=0 flags=0x00000040 state=mature 
	created: Mar  9 04:47:38 2010	current: Mar  9 04:47:38 2010
	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=5837 refcnt=1
04:47:38 Connect
  SrcAddr:2001:0db8:000f:0001::1     SrcPort:0
  DstAddr:2001:0db8:0001:0001::1234  DstPort:0
done
  connected to SocketID:5
04:47:38 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:0

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:47:40 Send
done
  sent to SocketID:5
send 5th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:47:40 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 6th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:47:40 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:47:44 Send
done
  sent to SocketID:5
send 7th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:47:44 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 8th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:47:44 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:47:48 Send
done
  sent to SocketID:5
send 9th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:47:48 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 10th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:47:48 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:47:52 Send
done
  sent to SocketID:5
send 11th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:47:52 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 12th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:47:52 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:47:56 Send
done
  sent to SocketID:5
send 13rd packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:47:56 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 14th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:47:56 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:00 Send
done
  sent to SocketID:5
send 15th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:00 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 16th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:00 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:04 Send
done
  sent to SocketID:5
send 17th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:04 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 18th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:04 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:08 Send
done
  sent to SocketID:5
send 19th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:08 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 20th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:08 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:12 Send
done
  sent to SocketID:5
send 21st packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:12 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 22nd packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:12 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:16 Send
done
  sent to SocketID:5
send 23rd packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:16 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 24th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:16 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:20 Send
done
  sent to SocketID:5
send 25th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:20 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 26th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:20 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:24 Send
done
  sent to SocketID:5
send 27th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:24 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 28th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:24 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:28 Send
done
  sent to SocketID:5
send 29th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:28 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 30th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:28 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:32 Send
done
  sent to SocketID:5
send 31st packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:32 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 32nd packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:32 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:36 Send
done
  sent to SocketID:5
send 33rd packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:36 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 34th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:36 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:40 Send
done
  sent to SocketID:5
send 35th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:40 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 36th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:40 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:44 Send
done
  sent to SocketID:5
send 37th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:44 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 38th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:44 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:48 Send
done
  sent to SocketID:5
send 39th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:48 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 40th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:48 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:52 Send
done
  sent to SocketID:5
send 41st packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:52 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 42nd packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:52 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:48:56 Send
done
  sent to SocketID:5
send 43rd packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:48:56 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 44th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:48:56 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:00 Send
done
  sent to SocketID:5
send 45th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:00 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 46th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:00 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:04 Send
done
  sent to SocketID:5
send 47th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:04 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 48th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:04 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:08 Send
done
  sent to SocketID:5
send 49th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:08 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 50th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:08 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:12 Send
done
  sent to SocketID:5
send 51st packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:12 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 52nd packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:12 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:15 Send
done
  sent to SocketID:5
send 53rd packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:16 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 54th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:16 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:19 Send
done
  sent to SocketID:5
send 55th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:19 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 56th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:19 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:23 Send
done
  sent to SocketID:5
send 57th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:23 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 58th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:23 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:27 Send
done
  sent to SocketID:5
send 59th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:27 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 60th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:27 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:31 Send
done
  sent to SocketID:5
send 61st packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:31 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 62nd packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:31 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:35 Send
done
  sent to SocketID:5
send 63rd packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:35 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 64th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:35 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:39 Send
done
  sent to SocketID:5
send 65th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:39 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 66th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:39 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:43 Send
done
  sent to SocketID:5
send 67th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:43 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 68th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:43 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

    (I)             (R)
    NUT             TN1
     |               |
     |<--------------| IPsec (Echo Request)
     |               |
     V               V
04:49:47 Send
done
  sent to SocketID:5
send 69th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| IPsec (Echo Reply)
     |               |
     V               V
04:49:47 Receive
  SrcAddr:2001:db8:1:1::1234  SrcPort:0
  DstAddr:2001:db8:f:1::1     DstPort:0
done
  received from SocketID:5
receive 70th packet

    (I)             (R)
    NUT             TN1
     |               |
     |-------------->| CREATE_CHILD_SA request (HDR, SK {N(REKEY_SA), N(USE_TRANSPORT_MODE), SA, Ni, TSi, TSr})
     |               |
     V               V
04:49:47 Receive
  Can't receive any packets at SrcAddr:2001:db8:f:1::1 SrcPort:500

kCommon.pm: 1948: kCommon::kMakeRecvAck(): result: 33025(0x8101) -- fails. kCommon.pm: 1270: kCommon::PKTSendCMD(): kMakeData: failure

Can't observe CREATE_CHILD_SA request for rekey.

TEST CLEANUP
04:49:51 kRemoteAsyncWait()

Link to remote control start point

ikev2> 
ikev2> operation:	initiate
ikev2> selector.direction:	outbound
ikev2> selector.dst.address:	2001:0db8:000f:0001::1
ikev2> selector.dst.address_family:	inet6
ikev2> selector.policy_index:	common_policy_index
ikev2> selector.selector_index:	common_selector_index_outbound
ikev2> selector.src.address:	2001:0db8:0001:0001::1234
ikev2> selector.src.address_family:	inet6
ikev2> selector.upper_layer_protocol.protocol:	any
ikev2> target:	2001:0db8:000f:0001::1
ikev2> 
ikev2> Press Enter key for continue. 
ikev2> 


cleaning up NUT ...
04:51:11 kRemote(ikev2.rmt) ``/usr/local/koi/bin/remotes/manual//ikev2.rmt operation=stop''