diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-11-10 09:45:09 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-11-10 10:58:49 +0100 |
commit | b360b1cad2c05368ebdf2582c7c659aaa9fabcf2 (patch) | |
tree | 3ee42acdacfbb458571f20eff164e0158e8f03b5 /src/lib/ndpi_main.c | |
parent | b08c787fe267053afdea82701071f3878c09244b (diff) |
Added TeslaServices and improved TikTok host names. Fixes #2140.add/tesla-services
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index c7110c802..34e331d36 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -2123,7 +2123,10 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp "TelegramVoip", 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, 0 /* encrypted */, 1 /* app proto */, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_TESLA_SERVICES, + "TeslaServices", 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 */); #ifdef CUSTOM_NDPI_PROTOCOLS #include "../../../nDPI-custom/custom_ndpi_main.c" |