Skip to contentSkip to conversation

extensions: libxt_cluster: add note on arptables-jf

PATCH In review Pablo Neira Ayuso 3 participants 3 messages Nov 4, 2013 – Nov 6, 2013 netfilter

lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH 1/1 extensions: libxt_cluster: add note on arptables-jf

Gao feng reported problems while getting the cluster match working with arptables. This patch adds a note in the manpage to warn about the arptables-jf syntax, which is different from mainstream arptables.

---
 extensions/libxt_cluster.man |    5 +++++
 1 file changed, 5 insertions(+)
extensions/libxt_cluster.man +5 -0
index 62ad71c..94b4b20 100644
@@ -55,6 +55,11 @@ 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
+\fBNOTE\fP: the arptables commands above use mainstream syntax. If you
+are using arptables-jf included in some RedHat, CentOS and Fedora
+versions, you will hit syntax errors. Therefore, you'll have to adapt
+these to the arptables-jf syntax to get them working.
+.PP
 In the case of TCP connections, pickup facility has to be disabled
 to avoid marking TCP ACK packets coming in the reply direction as
 valid.
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 19 lines · Pablo Neira Ayuso

Gao feng reported problems while getting the cluster match working with arptables. This patch adds a note in the manpage to warn about the arptables-jf syntax, which is different from mainstream arptables.

---
extensions/libxt_cluster.man | 5 +++++

1 file changed, 5 insertions(+)
extensions/libxt_cluster.man +0 -0
index 62ad71c..94b4b20 100644
@@ -55,6 +55,11 @@ 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
+\fBNOTE\fP: the arptables commands above use mainstream syntax. If you

extensions/libxt_cluster.man arptables \-A INPUT \-i eth2 \-\-h\-length 6 · line 61

Quoted 3 lines
extensions/libxt_cluster.man +3 -0
+are using arptables-jf included in some RedHat, CentOS and Fedora
+versions, you will hit syntax errors. Therefore, you'll have to adapt
+these to the arptables-jf syntax to get them working.

While on the subject of arptables_jf. Red Hat will be replacing arptables_jf with the mainstream arptables in RHEL7 and Fedora 21.

Signature · 5 lines
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Sr. Network Kernel Developer at Red Hat
  Author of http://www.iptv-analyzer.org
  LinkedIn: http://www.linkedin.com/in/brouer
#2 lore raw
Quoted 9 lines · Jesper Dangaard Brouer
Quoted 4 lines · Pablo Neira Ayuso

Gao feng reported problems while getting the cluster match working with arptables. This patch adds a note in the manpage to warn about the arptables-jf
syntax, which is different from mainstream arptables.

While on the subject of arptables_jf. Red Hat will be replacing arptables_jf with the mainstream arptables in RHEL7 and Fedora 21.

And I thought it'd never happen ;)
I still wonder why they even created the fork. There's little documentation about that.