Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When calling TCPMappingFilterQueryContextData or TCPMappingFilterSetContextData you specify a data value type to get or set as a . For queries the value is returned in a Schema Variant. The possible options For setting data values, the value is specified by a pointer and optionally a length.

The possible value for data values to get/set are:

Item TypeDescriptionTypestrParamAccess
TCPMAPPING_DATA_SESSION_OBJThe session relating to the current connection NULLRead
TCPMAPPING_DATA_USER_OBJThe user object NULLRead
TCPMAPPING_DATA_SESSION_DESCRIPTIONThe description of the sessionUnicode stringNULLRead/Write
TCPMAPPING_DATA_SESSION_INTERCEPTEDWas the connection interceptedboolNULLRead
TCPMAPPING_DATA_SESSION_CLIENTIPIP address of the clientUnicode string. IPv4NULLRead
TCPMAPPING_DATA_SESSION_CLIENTPORTPort of the clientunsigned intNULLRead
TCPMAPPING_DATA_SESSION_CLIENTSECUREIs the client using TLS to WinGate?boolNULLRead
TCPMAPPING_DATA_SESSION_LOCALIPLocal IP of connected client. IPv4Unicode stringNULLRead
TCPMAPPING_DATA_SESSION_LOCALPORTLocal port of connected clientunsigned intNULLRead
TCPMAPPING_DATA_SESSION_DESTINATIONDestination name to connect toUnicode stringNULLRead/Write
TCPMAPPING_DATA_SESSION_DESTINATIONPORTDestination port to connect tounsigned intNULLRead/Write
TCPMAPPING_DATA_SESSION_DESTINATIONSECUREWhether to use TLS to destinationboolNULLRead/Write

...