summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_socket.t
diff options
context:
space:
mode:
authorHarout Hedeshian <harouth@codeaurora.org>2015-07-13 10:01:30 -0600
committerPablo Neira Ayuso <pablo@netfilter.org>2015-07-15 18:40:41 +0200
commit195e47b911918a6ee28cca80f8023a24ca3b598b (patch)
tree7ba6719d6832f8b85c9cb12420d52a4a36a25704 /extensions/libxt_socket.t
parentd4b7718fbacc801cba070f29f32aae121e3b705c (diff)
extensions: libxt_socket: update man pages and tests for --restore-skmark
Update the man pages for libxt_socket with a description and example usage of the --restore-skmark option. Also added tests for libxt_socket with various combinations of --restore-skmark and the existing options. Signed-off-by: Harout Hedeshian <harouth@codeaurora.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libxt_socket.t')
-rw-r--r--extensions/libxt_socket.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/libxt_socket.t b/extensions/libxt_socket.t
index 8c0036e2..fe4eb3e4 100644
--- a/extensions/libxt_socket.t
+++ b/extensions/libxt_socket.t
@@ -2,3 +2,7 @@
*mangle
-m socket;=;OK
-m socket --transparent --nowildcard;=;OK
+-m socket --transparent --nowildcard --restore-skmark;=;OK
+-m socket --transparent --restore-skmark;=;OK
+-m socket --nowildcard --restore-skmark;=;OK
+-m socket --restore-skmark;=;OK