#
# $Name: V6PC_P2_IPsec_1_11_1 $
#
# $TAHI: ct/ipsec.p2/INDEX_P2_SGW_UDP,v 1.20 2010/05/31 10:57:18 doo Exp $
#
#<seq>:<def>:[<opt>]:[<log>]:<desc>
#



########################################################################
&print:<font size=+1><B>Initialize for using UDP</B></font>
########################################################################

./p2_SGW_Reset.seq:./p2_SGW_Reset.def:::Set Global Address and Check (SGW):2



########################################################################
&print:<font size=+1 color="0xff0000"><B>SGW test: Architecture test</B></font>
########################################################################

#### Select SPD, 3DES-CBC/HMAC-SHA1 #####
./p2_SGW_E_SelectSPD.seq:./p2_SGW_E_UDP_common.def:app_type=udp::6.1.1 Select SPD, ESP=3DES-CBC:2

#### Select SPD (ICMP Type), 3DES-CBC/HMAC-SHA1 #####
./p2_SGW_E_SelectSPD_ICMP_Type.seq:./p2_SGW_E_ICMP_Type.def:app_type=udp test_type=ADVANCED support=ICMP_TYPE_CODE_SELECTOR_SUPPORT::6.1.2 Select SPD (ICMP Type), ESP=3DES-CBC HMAC-SHA1:2

#### Select SPD, 3DES-CBC/HMAC-SHA1 for 2 Hosts behind 1 SGW #####
./p2_SGW_E_SelectSPD_w_1SGW.seq:./p2_SGW_E_UDP_common.def:app_type=udp::6.1.3 Select SPD for 2 Hosts behind 1 SGW, ESP=3DES-CBC HMAC-SHA1:2

#### Sequence Number Increment #####
./p2_SGW_E_SequenceNumber.seq:./p2_SGW_E_UDP_common.def:app_type=udp::6.1.4 Sequence Number Increment, ESP=3DES-CBC HMAC-SHA1:2

#### Packet Too Big Transmission #####
./p2_SGW_E_PacketTooBigTransmission.seq:./p2_SGW_E_UDP_common.def:app_type=udp::6.1.5 Packet Too Big Transmission, ESP=3DES-CBC HMAC-SHA1:2

#### Packet Too Big Forwarding Unknown Original Host #####
./p2_SGW_E_PacketTooBigForwarding.seq:./p2_SGW_E_UDP_common.def:app_type=udp::6.1.6 Packet Too Big Forwarding (Unknown Original Host), ESP=3DES-CBC HMAC-SHA1:2

#### Receipt of No Next Header #####
&print:6.1.7 Receipt of No Next Header, ESP=3DES-CBC HMAC-SHA1
./p2_SGW_E_ReceiptOfNoNextHeader.seq:./p2_SGW_E_UDP_ReceiptOfNoNextHeader.def:app_type=udp test_type=ADVANCED support=DUMMY_PACKET_SUPPORT::(a) No Next Header w/o TFC Padding:2
./p2_SGW_E_ReceiptOfNoNextHeader.seq:./p2_SGW_E_UDP_ReceiptOfNoNextHeaderTFC.def:app_type=udp test_type=ADVANCED support=DUMMY_PACKET_SUPPORT::(b) No Next Header w/o TFC Padding:2

#### Bypass, 3DES-CBC/HMAC-SHA1 #####
./p2_SGW_E_Bypass.seq:./p2_SGW_E_UDP_common.def:app_type=udp test_type=ADVANCED support=BYPASS_POLICY_SUPPORT::6.1.8 Bypass, ESP=3DES-CBC HMAC-SHA1:2

#### Discard, 3DES-CBC/HMAC-SHA1 #####
./p2_SGW_E_Discard.seq:./p2_SGW_E_UDP_common.def:app_type=udp test_type=ADVANCED support=DISCARD_POLICY_SUPPORT::6.1.9 Discard, ESP=3DES-CBC HMAC-SHA1:2

#### Padding, 3DES-CBC/HMAC-SHA1 #####
./p2_SGW_E_Padding.seq:./p2_SGW_E_UDP_common.def:app_type=udp::6.1.10 Padding, ESP=3DES-CBC HMAC-SHA1:2

#### TFC Padding (Tunnel Mode), 3DES-CBC/HMAC-SHA1 #####
./p2_SGW_E_TFC_Padding.seq:./p2_SGW_E_UDP_TFC_Padding.def:app_type=udp test_type=ADVANCED support=TFC_PADDING_TUNNEL_SUPPORT::6.1.11 TFC Padding (Tunnel Mode), ESP=3DES-CBC HMAC-SHA1:2

#### Non Registered SPI, 3DES-CBC/HMAC-SHA1 #####
./p2_SGW_E_nonRegSPI.seq:./p2_SGW_E_UDP_common.def:app_type=udp ealgo=3des-cbc eauth=hmac-sha1 einkey=E_3descbc_in_key ainkey=A_hmacsha1_in_key eoutkey=E_3descbc_out_key aoutkey=A_hmacsha1_out_key ealgo_from=ealgo_3descbc_hmacsha1_in ealgo_to=ealgo_3descbc_hmacsha1_out::6.1.12 Non-Registered SPI, ESP=3DES-CBC HMAC-SHA1:2

#### Invalid ICV, 3DES-CBC/HMAC-SHA1 #####
./p2_SGW_E_invalidICV.seq:./p2_SGW_E_UDP_common.def:app_type=udp ealgo=3des-cbc eauth=hmac-sha1 einkey=E_3descbc_in_key ainkey=A_hmacsha1_in_key eoutkey=E_3descbc_out_key aoutkey=A_hmacsha1_out_key ealgo_from=ealgo_3descbc_hmacsha1_in ealgo_to=ealgo_3descbc_hmacsha1_out::6.1.13 Invalid ICV value, ESP=3DES-CBC HMAC-SHA1:2

#### Tunnel Mode with End-Node, 3DES-CBC/HMAC-SHA1 #####
./p2_SGW_E_tunnelwEndNode.seq:./p2_SGW_E_UDP_common.def:app_type=udp emode=tunnel ealgo=3des-cbc eauth=hmac-sha1 einkey=E_3descbc_in_key ainkey=A_hmacsha1_in_key eoutkey=E_3descbc_out_key aoutkey=A_hmacsha1_out_key ealgo_from=ealgo_3descbc_hmacsha1_in ealgo_to=ealgo_3descbc_hmacsha1_out::6.1.14 Tunnel Mode with End-Node, ESP=3DES-CBC HMAC-SHA1:2



########################################################################
&print:<font size=+1 color="0xff0000"><B>SGW test: Authentication Algorithm test</B></font>
########################################################################

#### 3DES-CBC/HMAC-SHA1 #####
./p2_SGW_E_Common.seq:./p2_SGW_E_UDP_common.def:app_type=udp ealgo=3des-cbc eauth=hmac-sha1 einkey=E_3descbc_in_key ainkey=A_hmacsha1_in_key eoutkey=E_3descbc_out_key aoutkey=A_hmacsha1_out_key ealgo_from=ealgo_3descbc_hmacsha1_in ealgo_to=ealgo_3descbc_hmacsha1_out::6.2.1 SGW tunnel mode, ESP=3DES-CBC HMAC-SHA1:2

#### 3DES-CBC/AES-XCBC-MAC #####
./p2_SGW_E_Common.seq:./p2_SGW_E_UDP_common.def:app_type=udp test_type=ADVANCED support=3DES_CBC_AES_XCBC_SUPPORT ealgo=3des-cbc eauth=aes-xcbc-mac einkey=E_3descbc_in_key ainkey=A_aesxcbc_in_key eoutkey=E_3descbc_out_key aoutkey=A_aesxcbc_out_key ealgo_from=ealgo_3descbc_aesxcbc_in ealgo_to=ealgo_3descbc_aesxcbc_out::6.2.2 SGW tunnel mode, ESP=3DES-CBC AES-XCBC-MAC:2

#### 3DES-CBC/NULL #####
./p2_SGW_E_Common.seq:./p2_SGW_E_UDP_common.def:app_type=udp test_type=ADVANCED support=3DES_CBC_NULL_SUPPORT ealgo=3des-cbc eauth=null einkey=E_3descbc_in_key ainkey=A_null_in_key eoutkey=E_3descbc_out_key aoutkey=A_null_out_key ealgo_from=ealgo_3descbc_null_in ealgo_to=ealgo_3descbc_null_out::6.2.3 SGW tunnel mode, ESP=3DES-CBC HMAC-NULL:2



########################################################################
&print:<font size=+1 color="0xff0000"><B>SGW test: Encryption Algorithm test</B></font>
########################################################################
#### AES-CBC/HMAC-SHA1 #####
./p2_SGW_E_Common.seq:./p2_SGW_E_UDP_common.def:app_type=udp test_type=ADVANCED support=AES_CBC_HMAC_SHA1_SUPPORT ealgo=aes-cbc eauth=hmac-sha1 einkey=E_aescbc_in_key ainkey=A_hmacsha1_in_key eoutkey=E_aescbc_out_key aoutkey=A_hmacsha1_out_key ealgo_from=ealgo_aescbc_hmacsha1_in ealgo_to=ealgo_aescbc_hmacsha1_out::6.2.4 SGW tunnel mode, ESP=AES-CBC(128-bit) HMAC-SHA1:2

#### AES-CTR/HMAC-SHA1 #####
./p2_SGW_E_Common.seq:./p2_SGW_E_UDP_common.def:app_type=udp test_type=ADVANCED support=AES_CTR_HMAC_SHA1_SUPPORT ealgo=aes-ctr eauth=hmac-sha1 einkey=E_aesctr_in_key ainkey=A_hmacsha1_in_key eoutkey=E_aesctr_out_key aoutkey=A_hmacsha1_out_key ealgo_from=ealgo_aesctr_hmacsha1_in ealgo_to=ealgo_aesctr_hmacsha1_out::6.2.5 SGW tunnel mode, ESP=AES-CTR HMAC-SHA1:2


#### NULL/HMAC-SHA1 #####
./p2_SGW_E_Common.seq:./p2_SGW_E_UDP_common.def:app_type=udp test_type=ADVANCED support=NULL_HMAC_SHA1_SUPPORT ealgo=null eauth=hmac-sha1 einkey=E_null_in_key ainkey=A_hmacsha1_in_key eoutkey=E_null_out_key aoutkey=A_hmacsha1_out_key ealgo_from=ealgo_null_hmacsha1_in ealgo_to=ealgo_null_hmacsha1_out::6.2.6 SGW tunnel mode, ESP=NULL HMAC-SHA1:2

#### CAMELLIA-CBC/HMAC-SHA1 #####
./p2_SGW_E_Common.seq:./p2_SGW_E_UDP_common.def:app_type=udp test_type=ADVANCED support=CAMELLIA_CBC_HMAC_SHA1_SUPPORT ealgo=camellia-cbc eauth=hmac-sha1 einkey=E_camelliacbc_in_key ainkey=A_hmacsha1_in_key eoutkey=E_camelliacbc_out_key aoutkey=A_hmacsha1_out_key ealgo_from=ealgo_camelliacbc_hmacsha1_in ealgo_to=ealgo_camelliacbc_hmacsha1_out::6.2.7 SGW tunnel mode, ESP=CAMELLIA-CBC(128-bit) HMAC-SHA1:2
########################################################################



########################################################################
&print:<font size=+1 color="0xff0000"><B>SGW test: Authentication Algorithm test</B></font>
########################################################################

#### 3DES-CBC/HMAC-SHA2-256 #####
./p2_SGW_E_Common.seq:./p2_SGW_E_UDP_common.def:app_type=udp test_type=ADVANCED support=3DES_CBC_HMAC_SHA2_256_SUPPORT ealgo=3des-cbc eauth=hmac-sha2-256 einkey=E_3descbc_in_key ainkey=A_hmacsha2256_in_key eoutkey=E_3descbc_out_key aoutkey=A_hmacsha2256_out_key ealgo_from=ealgo_3descbc_hmacsha2256_in ealgo_to=ealgo_3descbc_hmacsha2256_out::6.2.8 SGW tunnel mode, ESP=3DES-CBC HMAC-SHA2-256:2
