This document describes how to create custom IPS and application control signatures.
This document serves as a syntax reference for creating custom IPS and application control signatures. It details the lightweight signature definition language used to identify packet types as they pass through a FortiGate firewall. Users can define signatures to inspect IP, ICMP, UDP, and TCP protocol headers, as well as packet payloads and application-specific data.
The guide covers various option types including Protocol, Payload, Special, and Application options. It provides specific syntax rules for defining patterns, regular expressions (PCRE), and range modifiers. Additionally, it lists supported service types and explains how to configure actions such as block, monitor, allow, or quarantine for matching packets.
| Maximum signature length | 4095 characters |
|---|---|
| Maximum signature name length | 64 characters |
| Weight range for custom signatures | 20 to 50 |
You can specify the action to apply as block, monitor, allow, or quarantine.
You must enclose the pattern in double quotation marks and follow it with a semicolon.
The syntax is --name <"string">; where the string is enclosed by double quotation marks.