Amer Networks WLO220T CLI User Manual

Page 32

Advertising
background image

. . . . .

C O M M A N D D E S C R I P T I O N S

dpi

CLI Reference Guide

29

offset-value

The value specifies the starting point of the pattern within the connection. The default value is 0
indicating that the pattern should match the first bytes of the connection.

Example

The following command creates the signature sign2 which matches connections that use
UDP and have a pattern of 0x0102 as the third and fourth bytes of the connection. That is
a pattern of 0x XX XX 01 02 XX XX …

set dpi signature sign2 patternhex 0102 offset 2 protocol UDP

pattern

set dpi signature signature-name patternascii pattern

pattern

The pattern for which to search in a new connection. The pattern may be provided as ASCII
text in which case each character in the pattern corresponds to a single byte in the
connection. Or the pattern may be provided as a hex string in which case each pair of
characters in the pattern correspond to a single bye in the connection. Hex style patterns
must be an even number of characters in length.

Example

The following command creates the signature sign1 which matches connections that use
TCP and have a pattern of ABCD as the first data bytes of the connection.

set dpi signature sign1 patternascii ABCD protocol tcp

port-range

This option specifies the ports which may be used during a matching connection. This option
allows for a simple range such as 0-10. If there is no specific range it can be specified as 0-0
or left out as that is the default. A single value can be specified as X-X. If a connection has the
possibility of more complex collections of ports they should be split into simple ranges using
multiple signatures, one per range.

Example

The following command creates the signature sign3 which matches connections that use UDP and
ports between 10 and 20.

set dpi signatures sign3 patternascii ABCD protocol UDP port 10-20

Advertising
This manual is related to the following products: