aboutsummaryrefslogtreecommitdiffstats
path: root/extensions/libxt_NFQUEUE.t
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2017-03-24 06:32:41 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-24 06:32:41 +0000
commite20d6bf62b07e455e15b3d8982fb83dc99b9e564 (patch)
tree4400fe0ba9baae676633293796954b4061726d5d /extensions/libxt_NFQUEUE.t
parenta1ffd5ecfa5d72c6dc4cfaf11653d61e3e9083bc (diff)
parentff45753ae3c3108c6c93ec132f7cf62190f9c628 (diff)
downloadplatform_external_iptables-e20d6bf62b07e455e15b3d8982fb83dc99b9e564.tar.gz
platform_external_iptables-e20d6bf62b07e455e15b3d8982fb83dc99b9e564.tar.bz2
platform_external_iptables-e20d6bf62b07e455e15b3d8982fb83dc99b9e564.zip
Merge changes from topic 'iptables-1.6.1' am: c784fc47e6
am: ff45753ae3 Change-Id: Ic463667ae6ac346f8eae4b6ca18888dcd24b9d6d
Diffstat (limited to 'extensions/libxt_NFQUEUE.t')
-rw-r--r--extensions/libxt_NFQUEUE.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/extensions/libxt_NFQUEUE.t b/extensions/libxt_NFQUEUE.t
new file mode 100644
index 00000000..b51b19fd
--- /dev/null
+++ b/extensions/libxt_NFQUEUE.t
@@ -0,0 +1,16 @@
+:INPUT,FORWARD,OUTPUT
+-j NFQUEUE;=;OK
+-j NFQUEUE --queue-num 0;=;OK
+-j NFQUEUE --queue-num 65535;=;OK
+-j NFQUEUE --queue-num 65536;;FAIL
+-j NFQUEUE --queue-num -1;;FAIL
+# it says "NFQUEUE: number of total queues is 0", overflow in NFQUEUE_parse_v1?
+# ERROR: cannot load: iptables -A INPUT -j NFQUEUE --queue-balance 0:65535
+# -j NFQUEUE --queue-balance 0:65535;=;OK
+-j NFQUEUE --queue-balance 0:65536;;FAIL
+-j NFQUEUE --queue-balance -1:65535;;FAIL
+-j NFQUEUE --queue-num 10 --queue-bypass;=;OK
+-j NFQUEUE --queue-balance 0:6 --queue-cpu-fanout --queue-bypass;-j NFQUEUE --queue-balance 0:6 --queue-bypass --queue-cpu-fanout;OK
+-j NFQUEUE --queue-bypass --queue-balance 0:6 --queue-cpu-fanout;-j NFQUEUE --queue-balance 0:6 --queue-bypass --queue-cpu-fanout;OK
+-j NFQUEUE --queue-balance 0:6 --queue-bypass;=;OK
+-j NFQUEUE --queue-bypass;-j NFQUEUE --queue-num 0 --queue-bypass;OK