diff --git a/manpages/shorewall-tcrules.xml b/manpages/shorewall-tcrules.xml
index a0d47857f..24a89890a 100644
--- a/manpages/shorewall-tcrules.xml
+++ b/manpages/shorewall-tcrules.xml
@@ -38,13 +38,24 @@
- MARK/CLASSIFY
+ MARK/CLASSIFY —
+ {value|major:minor|RESTORE[/mask]|SAVE[/mask]|CONTINUE|COMMENT}[:{C|F|P|CF|CP}]
- A mark value which is an integer in the range
- 1-255.
+ A mark value which is an integer in
+ the range 1-255.
Normally will set the mark value. If preceded by a
vertical bar ("|"), the mark value will be logically ORed with
@@ -180,7 +191,11 @@
- SOURCE
+ SOURCE — {-|{interface|$FW|[{interface|$FW}:]address-or-range[,address-or-range]...}
Source of the packet. A comma-separated list of interface
@@ -208,7 +223,9 @@
- DEST
+ DEST — {-|{interface|[interface:]address-or-range[,address-or-range]...}
Destination of the packet. Comma separated list of IP
@@ -223,22 +240,24 @@
- PROTO
+ PROTO — {-|tcp:syn|ipp2p|ipp2p:udp|ipp2p:all|protocol-number|protocol-name|all}
- Protocol - Must be tcp,
- udp, icmp, ipp2p,
- ipp2p:udp, ipp2p:all a
- number, or all. ipp2p
- requires ipp2p match support in your kernel and iptables.
+ Protocol - ipp2p requires
+ ipp2p match support in your kernel and iptables.
- PORT(S)
+ PORT(S) (Optional) — [-|port-name-number-or-range[,port-name-number-or-range]...]
Destination Ports. A comma-separated list of Port names (from
@@ -260,8 +279,10 @@
- SOURCE PORT(S)
- (Optional)
+ SOURCE PORT(S) (Optional) —
+ [-|port-name-number-or-range[,port-name-number-or-range]...]
Source port(s). If omitted, any source port is acceptable.
@@ -271,18 +292,15 @@
- USER
+ USER (Optional) — [!][user-name-or-number][:group-name-or-number][+program-name]
This column may only be non-empty if the SOURCE is the
firewall itself.
- The column may contain:
-
- [!][user name or number][:group
- name or number][+program
- name]
-
When this column is non-empty, the rule applies only if the
program generating the output is running under the effective
user and/or group
@@ -334,18 +352,17 @@
- TEST
+ TEST — [!]value[/mask][:C]
Defines a test on the existing packet or connection mark. The
rule will match only if the test returns true. Tests have the
format
- [!]value[/mask][:C]
-
- Where:
+ If you don't want to define a test but need to specify
+ anything in the following columns, place a "-" in this field.
@@ -381,14 +398,13 @@
-
- If you don't want to define a test but need to specify
- anything in the following columns, place a "-" in this field.
- LENGTH (Optional)
+ LENGTH (Optional) -
+ [length|[min]:[max]]
Packet Length. This field, if present allow you to match the
@@ -404,7 +420,8 @@
- TOS
+ TOS —
+ tos
Type of service. Either a standard name, or a numeric value to