diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2024-06-17 09:54:39 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2024-06-17 10:13:14 +0200 |
commit | 64331d2790aee65036af8e10bb077bcf7117d6d9 (patch) | |
tree | f60c0edd0f35b8b40920fdfe7802acf2615b2910 /src/lib/ndpi_main.c | |
parent | f796c943753b3125950d75a64dee7e869d21d775 (diff) |
Add Ripe Atlas probe protocol.add/ripe_atlas
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index fe8c7086c..119af8075 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -2278,6 +2278,10 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp "JRMI", NDPI_PROTOCOL_CATEGORY_RPC, ndpi_build_default_ports(ports_a, 1099, 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 */, 0 /* nw proto */, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_RIPE_ATLAS, + "RipeAtlas", 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" @@ -6193,6 +6197,9 @@ static int ndpi_callback_init(struct ndpi_detection_module_struct *ndpi_str) { /* JRMI Java Remote Method Invocation*/ init_jrmi_dissector(ndpi_str, &a); + /* (Magellan) Ripe Atlas */ + init_ripe_atlas_dissector(ndpi_str, &a); + #ifdef CUSTOM_NDPI_PROTOCOLS #include "../../../nDPI-custom/custom_ndpi_main_init.c" #endif |