| /////////////////////////////////////////////////////////////////////////////// |
| // // |
| // Copyright (c) 2000-2019 Ericsson Telecom AB // |
| // // |
| // All rights reserved. This program and the accompanying materials // |
| // are made available under the terms of the Eclipse Public License v2.0 // |
| // which accompanies this distribution, and is available at // |
| // https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html // |
| // // |
| /////////////////////////////////////////////////////////////////////////////// |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // Module: EPTF_CLL_Transport_IPsecHandler_Logging_Server_Definitions |
| // |
| // Purpose: |
| // This module contains the implementation of IPSec parameters logging server definitions. |
| // |
| // Module Parameters: |
| // - |
| // |
| // Detailed Comments: |
| // - |
| // |
| /////////////////////////////////////////////////////////////////////////////// |
| module EPTF_CLL_Transport_IPsecHandler_Logging_Server_Definitions { |
| import from EPTF_CLL_Transport_IPsecHandler_Logging_CommonDefinitions all; |
| import from EPTF_CLL_Transport_IPsecHandler_Logging_Definitions all; |
| |
| group Types{ |
| type component EPTF_CLL_Transport_IPsecHandler_Logging_Server_CT |
| extends EPTF_CLL_Transport_IPsecHandler_Logging_CT |
| { |
| private var boolean v_EPTF_CLL_Transport_IPsecHandler_Logging_IPSec_initialized := false; |
| private var default v_EPTF_CLL_Transport_IPsecHandler_Logging_IPSec_eventAlt := null; |
| |
| private var integer v_EPTF_CLL_Transport_IPsecHandler_Logging_IPSec_fileDesc := -1; |
| private var charstring v_EPTF_CLL_Transport_IPsecHandler_Logging_IPSec_File_Path := ""; |
| private var charstring v_EPTF_CLL_Transport_IPsecHandler_Logging_IPSec_File_Name := "Logging_IPSec_Data_%Y-%m-%d-%H-%M-%S.log"; |
| |
| private port EPTF_CLL_Transport_IPsecHandler_Logging_IPSec_PT EPTF_CLL_Transport_IPsecHandler_Logging_Server_IPSec_PCO; |
| } |
| |
| type record Protocol_Type |
| { |
| charstring IPv4, |
| charstring IPv6 |
| } |
| |
| type record AAlgo_References |
| { |
| charstring HMAC_MD5_96, |
| charstring HMAC_SHA_1_96 |
| } |
| |
| type record EAlgo_References |
| { |
| charstring DES_EDE3_CBC, |
| charstring AES_CBC |
| } |
| } |
| |
| group Constants{ |
| |
| /////////////////////////////////////////////////////////// |
| // Constant: cg_EPTF_CLL_Transport_IPsecHandler_Logging_Server_loggingMaskName |
| // |
| // Purpose: |
| // Constant for logging mask name. |
| // |
| // Elements: |
| // cg_EPTF_CLL_Transport_IPsecHandler_Logging_Server_loggingMaskName - *charstring* - "EPTF_CLL_Transport_IPsecHandler_Logging_IPSec_Server" |
| // |
| // Detailed Comments: |
| // - |
| // |
| /////////////////////////////////////////////////////////// |
| const charstring cg_EPTF_CLL_Transport_IPsecHandler_Logging_Server_loggingMaskName := "EPTF_CLL_Transport_IPsecHandler_Logging_IPSec_Server"; |
| |
| /////////////////////////////////////////////////////////// |
| // Constant: cg_Hex_Prefix |
| // |
| // Purpose: |
| // Prefix for hexstring. |
| // |
| // Elements: |
| // cg_Hex_Prefix - *charstring* - "0x" |
| // |
| // Detailed Comments: |
| // - |
| // |
| /////////////////////////////////////////////////////////// |
| const charstring cg_Hex_Prefix := "0x"; |
| |
| /////////////////////////////////////////////////////////// |
| // Constant: Logging_IPSec_Client_loggingMaskName |
| // |
| // Purpose: |
| // Constant for logging mask name. |
| // |
| // Elements: |
| // Logging_IPSec_Client_loggingMaskName - *charstring* - "EPTF_CLL_Transport_IPsecHandler_Logging_IPSec_Client" |
| // |
| // Detailed Comments: |
| // - |
| // |
| /////////////////////////////////////////////////////////// |
| const charstring cg_EPTF_CLL_Transport_IPsecHandler_Logging_Client_loggingMaskName := "EPTF_CLL_Transport_IPsecHandler_Logging_IPSec_Client"; |
| |
| ////////////////////////////////////////////// |
| // Protocol Types names in Wireshark |
| ////////////////////////////////////////////// |
| const Protocol_Type cg_Protocol_Type := |
| { |
| IPv4 := "IPv4", |
| IPv6 := "IPv6" |
| } |
| |
| /////////////////////////////////////////////// |
| // Authentication Algorithms names in Wireshark |
| /////////////////////////////////////////////// |
| const AAlgo_References cg_AAlgo_References := |
| { |
| HMAC_MD5_96 := "HMAC-MD5-96 [RFC2403]", |
| HMAC_SHA_1_96 := "HMAC-SHA-1-96 [RFC2404]" |
| } |
| |
| /////////////////////////////////////////////// |
| // Encription Algorithms names in Wireshark |
| /////////////////////////////////////////////// |
| const EAlgo_References cg_EAlgo_References := |
| { |
| DES_EDE3_CBC := "TripleDES-CBC [RFC2451]", |
| AES_CBC := "AES-CBC [RFC3602]" |
| } |
| } |
| } |
| |