Fortinet Network Device IPS User Manual
Page 32
FortiGate IPS User Guide Version 3.0 MR7
32
01-30007-0080-20080916
Creating custom signatures
Custom signatures
Table 7: UDP header keywords
Keyword and Value
Description
--dst_port [!]{
:
The destination port number.
You can specify a single port or port range:
•
•
:
all lower numbered ports.
•
all higher numbered ports.
•
specified ports and all ports in between.
--src_port [!]{
:
The source port number.
You can specify a single port or port range:
•
•
:
all lower numbered ports.
•
all higher numbered ports.
•
specified ports and all ports in between.
Table 8: ICMP keywords
Keyword and Value
Usage
--icmp_code
Specify the ICMP code to match.
--icmp_id
Check for the specified ICMP ID value.
--icmp_seq
Check for the specified ICMP sequence value.
--icmp_type
Specify the ICMP type to match.
Table 9: Other keywords
Keyword and Value
Description
--data_size {
<
Test the packet payload size. With data_size
specified, packet reassembly is turned off
automatically. So a signature with data_size
and only_stream values set is wrong.
•
•
<
specified size.
•
>
specified size.
•
range between the specified sizes.
--data_at
relative];
Verify that the payload has data at a specified
offset, optionally looking for data relative to the
end of the previous content match.