diff options
author | Toni <matzeton@googlemail.com> | 2022-06-05 23:01:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-05 23:01:56 +0200 |
commit | 0b3f8ed849cdf9971224c49a3958f0904a2bbbb5 (patch) | |
tree | a8173c36b610f23cd0771a5e72a2002a4ccaceae /src/lib/ndpi_main.c | |
parent | 1d492c9ed843a7372692b6a4c946d794ecb8b8b6 (diff) |
Fixed syslog false negatives. (#1582)
- 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, |