diff options
author | lns <matzeton@googlemail.com> | 2022-06-04 21:03:17 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2022-06-05 22:48:20 +0200 |
commit | ca8ac946f48ab853f47b557ae643d36045d7ae95 (patch) | |
tree | 5608240e0a7228de964f44c56bffaae4bbc6a964 /src/lib/ndpi_main.c | |
parent | 7419cfee6407ff2dad687733da8eb27edd181ef9 (diff) |
Fixed syslog false negatives.improved/syslog-false-negatives
- RSH vs Syslog may still happen for midstream traffic
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/ndpi_main.c')
-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 88730350a..9be024642 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1032,7 +1032,7 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */); ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_SYSLOG, "Syslog", NDPI_PROTOCOL_CATEGORY_SYSTEM_OS, - ndpi_build_default_ports(ports_a, 514, 0, 0, 0, 0) /* TCP */, + ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, ndpi_build_default_ports(ports_b, 514, 0, 0, 0, 0) /* UDP */); ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DHCP, "DHCP", NDPI_PROTOCOL_CATEGORY_NETWORK, |