summaryrefslogtreecommitdiffstats
path: root/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test.sh')
-rw-r--r--test.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/test.sh b/test.sh
index dd67a83..379f950 100644
--- a/test.sh
+++ b/test.sh
@@ -32,7 +32,12 @@ case $1 in
--reply-port-src $DPORT --reply-port-dst $SPORT \
--state LISTEN -u SEEN_REPLY -t 50
;;
-
+ get)
+ echo "getting a conntrack"
+ $CONNTRACK -G --orig-src $SRC --orig-dst $DST \
+ -p tcp --orig-port-src $SPORT --orig-port-dst $DPORT \
+ --reply-port-src $DPORT --reply-port-dst $SPORT
+ ;;
change)
echo "change a conntrack"
$CONNTRACK -I --orig-src $SRC --orig-dst $DST \