diff options
author | emanuele-f <black.silver@hotmail.it> | 2019-08-07 12:39:07 +0200 |
---|---|---|
committer | emanuele-f <black.silver@hotmail.it> | 2019-08-07 12:39:07 +0200 |
commit | a6fe581d48a246044ed838c89be008e07ba794f9 (patch) | |
tree | f0ea582b85b477eeaec4295ab6b38413d8478454 | |
parent | ff1234cce3a2c6baff7dadf8bf888f6af74a795d (diff) |
Change SMBv1 breed to potentially dangerous
https://techcommunity.microsoft.com/t5/Storage-at-Microsoft/Stop-using-SMB1/ba-p/425858
-rw-r--r-- | src/lib/ndpi_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 6dc19d743..c59201c9a 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -846,7 +846,7 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp no_master, "XDMCP", NDPI_PROTOCOL_CATEGORY_REMOTE_ACCESS, ndpi_build_default_ports(ports_a, 177, 0, 0, 0, 0) /* TCP */, ndpi_build_default_ports(ports_b, 177, 0, 0, 0, 0) /* UDP */); - ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_SMBV1, + ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_POTENTIALLY_DANGEROUS, NDPI_PROTOCOL_SMBV1, 0 /* can_have_a_subprotocol */, no_master, no_master, "SMBv1", NDPI_PROTOCOL_CATEGORY_SYSTEM_OS, ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, |