Skip to content

Commit 938e89c

Browse files
authored
Reimplemented 1kxun application protocol. (#1585)
Signed-off-by: lns <[email protected]>
1 parent df78e67 commit 938e89c

File tree

5 files changed

+200
-124
lines changed

5 files changed

+200
-124
lines changed

src/include/ndpi_protocol_ids.h

+1
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ typedef enum {
323323
NDPI_PROTOCOL_DAZN = 292,
324324
NDPI_PROTOCOL_GOTO = 293, /* GoTo products, mainly GoToMeeting */
325325
NDPI_PROTOCOL_RSH = 294,
326+
NDPI_PROTOCOL_1KXUN = 295,
326327

327328
#ifdef CUSTOM_NDPI_PROTOCOLS
328329
#include "../../../nDPI-custom/custom_ndpi_protocol_ids.h"

src/lib/ndpi_content_match.c.inc

+3
Original file line numberDiff line numberDiff line change
@@ -1684,6 +1684,9 @@ static ndpi_protocol_match host_match[] =
16841684
{ "gotoroom.com", "GoTo", NDPI_PROTOCOL_GOTO, NDPI_PROTOCOL_CATEGORY_VOIP, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DEFAULT_LEVEL },
16851685
{ "joinwebinar.com", "GoTo", NDPI_PROTOCOL_GOTO, NDPI_PROTOCOL_CATEGORY_VOIP, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DEFAULT_LEVEL },
16861686

1687+
{ "1kxun.com", "1kxun", NDPI_PROTOCOL_1KXUN, NDPI_PROTOCOL_CATEGORY_STREAMING, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_DEFAULT_LEVEL },
1688+
{ "1kxun.mobi", "1kxun", NDPI_PROTOCOL_1KXUN, NDPI_PROTOCOL_CATEGORY_STREAMING, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_DEFAULT_LEVEL },
1689+
16871690
#ifdef CUSTOM_NDPI_PROTOCOLS
16881691
#include "../../../nDPI-custom/custom_ndpi_content_match_host_match.c.inc"
16891692
#endif

tests/pcap/1kxun.pcap

4.3 MB
Binary file not shown.

0 commit comments

Comments
 (0)