diff options
author | 0xA50C1A1 <mage.wizard.88@gmail.com> | 2025-05-16 22:21:57 +0300 |
---|---|---|
committer | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2025-05-16 21:58:48 +0200 |
commit | edcf3579f203d22bf87e7f1773fd1e670dccaa24 (patch) | |
tree | 06f83c21764460ad2b2ad33895862ea32c87951c /src/lib/ndpi_main.c | |
parent | b49b7eb45fd6bc915ea27828e0c501c5256342ab (diff) |
Remove Half-Life 2 support; improve Source Engine protocol detection
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 8e7a86a92..fedf8b45d 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1372,8 +1372,8 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp "Steam", NDPI_PROTOCOL_CATEGORY_GAME, NDPI_PROTOCOL_QOE_CATEGORY_ONLINE_GAMING, 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, 1 /* cleartext */, 0 /* nw proto */, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_HALFLIFE2, - "HalfLife2", NDPI_PROTOCOL_CATEGORY_GAME, NDPI_PROTOCOL_QOE_CATEGORY_ONLINE_GAMING, + ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, 0 /* nw proto */, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_FREE_75, + "Free75", NDPI_PROTOCOL_CATEGORY_GAME, NDPI_PROTOCOL_QOE_CATEGORY_ONLINE_GAMING, 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, 1 /* cleartext */, 1 /* app proto */, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_WORLDOFWARCRAFT, @@ -5879,9 +5879,6 @@ static int ndpi_callback_init(struct ndpi_detection_module_struct *ndpi_str) { /* STEAM */ init_steam_dissector(ndpi_str, &a); - /* HALFLIFE2 */ - init_halflife2_dissector(ndpi_str, &a); - /* XBOX */ init_xbox_dissector(ndpi_str, &a); |