summaryrefslogtreecommitdiff
path: root/mcproxy/files/mcproxy.conf
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2014-12-31 20:40:56 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2014-12-31 21:22:02 +0100
commite03ee22d045a77eebee7a8c32d71212e73633c98 (patch)
treea603be08787e44e9fb6800c9dfdb7c58d17ee274 /mcproxy/files/mcproxy.conf
parent1696064d221d27ac9208ec860c06487ea9a3f16e (diff)
mcproxy: update to latest version, add UCI support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'mcproxy/files/mcproxy.conf')
-rw-r--r--mcproxy/files/mcproxy.conf66
1 files changed, 60 insertions, 6 deletions
diff --git a/mcproxy/files/mcproxy.conf b/mcproxy/files/mcproxy.conf
index 60a655e..936cdda 100644
--- a/mcproxy/files/mcproxy.conf
+++ b/mcproxy/files/mcproxy.conf
@@ -2,13 +2,67 @@
##-- mcproxy configuration script --##
######################################
-# Erase or comment out the following line when configured
-disable;
-
# Protocol: IGMPv1|IGMPv2|IGMPv3 (IPv4) - MLDv1|MLDv2 (IPv6)
protocol IGMPv3;
+###########################################
+
# Proxy Instance: upstream ==> downstream
-pinstance proxy1: eth1 ==> "eth0.1";
-#pinstance proxy2: "eth0.2" ==> "br-lan";
-#pinstance proxy3: eth0 ==> eth1 eth2;
+pinstance A: ap a1 ==> ap a2;
+pinstance B: bp b1 ==> bp b2;
+
+###########################################
+
+# Tables
+table allways {
+ (*|*)
+};
+
+table piA_peering_ifs {
+ ap(*|*)
+};
+
+table piA_upstreams {
+ a1(*|*)
+};
+
+table piB_peering_ifs {
+ bp(*|*)
+};
+
+table piB_upstreams {
+ b1(*|*)
+};
+
+###########################################
+
+# Instance Behaviour
+pinstance A upstream * in rulematching mutex 10; #or 25ms (u4)
+#pinstance A upstream * out rulematching all; #default
+
+pinstance A upstream ap out blacklist table allways; #(u1)
+#pinstance A upstream ap in whitelist table {(*|*)}; #default (u2, u3)
+
+pinstance A upstream a1 out blacklist table piA_peering_ifs; #(u3_1)
+#pinstance A upstream a1 in whitelist table {(*|*)}; #default
+
+pinstance A downstream ap in blacklist table allways; #(d1)
+pinstance A downstream ap out blacklist table piA_upstreams; #(d2, d2_1, d3, d4)
+
+#pinstance A downstream a2 in whitelist table {(*|*)}; #default
+#pinstance A downstream a2 out whitelist table {(*|*)}; #default
+
+pinstance B upstream * in rulematching mutex 10; #or 25ms (u4)
+#pinstance B upstream * out rulematching all; #default
+
+pinstance B upstream bp out blacklist table allways; #(u1)
+#pinstance B upstream bp in whitelist table {(*|*)}; #default (u2, u3)
+
+pinstance B upstream b1 out blacklist table piB_peering_ifs; #(u3_1)
+#pinstance b upstream b1 in whitelist table {(*|*)}; #default
+
+pinstance B downstream bp in blacklist table allways; #(d1)
+pinstance B downstream bp out blacklist table piB_upstreams; #(d2, d2_1, d3, d4)
+
+#pinstance B downstream b2 in whitelist table {(*|*)}; #default
+#pinstance B downstream b2 out whitelist table {(*|*)}; #default