Merge pull request #576 from eglooca/pr-ssdp-min-length

Adjust the SSDP dissector's minimum packet length
This commit is contained in:
Luca Deri
2018-07-25 08:18:17 +02:00
committed by GitHub
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ void ndpi_search_ssdp(struct ndpi_detection_module_struct *ndpi_struct, struct n
NDPI_LOG_DBG(ndpi_struct, "search ssdp\n");
if (packet->udp != NULL) {
if (packet->payload_packet_len > 100) {
if (packet->payload_packet_len >= 19) {
if ((memcmp(packet->payload, "M-SEARCH * HTTP/1.1", 19) == 0)
|| memcmp(packet->payload, "NOTIFY * HTTP/1.1", 17) == 0) {
Binary file not shown.