// // $Copyright$ // // $Name: $ // // $Id: HTR_E_InvalidPadding.def,v 1.1.1.1 2000/10/31 22:38:51 sekiya Exp $ // #define EALGO_FROM_HOST1 ealgo_descbc_012_pad #define EALGO_TO_HOST1 ealgo_descbc_012 #define IPSEC_ECHO_DATA echo_data_pad #include "./HTR_E_common.def" ESPAlgorithm ealgo_descbc_012_pad { crypt = descbc("01234567"); //pad = sequential(); pad = allzero(); //pad = random(); } Hdr_ESP esp_from_host1_pad { SPI = 0x1000; SequenceNumber = 1; algorithm = EALGO_FROM_HOST1; //PadLength = 5; //PadLength = 10; } //====================================================================== // // Echo Request from Host1 IPsec ESP (Invalid Padding) // FEM_icmpX_echo_request_exth( echo_request_from_host1_esp_pad, hether_router2nut, { _SRC(vX(IPSEC_HOST1_NET5_ADDR)); _DST(vX(IPSEC_NUT_NET3_ADDR)); }, { header = _HDR_IPVX_NAME(echo_request_from_host1_esp_pad); exthdr = esp_from_host1_pad; upper = _ICMPVX_NAME(echo_request_from_host1_esp_pad); }, { payload = echo_data_pad; } ) Payload echo_data_pad { data = {129, 130, 131, 132, 133, 135, 135, 136}; }