Rules for marking is specified through an array MARK.
The syntax of mark rules are specified below as
<mark>.
Packets originating from the current zone destined for the specified
zone, and that matches the proto_ip are marked with the value
<mark_value>.
MARK[0]="ALL 1 tcp ALL 0.0.0.0/0=>0.0.0.0/0"This rule will mark any packets leaving the current zone with mark value '1'.
Monitoring is done on a per ip basis. Only one entry can exist and is
called WATCH_IP. The grammar is specified as <watch_ip>.
WATCH_IP=''10.0.0.1 10.0.0.2''Any packet going into or leaving the current zone either destined or originating from ip address
10.0.0.1 or ip address
10.0.0.2 are logged to the system log.
To prohibit communication from a list of MAC addresses, a single
variable MAC_DROP is used. The grammar is specified as
mac_drop below.
MAC_DROP=''12:23:34:45:56:67''This will drop all packets originating from the internal zone from the machine with MAC address
12:23:34:45:56:67.
This is specified by the variable IP_DROP. The grammar is
specified below as <ip_drop>.
IP_DROP=''10.0.0.10''This will drop all communication to and from a machine with ip address
10.0.0.10.
The list of servers is specified by the variable ECN_REMOVE.
The grammar is specified below as <ecn_remove>.
ECN_REMOVE=''10.0.0.10''This will strip off the ECN bits in all packets destined to the machine with ip address
10.0.0.10.
Anders Peter Fugmann
2004-02-26