Added protocols to HTTP as subprotocols. (#1228)
* if HTTP was detected, all of those defined subprotocol detection routines should called Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
+4
-1
@@ -876,7 +876,10 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp
|
||||
ndpi_build_default_ports(ports_a, 80, 0 /* ntop */, 0, 0, 0) /* TCP */,
|
||||
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */);
|
||||
ndpi_set_proto_subprotocols(ndpi_str, NDPI_PROTOCOL_HTTP,
|
||||
NDPI_PROTOCOL_AIMINI,
|
||||
NDPI_PROTOCOL_AIMINI, NDPI_PROTOCOL_CROSSFIRE,
|
||||
NDPI_PROTOCOL_BITTORRENT, NDPI_PROTOCOL_DIRECT_DOWNLOAD_LINK, NDPI_PROTOCOL_GNUTELLA,
|
||||
NDPI_PROTOCOL_MAPLESTORY, NDPI_PROTOCOL_ZATTOO, NDPI_PROTOCOL_WORLDOFWARCRAFT,
|
||||
NDPI_PROTOCOL_THUNDER, NDPI_PROTOCOL_IRC,
|
||||
NDPI_PROTOCOL_MATCHED_BY_CONTENT,
|
||||
NDPI_PROTOCOL_NO_MORE_SUBPROTOCOLS); /* NDPI_PROTOCOL_HTTP can have (content-matched) subprotocols */
|
||||
ndpi_set_proto_defaults(ndpi_str, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_MDNS,
|
||||
|
||||
Reference in New Issue
Block a user