diff options
author | Dmytrii Vitman <dimawittmann@gmail.com> | 2022-02-09 13:47:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 11:47:09 +0100 |
commit | 4cf853548c6744af6581ebf6becd37417e164a75 (patch) | |
tree | 3e3d1b8814a9bdf7b2c3f8ea83cb53476ac2af84 /src/lib/ndpi_main.c | |
parent | f229068fd3844cd2fd458e5ae76c20ec059c8d3e (diff) |
Added VXLAN dissector (#1439)
* RFC 7348
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 9bee39db5..015e7a854 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1174,10 +1174,10 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp "OCSP", 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 */); - ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_FREE_64, - "FREE_64", NDPI_PROTOCOL_CATEGORY_VIDEO, + ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_VXLAN, + "VXLAN", 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 */); + ndpi_build_default_ports(ports_b, 4789, 0, 0, 0, 0) /* UDP */); ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, NDPI_PROTOCOL_UNSAFE, NDPI_PROTOCOL_IRC, "IRC", NDPI_PROTOCOL_CATEGORY_CHAT, ndpi_build_default_ports(ports_a, 194, 0, 0, 0, 0) /* TCP */, @@ -3826,6 +3826,9 @@ void ndpi_set_protocol_detection_bitmask2(struct ndpi_detection_module_struct *n /* VNC */ init_vnc_dissector(ndpi_str, &a, detection_bitmask); + /* VXLAN */ + init_vxlan_dissector(ndpi_str, &a, detection_bitmask); + /* TEAMVIEWER */ init_teamviewer_dissector(ndpi_str, &a, detection_bitmask); |