From e8a95271dc8598261957f9ed5472dfb9065bdd9e Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 19 Feb 2015 02:23:19 +0100 Subject: extensions: add more test cases for iptables-test.py Instead of using iptables-save-formatted files in the tests/ dir, lets use the iptables-test.py framework for all matches/targets. This obsoletes tests/ completely, will be removed in followup patch. Suggested-by: Pablo Neira Ayuso Signed-off-by: Florian Westphal --- extensions/libxt_TPROXY.t | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 extensions/libxt_TPROXY.t (limited to 'extensions/libxt_TPROXY.t') diff --git a/extensions/libxt_TPROXY.t b/extensions/libxt_TPROXY.t new file mode 100644 index 00000000..12f82b1f --- /dev/null +++ b/extensions/libxt_TPROXY.t @@ -0,0 +1,5 @@ +:PREROUTING +*mangle +-j TPROXY --on-port 12345 --on-ip 10.0.0.1 --tproxy-mark 0x23/0xff;;FAIL +-p udp -j TPROXY --on-port 12345 --on-ip 10.0.0.1 --tproxy-mark 0x23/0xff;=;OK +-p tcp -m tcp --dport 2342 -j TPROXY --on-port 12345 --on-ip 10.0.0.1 --tproxy-mark 0x23/0xff;=;OK -- cgit v1.2.3