#!/bin/bash
#
# Configuration file for basicFlow
#
# Usage: ./t2plconf
#
# Enter configurations items as follows:
#
#   "NAME" "TYPE" "DEPENDENCIES" "DESCRIPTION"
#
#   - TYPE can be:
#       - check (boolean),
#       - radio (set of values),
#       - range (min <= val <= max)
#       - text
#
#   - DEPENDENCIES MUST be numeric, e.g., "A == 1 && (B < 4 || C >= 1)"
#
#   - DESCRIPTION for type 'check' MUST NOT contain tabs ('\t')
#   - DESCRIPTION for TYPE 'range' MUST NOT contain '\t' or ':'
#   - DESCRIPTION for TYPE 'radio' MUST NOT contain '\t', ':' or ';'
#   - DESCRIPTION for TYPE 'text'  MUST NOT contain '\t'
#
#   - DESCRIPTION MUST be formatted according to the type (see examples below):
#       - check: description
#       - radio: description ';' val1 ':' description1 ';' valN ':' descriptionN
#       - range: description ':' min ' ' max
#       - text : description

ITEMS=(
    BFO_IP_HEX    radio "" "IP addresses representation; 0: IP address; 1: Hexadecimal"
    BFO_SENSORID check "" "Output sensor ID"
    BFO_HDRDESC_PKTCNT check "" "Enable packet count for header description"
    BFO_MAC check "" "Enable MAC output"
    BFO_ETHERTYPE check "" "Enable Ether type header output"
    BFO_ETHERTYPE_HEX check "" "Enable hex decoded decimal output"
    BFO_MPLS check "" "Enable MPLS header output"
    BFO_MPLS_DETAIL check "" "Enable MPLS detail header output"
    BFO_L2TP  check "" "Enable L2TP header output information"
    BFO_GRE   check "" "Enable GRE header output information"
    BFO_PPP   check "" "Enable PPP header output"
    BFO_ETHIP check "" "Enable ETHIP header output"
    BFO_TRDO  check "" "Enable Teredo IP, Port output"
    BFO_SUBNET_HRX radio "" "Subnet representation; 0: Human readable; 1: hex ID"
    BFO_SUBNET_LL check "" "Output latitude/longitude"
    BFO_MALTYP check "" "Output malware type"
    #BFO_SUBNET_TEST check "" "Enables subnet test"
    #BFO_SUBNET_TEST_L2TP check "" "Enables subnet test on L2TP adresses"
    #BFO_SUBNET_TEST_GRE check "" "Enables subnet test on GRE adresses"
)

# Source the main config file
source ../scripts/t2conf/t2plconf
