summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_connlabel.t
Commit message (Collapse)AuthorAgeFilesLines
* extensions: connlabel: Fallback on missing connlabel.confPhil Sutter2019-03-081-17/+6
| | | | | | | | | | | | If connlabel.conf was not found, fall back to manually parsing arguments as plain numbers. If nfct_labelmap_new() has failed, nfct_labelmap_get_name() segfaults. Therefore make sure it is not called in connlabel_get_name() if that's the case. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
* extensions: libxt_connlabel: add unit testLiping Zhang2016-07-231-0/+18
Add some unit tests for connlabel match extension: # ./iptables-test.py extensions/libxt_connlabel.t extensions/libxt_connlabel.t: OK 1 test files, 7 unit tests, 7 passed Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>