Added TUYA LAN Protocol dissector. (#1838)

Tuya IoTOS Embedded Wi-Fi and BLE SDK for bk7231n.  Used by many "smart"
devices such as LED light strips, bulbs, etc.

Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca>

Signed-off-by: Darryl Sokoloski <darryl@sokoloski.ca>
This commit is contained in:
Darryl Sokoloski
2022-12-19 17:02:19 +01:00
committed by GitHub
parent ad6bfbad4d
commit 9854aed408
60 changed files with 252 additions and 110 deletions
+1
View File
@@ -359,6 +359,7 @@ typedef enum {
NDPI_PROTOCOL_SIRIUSXMRADIO = 328,
NDPI_PROTOCOL_MUNIN = 329,
NDPI_PROTOCOL_ELASTICSEARCH = 330,
NDPI_PROTOCOL_TUYA_LP = 331, /* TUYA LAN Protocol; IoT OS: https://github.com/tuya/tuya-iotos-embeded-sdk-wifi-ble-bk7231n */
#ifdef CUSTOM_NDPI_PROTOCOLS
+1
View File
@@ -246,6 +246,7 @@ void init_crynet_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_i
void init_line_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_munin_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_elasticsearch_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_tuya_lp_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
/* ndpi_main.c */
extern u_int32_t ndpi_ip_port_hash_funct(u_int32_t ip, u_int16_t port);