IPMON(5) | File Formats Manual | IPMON(5) |
"match" "{" matchlist "}" "do" "{" doing "}" ";" matchlist ::= matching [ "," matching ] . matching ::= direction | dstip | dstport | every | group | interface | logtag | nattag | protocol | result | rule | srcip | srcport . dolist ::= doing [ "," doing ] . doing ::= execute | save | syslog . direction ::= "in" | "out" . dstip ::= "dstip" "=" ipv4 "/" number . dstport ::= "dstport" "=" number . every ::= "every" every-options . execute ::= "execute" "=" string . group ::= "group" "=" string | "group" "=" number . interface ::= "interface" "=" string . logtag ::= "logtag" "=" string | "logtag" "=" number . nattag ::= "nattag" "=" string . protocol ::= "protocol" "=" string | "protocol" "=" number . result ::= "result" "=" result-option . rule ::= "rule" "=" number . srcip ::= "srcip" "=" ipv4 "/" number . srcport ::= "srcport" "=" number . type ::= "type" "=" ipftype . ipv4 ::= number "." number "." number "." number . every-options ::= "second" | number "seconds" | "packet" | number "packets" . result-option ::= "pass" | "block" | "short" | "nomatch" | "log" . ipftype ::= "ipf" | "nat" | "state" .
In addition, lines that start with a # are considered to be comments.
At present, only IPv4 matching is available for source/destination address matching.
BSD |