1 | Requested function | Input | Binary(4) |
2 | Status | Output | Binary(4) |
3 | Error code | I/O | Char(*) |
The Control Intrusion Detection and Prevention (QTOQIDSC, QtoqIDSControl) API is used to control the Intrusion Detection System (IDS). It can be used to activate, deactivate, recycle (deactivate and reactivate) the IDS or retrieve the status (active or inactive) of the IDS, and it is provided as an interface to the code that processes the IDS policy file.
IDS support is provided as part of the IBM® TCP/IP Connectivity Utilities licensed program (5761-TC1). Note: TCP/IP Connectivity Utilities for IBM i must be installed in order to use this API.
*IOSYSCFG
*USE.
This integer contains one of the 4 codes:
1 - | Activate IDS. |
2 - | Deactivate IDS. |
3 - | Recycle IDS. |
4 - | Retrieve status of IDS. |
The status of IDS:
0 - | Inactive. |
1 - | Active. |
This is the structure in which error information is returned. If null is passed in for this parameter, the API will assume the bytes provided are zero and an exception will be raised instead of being returned via the error structure. For the format of the structure, see Error code parameter.
Message ID | Error Message Text |
---|---|
TCP5300 E | Required parameter &1 omitted for API &2. |
TCP5302 E | Value for parameter &1 for API &2 not valid. |
TCP5304 E | Severe error parsing parameter &1 for API &2. |
TCP5306 E | Error from Integrated File System API &3. |
CPF22F0 E | Unexpected errors occurred during processing. |
[ Back to top | Security APIs | APIs by category ]