diff options
author | Vladimir Gavrilov <105977161+0xA50C1A1@users.noreply.github.com> | 2024-01-18 21:23:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-18 19:23:44 +0100 |
commit | 248f3d55884883d0d879d3363bc8e560706cae37 (patch) | |
tree | 242c822a05e199dcfb1df9518b540a8533137285 /src/lib/ndpi_main.c | |
parent | 0712d496fe63fd16f8e943a438c57f75d8cae880 (diff) |
Rework Steam detection (part 1) (#2264)
* Clean up Steam dissector
* Add Steam Datagram Relay dissector
* Update docs
* Update test results
* Remove csgo.c from MSVC project
* Small fixes
* Add Steam TLS pcap sample
* Merge Steam pcap samples into single one
* Fix typo
* Update test results
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 316b25ac2..61c01ee5c 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1774,8 +1774,8 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp "Nintendo", NDPI_PROTOCOL_CATEGORY_GAME, 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_CSGO, - "CSGO", NDPI_PROTOCOL_CATEGORY_GAME, + ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, 0 /* nw proto */, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_VALVE_SDR, + "SteamDatagramRelay", NDPI_PROTOCOL_CATEGORY_GAME, 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_ACCEPTABLE, NDPI_PROTOCOL_AJP, @@ -5598,8 +5598,8 @@ static int ndpi_callback_init(struct ndpi_detection_module_struct *ndpi_str) { /* AMQP */ init_amqp_dissector(ndpi_str, &a); - /* CSGO */ - init_csgo_dissector(ndpi_str, &a); + /* Steam Datagram Relay */ + init_valve_sdr_dissector(ndpi_str, &a); /* LISP */ init_lisp_dissector(ndpi_str, &a); |