diff options
author | Luca Deri <deri@ntop.org> | 2018-04-24 15:48:46 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2018-04-24 15:48:46 +0200 |
commit | 7798b964fe9d8f42a19b4fb03ec8ad6e3ad76e9c (patch) | |
tree | 7ce04342cf2917aa17da1e13a1226d022ad9686f /src/lib/ndpi_main.c | |
parent | 44e2e0beea52394337232796fa18f290adedc4d6 (diff) |
Replaces outdates socrates protocol with ntop
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index afabf820e..e798dffba 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1006,9 +1006,9 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp no_master, "DirectConnect", NDPI_PROTOCOL_CATEGORY_DOWNLOAD_FT, 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_mod, NDPI_PROTOCOL_POTENTIALLY_DANGEROUS, NDPI_PROTOCOL_SOCRATES, + ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_SAFE, NDPI_PROTOCOL_NTOP, no_master, - no_master, "Socrates", NDPI_PROTOCOL_CATEGORY_NETWORK, + no_master, "ntop", NDPI_PROTOCOL_CATEGORY_NETWORK, 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_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_VMWARE, @@ -2647,9 +2647,6 @@ void ndpi_set_protocol_detection_bitmask2(struct ndpi_detection_module_struct *n /* DHCP */ init_dhcp_dissector(ndpi_struct, &a, detection_bitmask); - /* SOCRATES */ - init_socrates_dissector(ndpi_struct, &a, detection_bitmask); - /* STEAM */ init_steam_dissector(ndpi_struct, &a, detection_bitmask); |