diff options
author | Luca Deri <deri@ntop.org> | 2015-05-20 09:27:04 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2015-05-20 09:27:04 +0200 |
commit | 8f3b8ff4dfb5b7674b6d87c78c1bdb275f178d4d (patch) | |
tree | 69ff62ba8c39978516f750f229305b571cb54802 /tests | |
parent | fd338a90c26396471c3dd9f4594335a9b4b8ecfc (diff) |
Added fix to harden quic detection and limit it to port 80/443 UDP
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/do.sh | 5 | ||||
-rw-r--r-- | tests/result/quic.pcap.out | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/do.sh b/tests/do.sh index 4f81906f7..e7d28aa9c 100755 --- a/tests/do.sh +++ b/tests/do.sh @@ -15,13 +15,16 @@ build_results() { check_results() { for f in $PCAPS; do if [ -f result/$f.out ]; then - $READER -q -i pcap/$f -w /tmp/reader.out + CMD="$READER -q -i pcap/$f -w /tmp/reader.out" + $CMD NUM_DIFF=`diff result/$f.out /tmp/reader.out | wc -l` if [ $NUM_DIFF -eq 0 ]; then echo "$f\t OK" else echo "$f\t ERROR" + echo "$CMD" + diff result/$f.out /tmp/reader.out fi /bin/rm /tmp/reader.out diff --git a/tests/result/quic.pcap.out b/tests/result/quic.pcap.out index 283fb04d2..900864e4d 100644 --- a/tests/result/quic.pcap.out +++ b/tests/result/quic.pcap.out @@ -1 +1 @@ -Unknown 413 254874 1 +Quic 413 254874 1 |