]> git.ipfire.org Git - thirdparty/iptables.git/commit
extensions: add connlabel match
authorFlorian Westphal <fw@strlen.de>
Mon, 6 May 2013 19:01:38 +0000 (21:01 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 6 May 2013 19:03:17 +0000 (21:03 +0200)
commitca376fcbe51b9a102a490545957d5fee69e253e1
tree39d735bb98c642e6245452ade5ca0ab71151212d
parentb5c12f4aa3ebfc4dac37799e41616c37c188ab4f
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 <fw@strlen.de>
Makefile.am