From f965983c23e1c9fc4dbbd294bc39217660f7169b Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Tue, 21 Apr 2020 20:43:29 +0200 Subject: Add basic support for some ip-in-ip tunnels Add support for 4in4, 6in6 and 4in6 encapsulations Add support for ipv6 traffic in gtp tunnels, too To allow gtp unit test, gtp detunneling flag has been globally enabled in the test suite --- tests/do.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/do.sh') diff --git a/tests/do.sh b/tests/do.sh index 5c7ea452e..78e6216d9 100755 --- a/tests/do.sh +++ b/tests/do.sh @@ -10,7 +10,7 @@ build_results() { #echo $f # create result files if not present if [ ! -f result/$f.out ]; then - CMD="$READER -q -i pcap/$f -w result/$f.out -v 2" + CMD="$READER -q -t -i pcap/$f -w result/$f.out -v 2" $CMD fi # test fuzz target built with sanitizer on input from corpus @@ -23,7 +23,7 @@ build_results() { check_results() { for f in $PCAPS; do if [ -f result/$f.out ]; then - CMD="$READER -q -i pcap/$f -w /tmp/reader.out -v 2" + CMD="$READER -q -t -i pcap/$f -w /tmp/reader.out -v 2" $CMD NUM_DIFF=`diff result/$f.out /tmp/reader.out | wc -l` -- cgit v1.2.3