aboutsummaryrefslogtreecommitdiff
path: root/tests/pcap
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2022-09-06 12:02:23 +0200
committerToni <matzeton@googlemail.com>2022-09-06 14:58:31 +0200
commit1b3de449a1192a2d834f43901f4dd8b45edbf011 (patch)
tree179c7b4b47e614152f184c97a1ccf55e2e09a3dd /tests/pcap
parent37f918322c0a489b5143a987c8f1a44a6f78a6f3 (diff)
HTTP: correctly set the classification protocols
Classification should always be set via `ndpi_set_detected_protocol()` to be sure to set a correct `confidence` value, too. Having a "known" protocol stack with `NDPI_CONFIDENCE_UNKNOWN` as confidence, is not valid. This code in HTTP dissector likely needs some more thoughts (the classification itself of the attached example doesn't make a lot of sense), but the goal of this commit is only to always have a valid `confidence` value.
Diffstat (limited to 'tests/pcap')
-rw-r--r--tests/pcap/http_guessed_host_and_guessed.pcapngbin0 -> 268 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/pcap/http_guessed_host_and_guessed.pcapng b/tests/pcap/http_guessed_host_and_guessed.pcapng
new file mode 100644
index 000000000..ec293a101
--- /dev/null
+++ b/tests/pcap/http_guessed_host_and_guessed.pcapng
Binary files differ