From ccbf6b6448a4210432b76fd4660798705b05f8c4 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Mon, 6 May 2013 21:07:38 +0200 Subject: extensions: add connlabel match allows to "tag" connections with up to 128 label names. Labels are defined in /etc/xtables/connlabel.conf, example: 0 from eth0 1 via eth0 Labels can then be attached to flows, e.g. -A PREROUTING -i eth0 -m connlabel --label "from eth0" --set Signed-off-by: Florian Westphal --- etc/xtables/connlabel.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 etc/xtables/connlabel.conf (limited to 'etc/xtables') diff --git a/etc/xtables/connlabel.conf b/etc/xtables/connlabel.conf new file mode 100644 index 00000000..9167029e --- /dev/null +++ b/etc/xtables/connlabel.conf @@ -0,0 +1,8 @@ +# example connlabel.conf mapping file. +# used by the "connlabel" match to translate names to their bit-value. +0 eth0-in +1 eth0-out +2 ppp-in +3 ppp-out +4 bulk-traffic +5 interactive -- cgit v1.2.3