Fortinet black logo

Payload options

Copy Link
Copy Doc ID f21167b4-200c-11e9-b6f6-f8bc1258b856:392914
Download PDF

Payload options

You can use these options to detect contents in the payload of a packet or stream. IPS signatures use pattern matching for inspecting a packet payload. A pattern definition starts with a --pattern or a --pcre option name, and is followed by a series of modifiers.

The general format of a pattern definition is:

--pattern <string>; [--context c;] [--no_case;] [--distance n[,<refer>]]; [--within n[,<refer>]];

Or, for PCRE patterns:

--pcre <string>; [--context c;] [--distance n[,<refer>]]; [--within n [,<refer>]];

Payload options

You can use these options to detect contents in the payload of a packet or stream. IPS signatures use pattern matching for inspecting a packet payload. A pattern definition starts with a --pattern or a --pcre option name, and is followed by a series of modifiers.

The general format of a pattern definition is:

--pattern <string>; [--context c;] [--no_case;] [--distance n[,<refer>]]; [--within n[,<refer>]];

Or, for PCRE patterns:

--pcre <string>; [--context c;] [--distance n[,<refer>]]; [--within n [,<refer>]];