From da029607a0499b7beee6dbbd369b92feef98f5c0 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Mon, 18 Nov 2019 21:21:52 +0100 Subject: Removed (unreliable) line protocol detection --- src/lib/ndpi_main.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/lib/ndpi_main.c') diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 640769782..153822988 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1022,9 +1022,9 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp no_master, "DoH_DoT", NDPI_PROTOCOL_CATEGORY_NETWORK /* dummy */, ndpi_build_default_ports(ports_a, 853, 0, 0, 0, 0) /* TCP */, ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */); - ndpi_set_proto_defaults(ndpi_str, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_LINE, + ndpi_set_proto_defaults(ndpi_str, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_FREE_205, 0 /* can_have_a_subprotocol */, no_master, - no_master, "Line", NDPI_PROTOCOL_CATEGORY_VOIP, + no_master, "FREE_205", NDPI_PROTOCOL_CATEGORY_VOIP, ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */); ndpi_set_proto_defaults(ndpi_str, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_WIREGUARD, @@ -3155,9 +3155,6 @@ void ndpi_set_protocol_detection_bitmask2(struct ndpi_detection_module_struct *n /* VNC */ init_vnc_dissector(ndpi_str, &a, detection_bitmask); - /* LINE */ - init_line_dissector(ndpi_str, &a, detection_bitmask); - /* TEAMVIEWER */ init_teamviewer_dissector(ndpi_str, &a, detection_bitmask); -- cgit v1.2.3