
Applications Notes D-9
is a requirement that each filter rule explicitly state which side of the I/O it is
to be used on.
Options
The list of options is brief. Where options are used, they must be present in
the order shown here. These are currently supported options:
quick allows "short-cut" rules in order to speed up the filter or override
later rules. If a packet matches a filter rule which is marked as
quick, this rule will be the last rule checked, allowing a "short-cir-
cuit" path to avoid processing later rules for this packet. The cur-
rent status of the packet (after any effects of the current rule) will
determine whether it is passed or blocked. If this option is missing,
the rule is taken to be a "fall-through" rule, meaning that the result
of the match (block/pass) is saved and that processing will con-
tinue to see if there are any more matches.
on allows an interface name to be incorporated into the matching pro-
cedure. If this option is used, the rule will only match if the packet is
going through that interface in the specified direction (in/out). If this
option is absent, the rule is taken to be applied to a packet regard-
less of the interface it is present on (i.e. on all interfaces). Filter
rulesets are common to all interfaces, rather than having a filter list
for each interface.
The on option is especially useful for simple IP-spoofing protection: packets
should only be allowed to pass inbound on the interface from which the
specified source address would be expected, others may be logged and/or
dropped.
Matching Parameters
The keywords described in this section are used to describe attributes of the
packet to be used when determining whether rules match or don't match. The
following general-purpose attributes are provided for matching, and must be
used in this order:
Comentários a estes Manuais