Home > Configuration > CI > addcontentinspectionaction

addcontentinspectionaction

Use this method to creates a RemoteService action.

Syntax



Parameters

name

Name of the remote service action. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters.
This is mandatory parameter.

type

Type of operation this action is going to perform. following actions are available to configure: * ICAP - forward the incoming request or response to an ICAP server for modification. * INLINEINSPECTION - forward the incoming or outgoing packets to IPS server for Intrusion Prevention. * MIRROR - Forwards cloned packets for Intrusion Detection. * NOINSPECTION - This does not forward incoming and outgoing packets to the Inspection device. * NSTRACE - capture current and further incoming packets on this transaction.
This is mandatory parameter.

servername

Name of the LB vserver or service

serverip

IP address of remoteService
Minimum value = 1.

serverport

Port of remoteService
Default value = 1344.
Minimum value = 1.
Maximum value = 65535.

icapprofilename

Name of the ICAP profile to be attached to the contentInspection action.

wasmprofilename

Name of the CI WASM profile to be attached to the contentInspection action.

ifserverdown

Name of the action to perform if the Vserver representing the remote service is not UP. This is not supported for NOINSPECTION Type. The Supported actions are: * RESET - Reset the client connection by closing it. The client program, such as a browser, will handle this and may inform the user. The client may then resend the request if desired. * DROP - Drop the request without sending a response to the user. * CONTINUE - It bypasses the ContentIsnpection and Continues/resumes the Traffic-Flow to Client/Server.
Default value = NS_ACT_CI_IFSERVERDOWN_RESET.

Return Value

Returns simpleResult

See Also