diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-06-10 20:18:43 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-06-10 20:30:05 +0200 |
commit | 18c475d7040abc6d3094ee0348904deafe997508 (patch) | |
tree | 13dcb85119e7601bf9d47b9b982f39839b93569f /extensions/libxt_cluster.man | |
parent | f1afcc896e7f8be3a6419681fd8cdee1d600a3aa (diff) |
manpages: markup corrections
The manpage of xt_cluster and xt_recent had some unclosed tags.
Backslashes in commands are also not wanted because manpages are a
freeform, automatically-wrapped text.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_cluster.man')
-rw-r--r-- | extensions/libxt_cluster.man | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/extensions/libxt_cluster.man b/extensions/libxt_cluster.man index 6081be14..62ad71cc 100644 --- a/extensions/libxt_cluster.man +++ b/extensions/libxt_cluster.man @@ -4,35 +4,35 @@ need of load-balancers. This match requires that all the nodes see the same packets. Thus, the cluster match decides if this node has to handle a packet given the following options: .TP -\fB\-\-cluster\-total\-nodes \fInum\fP +\fB\-\-cluster\-total\-nodes\fP \fInum\fP Set number of total nodes in cluster. .TP -[\fB!\fP] \fB\-\-cluster\-local\-node \fInum\fP +[\fB!\fP] \fB\-\-cluster\-local\-node\fP \fInum\fP Set the local node number ID. .TP -[\fB!\fP] \fB\-\-cluster\-local\-nodemask \fImask\fP +[\fB!\fP] \fB\-\-cluster\-local\-nodemask\fP \fImask\fP Set the local node number ID mask. You can use this option instead -of \fB\-\-cluster\-local\-node. +of \fB\-\-cluster\-local\-node\fP. .TP -\fB\-\-cluster\-hash\-seed \fIvalue\fP +\fB\-\-cluster\-hash\-seed\fP \fIvalue\fP Set seed value of the Jenkins hash. .PP Example: .IP -iptables \-A PREROUTING \-t mangle \-i eth1 \-m cluster \ -\-\-cluster\-total\-nodes 2 \-\-cluster\-local\-node 1 \ -\-\-cluster\-hash\-seed 0xdeadbeef \ +iptables \-A PREROUTING \-t mangle \-i eth1 \-m cluster +\-\-cluster\-total\-nodes 2 \-\-cluster\-local\-node 1 +\-\-cluster\-hash\-seed 0xdeadbeef \-j MARK \-\-set-mark 0xffff .IP -iptables \-A PREROUTING \-t mangle \-i eth2 \-m cluster \ -\-\-cluster\-total\-nodes 2 \-\-cluster\-local\-node 1 \ -\-\-cluster\-hash\-seed 0xdeadbeef \ +iptables \-A PREROUTING \-t mangle \-i eth2 \-m cluster +\-\-cluster\-total\-nodes 2 \-\-cluster\-local\-node 1 +\-\-cluster\-hash\-seed 0xdeadbeef \-j MARK -\-set\-mark 0xffff .IP -iptables \-A PREROUTING \-t mangle \-i eth1 \ +iptables \-A PREROUTING \-t mangle \-i eth1 \-m mark ! \-\-mark 0xffff \-j DROP .IP -iptables \-A PREROUTING \-t mangle \-i eth2 \ +iptables \-A PREROUTING \-t mangle \-i eth2 \-m mark ! \-\-mark 0xffff \-j DROP .PP And the following commands to make all nodes see the same packets: @@ -41,18 +41,18 @@ ip maddr add 01:00:5e:00:01:01 dev eth1 .IP ip maddr add 01:00:5e:00:01:02 dev eth2 .IP -arptables \-A OUTPUT \-o eth1 \-\-h\-length 6 \ +arptables \-A OUTPUT \-o eth1 \-\-h\-length 6 \-j mangle \-\-mangle-mac-s 01:00:5e:00:01:01 .IP -arptables \-A INPUT \-i eth1 \-\-h-length 6 \ -\-\-destination-mac 01:00:5e:00:01:01 \ +arptables \-A INPUT \-i eth1 \-\-h-length 6 +\-\-destination-mac 01:00:5e:00:01:01 \-j mangle \-\-mangle\-mac\-d 00:zz:yy:xx:5a:27 .IP -arptables \-A OUTPUT \-o eth2 \-\-h\-length 6 \ +arptables \-A OUTPUT \-o eth2 \-\-h\-length 6 \-j mangle \-\-mangle\-mac\-s 01:00:5e:00:01:02 .IP -arptables \-A INPUT \-i eth2 \-\-h\-length 6 \ -\-\-destination\-mac 01:00:5e:00:01:02 \ +arptables \-A INPUT \-i eth2 \-\-h\-length 6 +\-\-destination\-mac 01:00:5e:00:01:02 \-j mangle \-\-mangle\-mac\-d 00:zz:yy:xx:5a:27 .PP In the case of TCP connections, pickup facility has to be disabled |