
D Creating Filter Templates
CommPlete Communications Server 263
IPX Pattern: The IPX pattern applies a check similar to the IP pattern.
The Operation parameter uses logical operators to extend the check to more than one
pattern. If it is set to none, no further check is done for the following patterns in the
list. If it is set to invert, the result of the check is logically negated to decide the action
to be taken. If it is set to and or or, the result of the check is logically ANDed or ORed
with that of the next pattern. The evaluation is carried out in the order in which the
patterns are specified. This field is optional, and if it is not provided, a default value
of or is assumed.
For all the optional parameters a default value of 0 is assumed and hence is not
included in the comparison. Also, for the port addresses and the socket addresses,
one number or a range of numbers is allowed.
Definitions
The following list defines the grammar and syntax of the filter template, its patterns,
and its parameters. Filter elements that appear in bold must be typed exactly as they
appear. Elements that appear in italic are placeholders that must be replaced by
actual information. Brackets [ ] enclose optional items. Braces { } enclose a set of choices
from which you must choose only one; choices are separated by a vertical bar |. The
characters ::= mean “consists of,” and an ellipsis … indicates that an argument can be
repeated. A superscripted number indicates a required number of repetitions.
Template ::= Filter_Name,Description,Pattern_List:
Description ::= “An ASCII string of no more than 80 characters that describes the
template”
Pattern_List ::= Pattern[;Pattern…]
Pattern ::= {Generic_Pattern|IP_Pattern|IPX_Pattern}
Generic_Pattern ::= generic,Usage,Action[,Offset=integer],Length=integer,
Mask=hex_string,Value=hex_string,operation=Operation
IP_Pattern ::= IP,Usage,Action[,SrcAddrMask=ip_address][,SrcAddrResult=
ip_address][,DstAddrMask=ip_address][,DstAddrResult=
ip_address],Protocol=Protocol[,SrcPort=
integer[integer…]][,DstPort=integer[integer…]],operation=
Operation
IPX_Pattern ::= IPX,Usage,Action[,SrcNetMask=net_address][,SrcNetResult=
net_address][,SrcNodeMask=node_address][,SrcNodeResult=
node_address][,SrcSocket=integer[integer…]][,DstNetMask=
net_address][,DstNetResult=net_address][,DstNodeMask=
node_address][,DstNodeResult=node_address][,DstSocket=
integer[integer…]],operation=Operation
Usage ::= {none|input|output|input_output}
Action ::= {forward|filter}
Operation ::= {none|and|or|invert}
Protocol ::= {TCP|UDP|integer}
hex_string ::= hex_digit[hex_digit…]
Kommentare zu diesen Handbüchern