diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 95dec5c..12733a7 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,5 +1,5 @@ add_subdirectory(packet_inject) add_subdirectory(packet_tool) add_subdirectory(debug_plugin) -#add_subdirectory(glimpse_detector) +add_subdirectory(glimpse_detector) add_subdirectory(decoders/http) diff --git a/test/glimpse_detector/CMakeLists.txt b/test/glimpse_detector/CMakeLists.txt index 498e4a8..83254f7 100644 --- a/test/glimpse_detector/CMakeLists.txt +++ b/test/glimpse_detector/CMakeLists.txt @@ -11,5 +11,43 @@ gtest gmock target_link_libraries(gtest_glimpse_detector PRIVATE -Wl,--whole-archive glimpse_detector -Wl,--no-whole-archive) -add_test(NAME gtest_glimpse_detector - COMMAND gtest_glimpse_detector ${CMAKE_SOURCE_DIR}/test/glimpse_detector) \ No newline at end of file + +set(TEST_MAIN ${CMAKE_CURRENT_BINARY_DIR}/gtest_glimpse_detector) + +add_test(NAME GLIMPSE_TEST_SETUP COMMAND sh -c " + mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/conf && + mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/plugin && + mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/log && + mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/tsgconf && + cp ${CMAKE_SOURCE_DIR}/conf/stellar.toml ${CMAKE_CURRENT_BINARY_DIR}/conf/ && + cp ${CMAKE_CURRENT_SOURCE_DIR}/test_config/spec.toml ${CMAKE_CURRENT_BINARY_DIR}/plugin/ && + cp ${CMAKE_SOURCE_DIR}/conf/log.toml ${CMAKE_CURRENT_BINARY_DIR}/conf/ && + cp ${CMAKE_CURRENT_SOURCE_DIR}/test_config/tsg_l7_protocol.conf ${CMAKE_CURRENT_BINARY_DIR}/tsgconf/ && + tomlq -t -i '.packet_io.dumpfile_path=\"-\"' ${CMAKE_CURRENT_BINARY_DIR}/conf/stellar.toml && + tomlq -t -i '.packet_io.mode=\"dumpfilelist\"' ${CMAKE_CURRENT_BINARY_DIR}/conf/stellar.toml + ") + + +set_tests_properties(GLIMPSE_TEST_SETUP + PROPERTIES FIXTURES_SETUP GLIMPSE_TEST_SETUP) + +add_test(NAME GLIMPSE_TEST_APP + COMMAND sh -c "find ${CMAKE_CURRENT_SOURCE_DIR}/test_pcap/app_pcap -type f | sort -V | ${TEST_MAIN} ${CMAKE_CURRENT_SOURCE_DIR}/test_expect/app_pcap.json") + +add_test(NAME GLIMPSE_TEST_DNS + COMMAND sh -c "find ${CMAKE_CURRENT_SOURCE_DIR}/test_pcap/dns_pcap -type f | sort -V | ${TEST_MAIN} ${CMAKE_CURRENT_SOURCE_DIR}/test_expect/dns_pcap.json") + +add_test(NAME GLIMPSE_TEST_MIXED + COMMAND sh -c "find ${CMAKE_CURRENT_SOURCE_DIR}/test_pcap/mixed_pcap -type f | sort -V |${TEST_MAIN} ${CMAKE_CURRENT_SOURCE_DIR}/test_expect/mixed_pcap.json") + +add_test(NAME GLIMPSE_TEST_OPENVPN + COMMAND sh -c "find ${CMAKE_CURRENT_SOURCE_DIR}/test_pcap/openvpn_pcap -type f | sort -V |${TEST_MAIN} ${CMAKE_CURRENT_SOURCE_DIR}/test_expect/openvpn_pcap.json") + +add_test(NAME GLIMPSE_TEST_PPP + COMMAND sh -c "find ${CMAKE_CURRENT_SOURCE_DIR}/test_pcap/ppp_pcap -type f | sort -V | ${TEST_MAIN} ${CMAKE_CURRENT_SOURCE_DIR}/test_expect/ppp_pcap.json") + +add_test(NAME GLIMPSE_TEST_SOCKS + COMMAND sh -c "find ${CMAKE_CURRENT_SOURCE_DIR}/test_pcap/socks_pcap -type f | sort -V | ${TEST_MAIN} ${CMAKE_CURRENT_SOURCE_DIR}/test_expect/socks_pcap.json") + +set_tests_properties(GLIMPSE_TEST_APP GLIMPSE_TEST_DNS GLIMPSE_TEST_MIXED GLIMPSE_TEST_OPENVPN GLIMPSE_TEST_PPP GLIMPSE_TEST_SOCKS + PROPERTIES FIXTURES_REQUIRED GLIMPSE_TEST_SETUP) \ No newline at end of file diff --git a/test/glimpse_detector/gtest_glimpse_detector_main.cpp b/test/glimpse_detector/gtest_glimpse_detector_main.cpp index 026dc93..2bd3d2a 100644 --- a/test/glimpse_detector/gtest_glimpse_detector_main.cpp +++ b/test/glimpse_detector/gtest_glimpse_detector_main.cpp @@ -327,128 +327,27 @@ error_out: * GTEST MAIN * **********************************************/ +char *expect_json_path=NULL; -#define RESULT_JSON_DIR_NAME "test_result_json" -#define TEST_ENV_DIR_NAME "test_env" +TEST(gtest_glimpse_detector, run) { -const char *g_test_dir=NULL; + app_test_para_start(&g_test_para, expect_json_path); + + struct stellar *st=stellar_new("./conf/stellar.toml", "./plugin/spec.toml", "./conf/log.toml"); + stellar_run(st); + stellar_free(st); -#include -char g_cwd[PATH_MAX]; - -#include -static inline void system_cmd(const char *cmd, ...) -{ - char buf[4096] = {0}; - va_list args; - - va_start(args, cmd); - vsnprintf(buf, sizeof(buf), cmd, args); - va_end(args); - - system(buf); -} - -class gtest_glimpse_detector : public ::testing::Test { -protected: - char result_json_path[4096] = {0}; - char pcap_path[4096] = {0}; - - // Constructor should be default; static members should be set externally - gtest_glimpse_detector() = default; - - - void SetUp() override { - - chdir(g_cwd); - std::cout << "SetUpTestCase called for work_dir: " << g_test_dir<< std::endl; - system_cmd("mkdir -p ./conf/"); - system_cmd("mkdir -p ./log/ "); - system_cmd("mkdir -p ./plugin"); - system_cmd("mkdir -p ./tsgconf/"); - system_cmd("cp %s/%s/tsg_l7_protocol.conf ./tsgconf/tsg_l7_protocol.conf", g_test_dir, TEST_ENV_DIR_NAME); - system_cmd("cp %s/%s/stellar.toml ./conf/stellar.toml", g_test_dir, TEST_ENV_DIR_NAME); - system_cmd("cp %s/%s/log.toml ./conf/log.toml", g_test_dir, TEST_ENV_DIR_NAME); - system_cmd("cp %s/%s/spec.toml ./plugin/spec.toml", g_test_dir, TEST_ENV_DIR_NAME); - // Retrieve current test info - const ::testing::TestInfo* test_info = ::testing::UnitTest::GetInstance()->current_test_info(); - - std::cout << "Setting up test environment for test case: " - << test_info->test_case_name() - << " in work_dir: " << g_test_dir << std::endl; - - // Initialize paths based on test case name and arguments - memset(&g_test_para, 0, sizeof(struct app_test_para)); - snprintf(result_json_path, sizeof(result_json_path), - "%s/%s/%s.json", g_test_dir, RESULT_JSON_DIR_NAME, - test_info->name()); - snprintf(pcap_path, sizeof(pcap_path), - "%s/%s", g_test_dir, test_info->name()); - - std::cout << "result_json_path: " << result_json_path << std::endl; - std::cout << "pcap_path: " << pcap_path << std::endl; - system_cmd("tomlq -t -i '.packet_io.dumpfile_dir = \"%s\" ' ./conf/stellar.toml", pcap_path); - system_cmd("pwd"); - system_cmd("cat ./conf/stellar.toml"); - } - -}; - - -TEST_F(gtest_glimpse_detector, app_pcap) { - - app_test_para_start(&g_test_para, result_json_path); - stellar_run(0, NULL); EXPECT_EQ(app_test_para_finish(&g_test_para), 1); } -TEST_F(gtest_glimpse_detector, dns_pcap) { - - app_test_para_start(&g_test_para, result_json_path); - stellar_run(0, NULL); - EXPECT_EQ(app_test_para_finish(&g_test_para), 1); -} - -TEST_F(gtest_glimpse_detector, mixed_pcap) { - - app_test_para_start(&g_test_para, result_json_path); - stellar_run(0, NULL); - EXPECT_EQ(app_test_para_finish(&g_test_para), 1); -} - - -TEST_F(gtest_glimpse_detector, openvpn_pcap) { - - app_test_para_start(&g_test_para, result_json_path); - stellar_run(0, NULL); - EXPECT_EQ(app_test_para_finish(&g_test_para), 1); -} - - -TEST_F(gtest_glimpse_detector, ppp_pcap) { - - app_test_para_start(&g_test_para, result_json_path); - stellar_run(0, NULL); - EXPECT_EQ(app_test_para_finish(&g_test_para), 1); -} - -TEST_F(gtest_glimpse_detector, socks_pcap) { - - app_test_para_start(&g_test_para, result_json_path); - stellar_run(0, NULL); - EXPECT_EQ(app_test_para_finish(&g_test_para), 1); -} - - int main(int argc, char ** argv) { if(argc != 2) { - printf("Invalid Argument!!!\n Usage: ./[gtest_main] [/path/to/glimpse_detector_test_dir] \n"); + printf("Invalid Argument!!!\n Usage: ./[gtest_main] [/path/to/expect_json]\n"); return -1; } - getcwd(g_cwd, sizeof(g_cwd)); ::testing::InitGoogleTest(&argc, argv); - g_test_dir=argv[1]; + expect_json_path=argv[1]; return RUN_ALL_TESTS(); } \ No newline at end of file diff --git a/test/glimpse_detector/test_env/spec.toml b/test/glimpse_detector/test_config/spec.toml similarity index 100% rename from test/glimpse_detector/test_env/spec.toml rename to test/glimpse_detector/test_config/spec.toml diff --git a/test/glimpse_detector/test_env/tsg_l7_protocol.conf b/test/glimpse_detector/test_config/tsg_l7_protocol.conf similarity index 100% rename from test/glimpse_detector/test_env/tsg_l7_protocol.conf rename to test/glimpse_detector/test_config/tsg_l7_protocol.conf diff --git a/test/glimpse_detector/test_env/log.toml b/test/glimpse_detector/test_env/log.toml deleted file mode 100644 index 072faf5..0000000 --- a/test/glimpse_detector/test_env/log.toml +++ /dev/null @@ -1,4 +0,0 @@ -[log] -output = file # stderr, file -file = "log/stellar.log" -level = INFO # TRACE, DEBUG, INFO, WARN, ERROR, FATAL diff --git a/test/glimpse_detector/test_env/stellar.toml b/test/glimpse_detector/test_env/stellar.toml deleted file mode 100644 index d48c8d1..0000000 --- a/test/glimpse_detector/test_env/stellar.toml +++ /dev/null @@ -1,56 +0,0 @@ -[id_generator] -snowflake_worker_id_base = 1 # [0, 31] -snowflake_worker_id_offset = 2 # [0, 127] - -[packet_io] -mode = "dumpfile" # dumpfile, marsio -app_symbol = "stellar" -dev_symbol = "nf_0_fw" - -dumpfile_dir = "/tmp/dumpfile/" -nr_threads = 1 # [1, 256] -cpu_mask = [5, 6, 7, 8, 9, 10, 11, 12] - -[ip_reassembly] -enable = 1 -timeout = 10000 # range: [1, 60000] (ms) -bucket_entries = 256 # range: [1, 4294967295] (must be power of 2) -bucket_num = 4096 # range: [1, 4294967295] - -[session_manager] -# max session number -max_tcp_session_num = 50000 -max_udp_session_num = 50000 - -# session overload evict -tcp_overload_evict_old_sess = 1 # 1: evict old session, 0: bypass new session -udp_overload_evict_old_sess = 1 # 1: evict old session, 0: bypass new session - -# TCP timeout -tcp_init_timeout = 5000 # range: [1, 60000] (ms) -tcp_handshake_timeout = 5000 # range: [1, 60000] (ms) -tcp_data_timeout = 5000 # range: [1, 15999999000] (ms) -tcp_half_closed_timeout = 5000 # range: [1, 604800000] (ms) -tcp_time_wait_timeout = 5000 # range: [1, 600000] (ms) -tcp_discard_timeout = 10000 # range: [1, 15999999000] (ms) -tcp_unverified_rst_timeout = 5000 # range: [1, 600000] (ms) -# UDP timeout -udp_data_timeout = 5000 # range: [1, 15999999000] (ms) -udp_discard_timeout = 5000 # range: [1, 15999999000] (ms) - -# duplicate packet filter -duplicated_packet_filter_enable = 1 -duplicated_packet_filter_capacity = 1000000 # range: [1, 4294967295] -duplicated_packet_filter_timeout = 10000 # range: [1, 60000] (ms) -duplicated_packet_filter_error_rate = 0.00001 # range: [0.0, 1.0] - -# evicted session filter -evicted_session_filter_enable = 1 -evicted_session_filter_capacity = 1000000 # range: [1, 4294967295] -evicted_session_filter_timeout = 10000 # range: [1, 60000] (ms) -evicted_session_filter_error_rate = 0.00001 # range: [0.0, 1.0] - -# TCP reassembly (Per direction) -tcp_reassembly_enable = 1 -tcp_reassembly_max_timeout = 10000 # range: [1, 60000] (ms) -tcp_reassembly_max_segments = 256 # range: [2, 4096] diff --git a/test/glimpse_detector/test_expect/app_pcap.json b/test/glimpse_detector/test_expect/app_pcap.json new file mode 100644 index 0000000..1e4c62d --- /dev/null +++ b/test/glimpse_detector/test_expect/app_pcap.json @@ -0,0 +1,50 @@ + [{ + "Tuple4": "192.168.57.168:8758-123.151.78.109:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [156], + "l7_label_name": ["QQ"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_1" + }, { + "Tuple4": "192.168.58.58:51876-175.27.3.209:443-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [1296], + "l7_label_name": ["WeChat"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_2" + }, { + "Tuple4": "192.168.57.168:59361-106.119.174.27:18001-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [156], + "l7_label_name": ["QQ"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_3" + }, { + "Tuple4": "192.168.58.58:57907-119.167.204.98:8080-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [1296], + "l7_label_name": ["WeChat"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_4" + }, { + "Tuple4": "192.168.39.77:62682-81.181.55.9:1337-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [3700], + "l7_label_name": ["WIREGUARD"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_5" + }, { + "Tuple4": "209.58.189.105:58237-192.168.50.26:56658-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [3700], + "l7_label_name": ["WIREGUARD"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_6" + }, { + "Tuple4": "51.77.200.55:51820-196.188.136.150:20620-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [3700], + "l7_label_name": ["WIREGUARD"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_7" + }] diff --git a/test/glimpse_detector/test_expect/dns_pcap.json b/test/glimpse_detector/test_expect/dns_pcap.json new file mode 100644 index 0000000..79daba3 --- /dev/null +++ b/test/glimpse_detector/test_expect/dns_pcap.json @@ -0,0 +1,402 @@ + [{ + "Tuple4": "124.88.175.201:17997-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_1" + }, { + "Tuple4": "124.88.175.201:18014-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_2" + }, { + "Tuple4": "124.88.175.201:18081-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_3" + }, { + "Tuple4": "124.88.175.201:18082-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_4" + }, { + "Tuple4": "124.88.175.201:18091-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_5" + }, { + "Tuple4": "124.88.175.201:18088-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_6" + }, { + "Tuple4": "124.88.175.201:18103-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_7" + }, { + "Tuple4": "124.88.175.201:18126-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_8" + }, { + "Tuple4": "124.88.175.201:18136-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_9" + }, { + "Tuple4": "124.88.175.201:18142-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_10" + }, { + "Tuple4": "124.88.175.201:18210-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_11" + }, { + "Tuple4": "124.88.175.201:18215-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_12" + }, { + "Tuple4": "124.88.175.201:18219-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_13" + }, { + "Tuple4": "124.88.175.201:18223-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_14" + }, { + "Tuple4": "124.88.175.201:18236-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_15" + }, { + "Tuple4": "124.88.175.201:18239-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_16" + }, { + "Tuple4": "124.88.175.201:18242-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_17" + }, { + "Tuple4": "124.88.175.201:18256-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_18" + }, { + "Tuple4": "124.88.175.201:18266-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_19" + }, { + "Tuple4": "124.88.175.201:18336-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_20" + }, { + "Tuple4": "124.88.175.201:18345-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_21" + }, { + "Tuple4": "124.88.175.201:18347-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_22" + }, { + "Tuple4": "124.88.175.201:18351-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_23" + }, { + "Tuple4": "124.88.175.201:18354-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_24" + }, { + "Tuple4": "124.88.175.201:18358-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_25" + }, { + "Tuple4": "124.88.175.201:18360-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_26" + }, { + "Tuple4": "60.13.179.249:38470-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_27" + }, { + "Tuple4": "60.13.179.249:38594-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_28" + }, { + "Tuple4": "60.13.179.249:38608-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_29" + }, { + "Tuple4": "60.13.179.249:38624-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_30" + }, { + "Tuple4": "60.13.179.249:38712-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_31" + }, { + "Tuple4": "60.13.179.249:38692-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_32" + }, { + "Tuple4": "60.13.179.249:38694-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_33" + }, { + "Tuple4": "60.13.179.249:38886-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_34" + }, { + "Tuple4": "60.13.179.249:38904-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_35" + }, { + "Tuple4": "60.13.179.249:38912-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_36" + }, { + "Tuple4": "60.13.179.249:38960-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_37" + }, { + "Tuple4": "60.13.179.249:38976-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_38" + }, { + "Tuple4": "60.13.179.249:38972-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_39" + }, { + "Tuple4": "60.13.179.249:39016-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_40" + }, { + "Tuple4": "60.13.179.249:38978-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_41" + }, { + "Tuple4": "60.13.179.249:39000-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_42" + }, { + "Tuple4": "60.13.179.249:39052-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_43" + }, { + "Tuple4": "60.13.179.249:39082-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_44" + }, { + "Tuple4": "60.13.179.249:39120-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_45" + }, { + "Tuple4": "60.13.179.249:39114-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_46" + }, { + "Tuple4": "60.13.179.249:39176-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_47" + }, { + "Tuple4": "60.13.179.249:39186-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_48" + }, { + "Tuple4": "60.13.179.249:39216-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_49" + }, { + "Tuple4": "60.13.179.249:39246-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_50" + }, { + "Tuple4": "60.13.179.249:39268-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_51" + }, { + "Tuple4": "60.13.179.249:26834-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_52" + }, { + "Tuple4": "124.88.175.201:18095-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_53" + }, { + "Tuple4": "60.13.195.137:41008-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_54" + }, { + "Tuple4": "124.88.175.201:18111-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_55" + }, { + "Tuple4": "60.13.179.249:26633-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_56" + }, { + "Tuple4": "60.13.179.249:26709-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_57" + }, { + "Tuple4": "60.13.179.249:37897-8.8.8.8:53-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_58" + }] diff --git a/test/glimpse_detector/test_result_json/empty_array.json b/test/glimpse_detector/test_expect/empty_array.json similarity index 100% rename from test/glimpse_detector/test_result_json/empty_array.json rename to test/glimpse_detector/test_expect/empty_array.json diff --git a/test/glimpse_detector/test_result_json/mixed_pcap.json b/test/glimpse_detector/test_expect/mixed_pcap.json similarity index 95% rename from test/glimpse_detector/test_result_json/mixed_pcap.json rename to test/glimpse_detector/test_expect/mixed_pcap.json index ae73835..cddc7e3 100644 --- a/test/glimpse_detector/test_result_json/mixed_pcap.json +++ b/test/glimpse_detector/test_expect/mixed_pcap.json @@ -27,7 +27,7 @@ "STREAM_DIR": "C2S", "name": "APP_PROTO_IDENTIFY_RESULT_4" }, { - "Tuple4": "218.229.99.73:25-172.17.107.32:18867-6-0", + "Tuple4": "172.17.107.32:18867-218.229.99.73:25-6-0", "STREAM_TYPE": "TCP", "l7_label_id": [186], "l7_label_name": ["SMTP"], @@ -36,8 +36,7 @@ }, { "Tuple4": "117.145.115.74:37855-218.31.124.234:21121-6-0", "STREAM_TYPE": "TCP", - "l7_label_id": [45], - "l7_label_name": ["FTP"], + "l7_label_id": "UNKNOWN", "STREAM_DIR": "DOUBLE", "name": "APP_PROTO_IDENTIFY_RESULT_6" }, { @@ -83,7 +82,7 @@ "STREAM_DIR": "C2S", "name": "APP_PROTO_IDENTIFY_RESULT_12" }, { - "Tuple4": "117.156.19.31:8000-39.144.206.199:22005-17-0", + "Tuple4": "39.144.206.199:22005-117.156.19.31:8000-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [201, 174, 175], "l7_label_name": ["STUN", "RTCP", "RTP"], @@ -153,140 +152,140 @@ "STREAM_DIR": "C2S", "name": "APP_PROTO_IDENTIFY_RESULT_22" }, { - "Tuple4": "108.177.14.138:443-146.158.67.194:1044-17-0", + "Tuple4": "146.158.67.194:1044-108.177.14.138:443-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [2521], "l7_label_name": ["QUIC"], "STREAM_DIR": "S2C", "name": "APP_PROTO_IDENTIFY_RESULT_23" }, { - "Tuple4": "36.189.11.71:443-36.142.158.169:16385-17-0", + "Tuple4": "36.142.158.169:16385-36.189.11.71:443-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [2521], "l7_label_name": ["QUIC"], "STREAM_DIR": "S2C", "name": "APP_PROTO_IDENTIFY_RESULT_24" }, { - "Tuple4": "192.168.50.29:61891-31.13.77.35:443-17-0", + "Tuple4": "103.3.138.59:12521-123.125.116.52:443-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [2521], "l7_label_name": ["QUIC"], "STREAM_DIR": "DOUBLE", "name": "APP_PROTO_IDENTIFY_RESULT_25" }, { - "Tuple4": "192.168.60.9:55659-69.171.250.63:443-17-0", + "Tuple4": "172.20.9.135:65045-64.233.162.119:443-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [2521], "l7_label_name": ["QUIC"], "STREAM_DIR": "DOUBLE", "name": "APP_PROTO_IDENTIFY_RESULT_26" }, { - "Tuple4": "192.168.137.141:50006-31.13.77.17:443-17-0", + "Tuple4": "192.168.50.29:61891-31.13.77.35:443-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [2521], "l7_label_name": ["QUIC"], "STREAM_DIR": "DOUBLE", "name": "APP_PROTO_IDENTIFY_RESULT_27" }, { - "Tuple4": "217.76.77.70:33232-173.194.220.105:443-17-0", + "Tuple4": "192.168.60.9:55659-69.171.250.63:443-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [2521], "l7_label_name": ["QUIC"], "STREAM_DIR": "DOUBLE", "name": "APP_PROTO_IDENTIFY_RESULT_28" }, { - "Tuple4": "192.168.60.32:59699-64.233.164.84:443-17-0", + "Tuple4": "192.168.137.141:50006-31.13.77.17:443-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [2521], "l7_label_name": ["QUIC"], "STREAM_DIR": "DOUBLE", "name": "APP_PROTO_IDENTIFY_RESULT_29" }, { - "Tuple4": "195.12.120.14:41803-173.194.222.101:443-17-0", + "Tuple4": "217.76.77.70:33232-173.194.220.105:443-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [2521], "l7_label_name": ["QUIC"], "STREAM_DIR": "DOUBLE", "name": "APP_PROTO_IDENTIFY_RESULT_30" + }, { + "Tuple4": "192.168.60.32:59699-64.233.164.84:443-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [2521], + "l7_label_name": ["QUIC"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_31" + }, { + "Tuple4": "195.12.120.14:41803-173.194.222.101:443-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [2521], + "l7_label_name": ["QUIC"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_32" }, { "Tuple4": "10.130.2.104:55426-67.225.241.247:587-6-0", "STREAM_TYPE": "TCP", "l7_label_id": [186], "l7_label_name": ["SMTP"], "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_31" + "name": "APP_PROTO_IDENTIFY_RESULT_33" }, { "Tuple4": "10.130.13.155:57719-50.87.145.154:26-6-0", "STREAM_TYPE": "TCP", "l7_label_id": [186], "l7_label_name": ["SMTP"], "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_32" + "name": "APP_PROTO_IDENTIFY_RESULT_34" }, { "Tuple4": "196.189.24.94:20997-98.138.112.34:25-6-0", "STREAM_TYPE": "TCP", "l7_label_id": "UNKNOWN", "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_33" + "name": "APP_PROTO_IDENTIFY_RESULT_35" }, { "Tuple4": "196.189.0.15:53357-39.156.6.106:110-6-0", "STREAM_TYPE": "TCP", "l7_label_id": [147], "l7_label_name": ["POP3"], "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_34" + "name": "APP_PROTO_IDENTIFY_RESULT_36" }, { "Tuple4": "196.188.121.1:53357-68.183.134.15:110-6-0", "STREAM_TYPE": "TCP", "l7_label_id": "UNKNOWN", "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_35" + "name": "APP_PROTO_IDENTIFY_RESULT_37" }, { "Tuple4": "196.189.5.89:36734-101.32.113.90:143-6-0", "STREAM_TYPE": "TCP", "l7_label_id": [75], "l7_label_name": ["IMAP"], "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_36" + "name": "APP_PROTO_IDENTIFY_RESULT_38" }, { "Tuple4": "196.188.28.149:50415-69.195.110.51:143-6-0", "STREAM_TYPE": "TCP", "l7_label_id": [75], "l7_label_name": ["IMAP"], "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_37" + "name": "APP_PROTO_IDENTIFY_RESULT_39" }, { - "Tuple4": "8.210.152.150:53-115.24.235.11:4029-17-0", + "Tuple4": "115.24.235.11:4029-8.210.152.150:53-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [32], "l7_label_name": ["DNS"], "STREAM_DIR": "S2C", - "name": "APP_PROTO_IDENTIFY_RESULT_38" + "name": "APP_PROTO_IDENTIFY_RESULT_40" }, { - "Tuple4": "192.168.137.147:45736-78.1.76.154:57133-17-0", + "Tuple4": "78.1.76.154:57133-192.168.137.147:45736-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [201, 1291], "l7_label_name": ["STUN", "DTLS"], "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_39" - }, { - "Tuple4": "103.3.138.59:12521-123.125.116.52:443-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [2521], - "l7_label_name": ["QUIC"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_40" + "name": "APP_PROTO_IDENTIFY_RESULT_41" }, { "Tuple4": "192.168.40.82:41450-192.168.44.230:7002-6-0", "STREAM_TYPE": "TCP", "l7_label_id": "UNKNOWN", "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_41" - }, { - "Tuple4": "172.20.9.135:65045-64.233.162.119:443-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [2521], - "l7_label_name": ["QUIC"], - "STREAM_DIR": "DOUBLE", "name": "APP_PROTO_IDENTIFY_RESULT_42" -}] + }] diff --git a/test/glimpse_detector/test_result_json/openvpn_pcap.json b/test/glimpse_detector/test_expect/openvpn_pcap.json similarity index 100% rename from test/glimpse_detector/test_result_json/openvpn_pcap.json rename to test/glimpse_detector/test_expect/openvpn_pcap.json index 639b7d5..66f30eb 100644 --- a/test/glimpse_detector/test_result_json/openvpn_pcap.json +++ b/test/glimpse_detector/test_expect/openvpn_pcap.json @@ -13,80 +13,80 @@ "STREAM_DIR": "DOUBLE", "name": "APP_PROTO_IDENTIFY_RESULT_2" }, { - "Tuple4": "2607:5d00:2:2::38:129:61897-2a01:4f8:200:812b:65b::1:3042-17-0", + "Tuple4": "192.168.88.3:50568-46.246.122.61:1198-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [336], "l7_label_name": ["OPENVPN"], "STREAM_DIR": "DOUBLE", "name": "APP_PROTO_IDENTIFY_RESULT_3" - }, { - "Tuple4": "192.168.56.31:49941-185.225.234.3:1194-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [336], - "l7_label_name": ["OPENVPN"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_4" - }, { - "Tuple4": "192.168.58.112:41925-36.102.226.57:8443-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [2521], - "l7_label_name": ["QUIC"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_5" - }, { - "Tuple4": "192.168.88.3:50568-46.246.122.61:1198-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [336], - "l7_label_name": ["OPENVPN"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_6" }, { "Tuple4": "192.168.1.77:60140-46.101.231.218:443-6-0", "STREAM_TYPE": "TCP", "l7_label_id": [336], "l7_label_name": ["OPENVPN"], "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_7" + "name": "APP_PROTO_IDENTIFY_RESULT_4" }, { "Tuple4": "192.168.43.12:41507-139.59.151.137:13680-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [336], "l7_label_name": ["OPENVPN"], "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_8" + "name": "APP_PROTO_IDENTIFY_RESULT_5" }, { "Tuple4": "192.168.43.18:13680-139.59.151.137:13680-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [336], "l7_label_name": ["OPENVPN"], "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_9" + "name": "APP_PROTO_IDENTIFY_RESULT_6" }, { "Tuple4": "192.168.34.249:63111-3.115.218.192:1194-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [336], "l7_label_name": ["OPENVPN"], "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_10" + "name": "APP_PROTO_IDENTIFY_RESULT_7" }, { "Tuple4": "192.168.11.14:34400-202.43.148.189:1194-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [336], "l7_label_name": ["OPENVPN"], "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_11" + "name": "APP_PROTO_IDENTIFY_RESULT_8" }, { "Tuple4": "202.43.148.166:40914-202.43.148.189:1194-17-0", "STREAM_TYPE": "UDP", "l7_label_id": [336], "l7_label_name": ["OPENVPN"], "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_12" + "name": "APP_PROTO_IDENTIFY_RESULT_9" }, { "Tuple4": "172.31.136.16:51706-172.31.250.5:1194-6-0", "STREAM_TYPE": "TCP", "l7_label_id": [336], "l7_label_name": ["OPENVPN"], "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_10" + }, { + "Tuple4": "192.168.56.31:49941-185.225.234.3:1194-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [336], + "l7_label_name": ["OPENVPN"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_11" + }, { + "Tuple4": "2607:5d00:2:2::38:129:61897-2a01:4f8:200:812b:65b::1:3042-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [336], + "l7_label_name": ["OPENVPN"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_12" + }, { + "Tuple4": "192.168.58.112:41925-36.102.226.57:8443-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [2521], + "l7_label_name": ["QUIC"], + "STREAM_DIR": "DOUBLE", "name": "APP_PROTO_IDENTIFY_RESULT_13" }] diff --git a/test/glimpse_detector/test_expect/ppp_pcap.json b/test/glimpse_detector/test_expect/ppp_pcap.json new file mode 100644 index 0000000..cf20bf0 --- /dev/null +++ b/test/glimpse_detector/test_expect/ppp_pcap.json @@ -0,0 +1,826 @@ + [{ + "Tuple4": "192.168.10.91:62176-220.249.244.23:33445-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_1" + }, { + "Tuple4": "172.16.2.100:49247-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_2" + }, { + "Tuple4": "172.16.2.100:49245-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_3" + }, { + "Tuple4": "172.16.2.100:49252-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_4" + }, { + "Tuple4": "172.16.2.100:49255-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_5" + }, { + "Tuple4": "172.16.2.100:49248-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_6" + }, { + "Tuple4": "172.16.2.100:49254-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_7" + }, { + "Tuple4": "172.16.2.100:49259-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_8" + }, { + "Tuple4": "172.16.0.100:50112-172.16.0.254:1723-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [153], + "l7_label_name": ["PPTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_9" + }, { + "Tuple4": "172.16.2.100:50072-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_10" + }, { + "Tuple4": "172.16.2.100:49250-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_11" + }, { + "Tuple4": "172.16.0.100:500-172.16.0.254:500-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [92], + "l7_label_name": ["ISAKMP"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_12" + }, { + "Tuple4": "172.16.2.100:63747-224.0.0.252:5355-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_13" + }, { + "Tuple4": "172.16.2.100:65012-224.0.0.252:5355-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_14" + }, { + "Tuple4": "172.16.2.100:68-255.255.255.255:67-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_15" + }, { + "Tuple4": "172.16.2.100:63917-224.0.0.252:5355-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_16" + }, { + "Tuple4": "172.16.2.100:50147-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_17" + }, { + "Tuple4": "172.16.2.100:50866-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_18" + }, { + "Tuple4": "172.16.2.100:57084-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_19" + }, { + "Tuple4": "172.16.2.100:138-255.255.255.255:138-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [129], + "l7_label_name": ["NETBIOS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_20" + }, { + "Tuple4": "172.16.2.100:51103-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_21" + }, { + "Tuple4": "172.16.2.100:53831-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_22" + }, { + "Tuple4": "172.16.2.100:52460-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_23" + }, { + "Tuple4": "172.16.2.100:50497-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_24" + }, { + "Tuple4": "172.16.2.100:50233-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_25" + }, { + "Tuple4": "172.16.2.100:64355-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_26" + }, { + "Tuple4": "172.16.2.100:50648-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_27" + }, { + "Tuple4": "172.16.2.100:52851-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_28" + }, { + "Tuple4": "172.16.2.100:58476-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_29" + }, { + "Tuple4": "172.16.2.100:50897-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_30" + }, { + "Tuple4": "172.16.2.100:65380-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_31" + }, { + "Tuple4": "172.16.2.100:58422-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_32" + }, { + "Tuple4": "172.16.2.100:64882-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_33" + }, { + "Tuple4": "172.16.2.100:51787-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_34" + }, { + "Tuple4": "172.16.2.100:59393-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_35" + }, { + "Tuple4": "172.16.2.100:52783-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_36" + }, { + "Tuple4": "172.16.2.100:55755-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_37" + }, { + "Tuple4": "172.16.2.100:60213-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_38" + }, { + "Tuple4": "172.16.2.100:64847-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_39" + }, { + "Tuple4": "172.16.2.100:64115-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_40" + }, { + "Tuple4": "172.16.2.100:57554-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_41" + }, { + "Tuple4": "172.16.2.100:49969-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_42" + }, { + "Tuple4": "172.16.2.100:57553-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_43" + }, { + "Tuple4": "172.16.2.100:58185-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_44" + }, { + "Tuple4": "172.16.2.100:60349-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_45" + }, { + "Tuple4": "172.16.2.100:62337-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_46" + }, { + "Tuple4": "172.16.2.100:64382-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_47" + }, { + "Tuple4": "172.16.2.100:62694-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_48" + }, { + "Tuple4": "172.16.2.100:64915-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_49" + }, { + "Tuple4": "172.16.2.100:50578-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_50" + }, { + "Tuple4": "172.16.2.100:56971-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_51" + }, { + "Tuple4": "172.16.2.100:62721-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_52" + }, { + "Tuple4": "172.16.2.100:50655-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_53" + }, { + "Tuple4": "172.16.2.100:54363-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_54" + }, { + "Tuple4": "172.16.2.100:53796-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_55" + }, { + "Tuple4": "172.16.2.100:59348-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_56" + }, { + "Tuple4": "172.16.2.100:49686-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_57" + }, { + "Tuple4": "172.16.2.100:50273-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_58" + }, { + "Tuple4": "172.16.2.100:63738-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_59" + }, { + "Tuple4": "172.16.2.100:62490-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_60" + }, { + "Tuple4": "172.16.2.100:61200-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_61" + }, { + "Tuple4": "172.16.2.100:64138-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_62" + }, { + "Tuple4": "172.16.2.100:64736-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_63" + }, { + "Tuple4": "172.16.2.100:54188-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_64" + }, { + "Tuple4": "172.16.2.100:59408-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_65" + }, { + "Tuple4": "172.16.2.100:49446-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_66" + }, { + "Tuple4": "172.16.2.100:58556-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_67" + }, { + "Tuple4": "172.16.2.100:52129-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_68" + }, { + "Tuple4": "172.16.2.100:50258-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_69" + }, { + "Tuple4": "172.16.2.100:51697-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_70" + }, { + "Tuple4": "172.16.2.100:58428-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_71" + }, { + "Tuple4": "172.16.2.100:51307-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_72" + }, { + "Tuple4": "172.16.2.100:55973-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_73" + }, { + "Tuple4": "172.16.2.100:53758-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_74" + }, { + "Tuple4": "172.16.2.100:62140-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_75" + }, { + "Tuple4": "172.16.2.100:63652-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_76" + }, { + "Tuple4": "172.16.2.100:60777-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_77" + }, { + "Tuple4": "172.16.2.100:49246-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_78" + }, { + "Tuple4": "172.16.2.100:56967-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_79" + }, { + "Tuple4": "172.16.2.100:60549-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_80" + }, { + "Tuple4": "172.16.2.100:49621-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_81" + }, { + "Tuple4": "172.16.2.100:49257-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_82" + }, { + "Tuple4": "172.16.2.100:65424-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_83" + }, { + "Tuple4": "172.16.2.100:49249-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_84" + }, { + "Tuple4": "172.16.2.100:49256-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_85" + }, { + "Tuple4": "172.16.2.100:61044-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_86" + }, { + "Tuple4": "172.16.2.100:55106-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_87" + }, { + "Tuple4": "172.16.2.100:62335-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_88" + }, { + "Tuple4": "172.16.2.100:54356-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_89" + }, { + "Tuple4": "172.16.2.100:51628-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_90" + }, { + "Tuple4": "172.16.2.100:50188-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_91" + }, { + "Tuple4": "172.16.2.100:57198-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_92" + }, { + "Tuple4": "172.16.2.100:57310-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_93" + }, { + "Tuple4": "172.16.2.100:49258-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_94" + }, { + "Tuple4": "172.16.2.100:63697-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_95" + }, { + "Tuple4": "172.16.2.100:50244-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_96" + }, { + "Tuple4": "172.16.2.100:57229-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_97" + }, { + "Tuple4": "172.16.2.100:62401-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_98" + }, { + "Tuple4": "172.16.2.100:58807-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_99" + }, { + "Tuple4": "172.16.2.100:49264-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_100" + }, { + "Tuple4": "172.16.2.100:49261-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_101" + }, { + "Tuple4": "172.16.2.100:49253-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_102" + }, { + "Tuple4": "172.16.2.100:50564-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_103" + }, { + "Tuple4": "172.16.2.100:49263-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_104" + }, { + "Tuple4": "172.16.2.100:49251-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_105" + }, { + "Tuple4": "172.16.2.100:49265-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_106" + }, { + "Tuple4": "172.16.2.100:60282-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_107" + }, { + "Tuple4": "172.16.2.100:58248-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_108" + }, { + "Tuple4": "172.16.2.100:53188-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_109" + }, { + "Tuple4": "172.16.2.100:53483-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_110" + }, { + "Tuple4": "172.16.2.100:49260-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_111" + }, { + "Tuple4": "172.16.2.100:51121-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_112" + }, { + "Tuple4": "172.16.2.100:52562-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_113" + }, { + "Tuple4": "172.16.2.100:49262-10.0.6.229:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_114" + }, { + "Tuple4": "172.16.2.100:51048-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_115" + }, { + "Tuple4": "172.16.2.100:51806-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_116" + }, { + "Tuple4": "172.16.2.100:137-255.255.255.255:137-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [129], + "l7_label_name": ["NETBIOS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_117" + }, { + "Tuple4": "172.16.2.100:60348-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_118" + }, { + "Tuple4": "172.16.0.100:1701-172.16.0.254:1701-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [158], + "l7_label_name": ["RADIUS"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_119" + }] diff --git a/test/glimpse_detector/test_expect/socks_pcap.json b/test/glimpse_detector/test_expect/socks_pcap.json new file mode 100644 index 0000000..5282661 --- /dev/null +++ b/test/glimpse_detector/test_expect/socks_pcap.json @@ -0,0 +1,266 @@ + [{ + "Tuple4": "192.168.122.100:62395-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 45], + "l7_label_name": ["SOCKS", "FTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_1" + }, { + "Tuple4": "192.168.122.100:50259-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_2" + }, { + "Tuple4": "10.0.0.1:1637-10.0.0.2:21477-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_3" + }, { + "Tuple4": "10.180.156.185:53533-10.180.156.249:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_4" + }, { + "Tuple4": "10.180.156.185:53534-10.180.156.249:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_5" + }, { + "Tuple4": "10.180.156.185:53535-10.180.156.249:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_6" + }, { + "Tuple4": "10.10.9.37:1063-100.100.9.37:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 147], + "l7_label_name": ["SOCKS", "POP3"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_7" + }, { + "Tuple4": "10.10.10.38:1061-100.100.10.38:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 186], + "l7_label_name": ["SOCKS", "SMTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_8" + }, { + "Tuple4": "192.168.122.100:50260-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_9" + }, { + "Tuple4": "192.168.122.100:50261-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_10" + }, { + "Tuple4": "192.168.122.100:50274-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_11" + }, { + "Tuple4": "192.168.122.100:50275-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_12" + }, { + "Tuple4": "192.168.122.100:50273-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_13" + }, { + "Tuple4": "192.168.122.100:62396-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005], + "l7_label_name": ["SOCKS"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_14" + }, { + "Tuple4": "192.168.122.100:62397-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005], + "l7_label_name": ["SOCKS"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_15" + }, { + "Tuple4": "192.168.122.100:62398-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005], + "l7_label_name": ["SOCKS"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_16" + }, { + "Tuple4": "192.168.122.100:62395-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [45], + "l7_label_name": ["FTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_17" + }, { + "Tuple4": "192.168.122.100:50259-192.168.122.202:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_18" + }, { + "Tuple4": "10.0.0.1:1637-10.0.0.2:21477-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_19" + }, { + "Tuple4": "10.0.0.1:54263-10.0.0.2:8855-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_20" + }, { + "Tuple4": "10.0.0.2:53709-10.0.0.1:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [186], + "l7_label_name": ["SMTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_21" + }, { + "Tuple4": "10.180.156.185:54068-10.180.156.249:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005], + "l7_label_name": ["SOCKS"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_22" + }, { + "Tuple4": "10.180.156.185:54069-10.180.156.249:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005], + "l7_label_name": ["SOCKS"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_23" + }, { + "Tuple4": "10.180.156.185:54072-10.180.156.249:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 67], + "l7_label_name": ["SOCKS", "HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_24" + }, { + "Tuple4": "10.180.156.185:53554-10.180.156.249:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 199], + "l7_label_name": ["SOCKS", "SSL"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_25" + }, { + "Tuple4": "10.180.156.185:53555-10.180.156.249:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 199], + "l7_label_name": ["SOCKS", "SSL"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_26" + }, { + "Tuple4": "10.180.156.185:53556-10.180.156.249:1080-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 199], + "l7_label_name": ["SOCKS", "SSL"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_27" + }, { + "Tuple4": "192.168.122.100:58811-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_28" + }, { + "Tuple4": "ff02::1:2:547-fe80::424:6d4c:9a85:337d:546-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [29], + "l7_label_name": ["DHCP"], + "STREAM_DIR": "S2C", + "name": "APP_PROTO_IDENTIFY_RESULT_29" + }, { + "Tuple4": "192.168.122.100:58117-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_30" + }, { + "Tuple4": "192.168.122.100:50258-184.50.87.123:80-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [67], + "l7_label_name": ["HTTP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_31" + }, { + "Tuple4": "192.168.122.100:52837-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_32" + }, { + "Tuple4": "192.168.122.100:50262-74.125.235.196:443-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": "UNKNOWN", + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_33" + }, { + "Tuple4": "192.168.122.100:57617-8.8.8.8:53-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [32], + "l7_label_name": ["DNS"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_34" + }, { + "Tuple4": "192.168.122.100:138-192.168.122.255:138-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [129], + "l7_label_name": ["NETBIOS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_35" + }, { + "Tuple4": "192.168.122.100:137-192.168.122.255:137-17-0", + "STREAM_TYPE": "UDP", + "l7_label_id": [129], + "l7_label_name": ["NETBIOS"], + "STREAM_DIR": "C2S", + "name": "APP_PROTO_IDENTIFY_RESULT_36" + }, { + "Tuple4": "10.0.0.1:50606-10.0.0.2:9901-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005], + "l7_label_name": ["SOCKS"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_37" + }, { + "Tuple4": "10.0.0.3:2276-10.0.0.2:42356-6-0", + "STREAM_TYPE": "TCP", + "l7_label_id": [8005, 159], + "l7_label_name": ["SOCKS", "RDP"], + "STREAM_DIR": "DOUBLE", + "name": "APP_PROTO_IDENTIFY_RESULT_38" + }] diff --git a/test/glimpse_detector/app_pcap/1-qq_59361.pcap b/test/glimpse_detector/test_pcap/app_pcap/1-qq_59361.pcap similarity index 100% rename from test/glimpse_detector/app_pcap/1-qq_59361.pcap rename to test/glimpse_detector/test_pcap/app_pcap/1-qq_59361.pcap diff --git a/test/glimpse_detector/app_pcap/2-qq_8758.pcap b/test/glimpse_detector/test_pcap/app_pcap/2-qq_8758.pcap similarity index 100% rename from test/glimpse_detector/app_pcap/2-qq_8758.pcap rename to test/glimpse_detector/test_pcap/app_pcap/2-qq_8758.pcap diff --git a/test/glimpse_detector/app_pcap/3-wechat_51876.pcap b/test/glimpse_detector/test_pcap/app_pcap/3-wechat_51876.pcap similarity index 100% rename from test/glimpse_detector/app_pcap/3-wechat_51876.pcap rename to test/glimpse_detector/test_pcap/app_pcap/3-wechat_51876.pcap diff --git a/test/glimpse_detector/app_pcap/4-wechat_8080.pcap b/test/glimpse_detector/test_pcap/app_pcap/4-wechat_8080.pcap similarity index 100% rename from test/glimpse_detector/app_pcap/4-wechat_8080.pcap rename to test/glimpse_detector/test_pcap/app_pcap/4-wechat_8080.pcap diff --git a/test/glimpse_detector/app_pcap/5-wireguard.pcap b/test/glimpse_detector/test_pcap/app_pcap/5-wireguard.pcap similarity index 100% rename from test/glimpse_detector/app_pcap/5-wireguard.pcap rename to test/glimpse_detector/test_pcap/app_pcap/5-wireguard.pcap diff --git a/test/glimpse_detector/app_pcap/6-wireguard1.pcap b/test/glimpse_detector/test_pcap/app_pcap/6-wireguard1.pcap similarity index 100% rename from test/glimpse_detector/app_pcap/6-wireguard1.pcap rename to test/glimpse_detector/test_pcap/app_pcap/6-wireguard1.pcap diff --git a/test/glimpse_detector/app_pcap/7-wireguard2.pcap b/test/glimpse_detector/test_pcap/app_pcap/7-wireguard2.pcap similarity index 100% rename from test/glimpse_detector/app_pcap/7-wireguard2.pcap rename to test/glimpse_detector/test_pcap/app_pcap/7-wireguard2.pcap diff --git a/test/glimpse_detector/dns_pcap/1-dns-tcp-single-53-124.88.175.201-8.8.8.8.pcap b/test/glimpse_detector/test_pcap/dns_pcap/1-dns-tcp-single-53-124.88.175.201-8.8.8.8.pcap similarity index 100% rename from test/glimpse_detector/dns_pcap/1-dns-tcp-single-53-124.88.175.201-8.8.8.8.pcap rename to test/glimpse_detector/test_pcap/dns_pcap/1-dns-tcp-single-53-124.88.175.201-8.8.8.8.pcap diff --git a/test/glimpse_detector/dns_pcap/2-dns-tcp-single-53-60.13.179.249-8.8.8.8.pcap b/test/glimpse_detector/test_pcap/dns_pcap/2-dns-tcp-single-53-60.13.179.249-8.8.8.8.pcap similarity index 100% rename from test/glimpse_detector/dns_pcap/2-dns-tcp-single-53-60.13.179.249-8.8.8.8.pcap rename to test/glimpse_detector/test_pcap/dns_pcap/2-dns-tcp-single-53-60.13.179.249-8.8.8.8.pcap diff --git a/test/glimpse_detector/mixed_pcap/01-http-not-ftp.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/01-http-not-ftp.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/01-http-not-ftp.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/01-http-not-ftp.pcap diff --git a/test/glimpse_detector/mixed_pcap/02-stun-rtcp-rtp-22005-8000-39.144.206.199-117.156.19.31.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/02-stun-rtcp-rtp-22005-8000-39.144.206.199-117.156.19.31.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/02-stun-rtcp-rtp-22005-8000-39.144.206.199-117.156.19.31.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/02-stun-rtcp-rtp-22005-8000-39.144.206.199-117.156.19.31.pcap diff --git a/test/glimpse_detector/mixed_pcap/03-ftp-37923-21121-117.145.115.74-218.31.124.234.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/03-ftp-37923-21121-117.145.115.74-218.31.124.234.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/03-ftp-37923-21121-117.145.115.74-218.31.124.234.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/03-ftp-37923-21121-117.145.115.74-218.31.124.234.pcap diff --git a/test/glimpse_detector/mixed_pcap/04-mail_smtp_port_18867_25.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/04-mail_smtp_port_18867_25.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/04-mail_smtp_port_18867_25.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/04-mail_smtp_port_18867_25.pcap diff --git a/test/glimpse_detector/mixed_pcap/05-ftp_port_21121-double.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/05-ftp_port_21121-double.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/05-ftp_port_21121-double.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/05-ftp_port_21121-double.pcap diff --git a/test/glimpse_detector/mixed_pcap/06-ftp_port_21121-s2c.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/06-ftp_port_21121-s2c.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/06-ftp_port_21121-s2c.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/06-ftp_port_21121-s2c.pcap diff --git a/test/glimpse_detector/mixed_pcap/07-ftp_port_21121-c2s.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/07-ftp_port_21121-c2s.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/07-ftp_port_21121-c2s.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/07-ftp_port_21121-c2s.pcap diff --git a/test/glimpse_detector/mixed_pcap/08-gquic-023-85.117.117.169.47762-173.194.73.95.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/08-gquic-023-85.117.117.169.47762-173.194.73.95.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/08-gquic-023-85.117.117.169.47762-173.194.73.95.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/08-gquic-023-85.117.117.169.47762-173.194.73.95.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/09-gquic-025-85.117.113.98.4340-74.125.131.95.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/09-gquic-025-85.117.113.98.4340-74.125.131.95.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/09-gquic-025-85.117.113.98.4340-74.125.131.95.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/09-gquic-025-85.117.113.98.4340-74.125.131.95.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/10-gquic-033-90.143.189.5.8026-173.194.188.40.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/10-gquic-033-90.143.189.5.8026-173.194.188.40.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/10-gquic-033-90.143.189.5.8026-173.194.188.40.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/10-gquic-033-90.143.189.5.8026-173.194.188.40.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/11-gquic-034-85.117.125.8.21243-173.194.73.102.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/11-gquic-034-85.117.125.8.21243-173.194.73.102.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/11-gquic-034-85.117.125.8.21243-173.194.73.102.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/11-gquic-034-85.117.125.8.21243-173.194.73.102.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/12-gquic-035-redirector.googlevideo.com-85.117.122.194.32370-173.194.220.138.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/12-gquic-035-redirector.googlevideo.com-85.117.122.194.32370-173.194.220.138.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/12-gquic-035-redirector.googlevideo.com-85.117.122.194.32370-173.194.220.138.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/12-gquic-035-redirector.googlevideo.com-85.117.122.194.32370-173.194.220.138.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/13-gquic-037-10.32.121.249.33765-64.233.161.95.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/13-gquic-037-10.32.121.249.33765-64.233.161.95.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/13-gquic-037-10.32.121.249.33765-64.233.161.95.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/13-gquic-037-10.32.121.249.33765-64.233.161.95.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/14-gquic-039-redirector.googlevideo.com-85.117.119.45.22495-173.194.73.101.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/14-gquic-039-redirector.googlevideo.com-85.117.119.45.22495-173.194.73.101.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/14-gquic-039-redirector.googlevideo.com-85.117.119.45.22495-173.194.73.101.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/14-gquic-039-redirector.googlevideo.com-85.117.119.45.22495-173.194.73.101.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/15-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/15-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/15-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/15-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/16-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/16-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/16-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/16-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/17-gquic-044-146.158.67.194.1044-108.177.14.138.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/17-gquic-044-146.158.67.194.1044-108.177.14.138.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/17-gquic-044-146.158.67.194.1044-108.177.14.138.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/17-gquic-044-146.158.67.194.1044-108.177.14.138.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/18-gquic-046-36.142.158.169.16385-36.189.11.71.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/18-gquic-046-36.142.158.169.16385-36.189.11.71.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/18-gquic-046-36.142.158.169.16385-36.189.11.71.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/18-gquic-046-36.142.158.169.16385-36.189.11.71.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/19-gquic-048-103.3.138.59.12521-123.125.116.52.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/19-gquic-048-103.3.138.59.12521-123.125.116.52.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/19-gquic-048-103.3.138.59.12521-123.125.116.52.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/19-gquic-048-103.3.138.59.12521-123.125.116.52.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/20-gquic-050-i.ytimg.com-172.20.9.135.65045-64.233.162.119.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/20-gquic-050-i.ytimg.com-172.20.9.135.65045-64.233.162.119.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/20-gquic-050-i.ytimg.com-172.20.9.135.65045-64.233.162.119.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/20-gquic-050-i.ytimg.com-172.20.9.135.65045-64.233.162.119.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/21-iquic-29-192.168.50.29.61891-31.13.77.35.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/21-iquic-29-192.168.50.29.61891-31.13.77.35.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/21-iquic-29-192.168.50.29.61891-31.13.77.35.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/21-iquic-29-192.168.50.29.61891-31.13.77.35.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/22-mvfst-01-i.instagram.com-192.168.60.9.55659-69.171.250.63.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/22-mvfst-01-i.instagram.com-192.168.60.9.55659-69.171.250.63.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/22-mvfst-01-i.instagram.com-192.168.60.9.55659-69.171.250.63.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/22-mvfst-01-i.instagram.com-192.168.60.9.55659-69.171.250.63.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/23-mvfst-02-192.168.137.141.50006-31.13.77.17.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/23-mvfst-02-192.168.137.141.50006-31.13.77.17.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/23-mvfst-02-192.168.137.141.50006-31.13.77.17.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/23-mvfst-02-192.168.137.141.50006-31.13.77.17.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/23-prox-quic-217.76.77.70.33232-173.194.220.105.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/23-prox-quic-217.76.77.70.33232-173.194.220.105.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/23-prox-quic-217.76.77.70.33232-173.194.220.105.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/23-prox-quic-217.76.77.70.33232-173.194.220.105.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/24-ietf-rfc9000-192.168.60.32.59699-64.233.164.84.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/24-ietf-rfc9000-192.168.60.32.59699-64.233.164.84.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/24-ietf-rfc9000-192.168.60.32.59699-64.233.164.84.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/24-ietf-rfc9000-192.168.60.32.59699-64.233.164.84.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/25-tquic-51-195.12.120.14.41803-173.194.222.101.443.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/25-tquic-51-195.12.120.14.41803-173.194.222.101.443.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/25-tquic-51-195.12.120.14.41803-173.194.222.101.443.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/25-tquic-51-195.12.120.14.41803-173.194.222.101.443.pcap diff --git a/test/glimpse_detector/mixed_pcap/26-smtp-55426-587-10.130.2.104-67.225.241.247.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/26-smtp-55426-587-10.130.2.104-67.225.241.247.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/26-smtp-55426-587-10.130.2.104-67.225.241.247.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/26-smtp-55426-587-10.130.2.104-67.225.241.247.pcap diff --git a/test/glimpse_detector/mixed_pcap/27-pop-54776-110-196.188.12.179-192.185.31.244.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/27-pop-54776-110-196.188.12.179-192.185.31.244.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/27-pop-54776-110-196.188.12.179-192.185.31.244.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/27-pop-54776-110-196.188.12.179-192.185.31.244.pcap diff --git a/test/glimpse_detector/mixed_pcap/28-Bole-IGW-SMTP-57719-26-10.130.13.155-50.87.145.154-2.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/28-Bole-IGW-SMTP-57719-26-10.130.13.155-50.87.145.154-2.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/28-Bole-IGW-SMTP-57719-26-10.130.13.155-50.87.145.154-2.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/28-Bole-IGW-SMTP-57719-26-10.130.13.155-50.87.145.154-2.pcap diff --git a/test/glimpse_detector/mixed_pcap/29-Bole-IGW-SMTP-14636-25-196.189.57.105-68.232.159.216-2.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/29-Bole-IGW-SMTP-14636-25-196.189.57.105-68.232.159.216-2.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/29-Bole-IGW-SMTP-14636-25-196.189.57.105-68.232.159.216-2.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/29-Bole-IGW-SMTP-14636-25-196.189.57.105-68.232.159.216-2.pcap diff --git a/test/glimpse_detector/mixed_pcap/30-Bole-IGW-SMTP-20997-25-196.190.160.6-64.225.54.152.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/30-Bole-IGW-SMTP-20997-25-196.190.160.6-64.225.54.152.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/30-Bole-IGW-SMTP-20997-25-196.190.160.6-64.225.54.152.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/30-Bole-IGW-SMTP-20997-25-196.190.160.6-64.225.54.152.pcap diff --git a/test/glimpse_detector/mixed_pcap/31-Bole-IGW-POP3-50020-110-196.188.3.8-82.98.178.159.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/31-Bole-IGW-POP3-50020-110-196.188.3.8-82.98.178.159.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/31-Bole-IGW-POP3-50020-110-196.188.3.8-82.98.178.159.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/31-Bole-IGW-POP3-50020-110-196.188.3.8-82.98.178.159.pcap diff --git a/test/glimpse_detector/mixed_pcap/32-Bole-IGW-POP3-53357-110-196.189.0.15-39.156.6.106.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/32-Bole-IGW-POP3-53357-110-196.189.0.15-39.156.6.106.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/32-Bole-IGW-POP3-53357-110-196.189.0.15-39.156.6.106.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/32-Bole-IGW-POP3-53357-110-196.189.0.15-39.156.6.106.pcap diff --git a/test/glimpse_detector/mixed_pcap/33-Bole-IGW-IMAP-36734-143-196.189.5.89-101.32.113.90.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/33-Bole-IGW-IMAP-36734-143-196.189.5.89-101.32.113.90.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/33-Bole-IGW-IMAP-36734-143-196.189.5.89-101.32.113.90.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/33-Bole-IGW-IMAP-36734-143-196.189.5.89-101.32.113.90.pcap diff --git a/test/glimpse_detector/mixed_pcap/34-Bole-IGW-IMAP-50415-143-196.188.28.149-69.195.110.51.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/34-Bole-IGW-IMAP-50415-143-196.188.28.149-69.195.110.51.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/34-Bole-IGW-IMAP-50415-143-196.188.28.149-69.195.110.51.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/34-Bole-IGW-IMAP-50415-143-196.188.28.149-69.195.110.51.pcap diff --git a/test/glimpse_detector/mixed_pcap/35-Bole-IGW-SMTP-587-1440-587-196.189.45.189-40.101.92.178.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/35-Bole-IGW-SMTP-587-1440-587-196.189.45.189-40.101.92.178.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/35-Bole-IGW-SMTP-587-1440-587-196.189.45.189-40.101.92.178.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/35-Bole-IGW-SMTP-587-1440-587-196.189.45.189-40.101.92.178.pcap diff --git a/test/glimpse_detector/mixed_pcap/36-Bole-IGW-SMTP-587-37943-587-196.191.120.240-81.19.77.166.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/36-Bole-IGW-SMTP-587-37943-587-196.191.120.240-81.19.77.166.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/36-Bole-IGW-SMTP-587-37943-587-196.191.120.240-81.19.77.166.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/36-Bole-IGW-SMTP-587-37943-587-196.191.120.240-81.19.77.166.pcap diff --git a/test/glimpse_detector/mixed_pcap/37-dns-response-4029-53-115.24.235.11-8.210.152.150.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/37-dns-response-4029-53-115.24.235.11-8.210.152.150.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/37-dns-response-4029-53-115.24.235.11-8.210.152.150.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/37-dns-response-4029-53-115.24.235.11-8.210.152.150.pcap diff --git a/test/glimpse_detector/mixed_pcap/38-stun-dtls.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/38-stun-dtls.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/38-stun-dtls.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/38-stun-dtls.pcap diff --git a/test/glimpse_detector/mixed_pcap/39-pop3-mistake-redis.pcap b/test/glimpse_detector/test_pcap/mixed_pcap/39-pop3-mistake-redis.pcap similarity index 100% rename from test/glimpse_detector/mixed_pcap/39-pop3-mistake-redis.pcap rename to test/glimpse_detector/test_pcap/mixed_pcap/39-pop3-mistake-redis.pcap diff --git a/test/glimpse_detector/openvpn_pcap/01-openvpn-udp-port-1198-first.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/01-openvpn-udp-port-1198-first.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/01-openvpn-udp-port-1198-first.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/01-openvpn-udp-port-1198-first.pcap diff --git a/test/glimpse_detector/openvpn_pcap/02-openvpn-nDPI.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/02-openvpn-nDPI.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/02-openvpn-nDPI.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/02-openvpn-nDPI.pcap diff --git a/test/glimpse_detector/openvpn_pcap/03-openvpn_onestream.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/03-openvpn_onestream.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/03-openvpn_onestream.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/03-openvpn_onestream.pcap diff --git a/test/glimpse_detector/openvpn_pcap/04-openvpn-udp-63111.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/04-openvpn-udp-63111.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/04-openvpn-udp-63111.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/04-openvpn-udp-63111.pcap diff --git a/test/glimpse_detector/openvpn_pcap/05-openvpn-udp-34400.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/05-openvpn-udp-34400.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/05-openvpn-udp-34400.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/05-openvpn-udp-34400.pcap diff --git a/test/glimpse_detector/openvpn_pcap/06-openvpn-udp-40914.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/06-openvpn-udp-40914.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/06-openvpn-udp-40914.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/06-openvpn-udp-40914.pcap diff --git a/test/glimpse_detector/openvpn_pcap/07-openvpn.tcp.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/07-openvpn.tcp.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/07-openvpn.tcp.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/07-openvpn.tcp.pcap diff --git a/test/glimpse_detector/openvpn_pcap/08-ovpntcp_hmac.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/08-ovpntcp_hmac.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/08-ovpntcp_hmac.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/08-ovpntcp_hmac.pcap diff --git a/test/glimpse_detector/openvpn_pcap/09-ovpntcp_nohmac.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/09-ovpntcp_nohmac.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/09-ovpntcp_nohmac.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/09-ovpntcp_nohmac.pcap diff --git a/test/glimpse_detector/openvpn_pcap/10-openvpn-udp-49941.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/10-openvpn-udp-49941.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/10-openvpn-udp-49941.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/10-openvpn-udp-49941.pcap diff --git a/test/glimpse_detector/openvpn_pcap/11-ipv6_openvpn.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/11-ipv6_openvpn.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/11-ipv6_openvpn.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/11-ipv6_openvpn.pcap diff --git a/test/glimpse_detector/openvpn_pcap/12-quic-openvpn.pcap b/test/glimpse_detector/test_pcap/openvpn_pcap/12-quic-openvpn.pcap similarity index 100% rename from test/glimpse_detector/openvpn_pcap/12-quic-openvpn.pcap rename to test/glimpse_detector/test_pcap/openvpn_pcap/12-quic-openvpn.pcap diff --git a/test/glimpse_detector/ppp_pcap/01-l2tp_netbios.pcap b/test/glimpse_detector/test_pcap/ppp_pcap/01-l2tp_netbios.pcap similarity index 100% rename from test/glimpse_detector/ppp_pcap/01-l2tp_netbios.pcap rename to test/glimpse_detector/test_pcap/ppp_pcap/01-l2tp_netbios.pcap diff --git a/test/glimpse_detector/ppp_pcap/02-l2tp-without-l7_protocol-62176-33445-192.168.10.91-220.43.148.189.pcap b/test/glimpse_detector/test_pcap/ppp_pcap/02-l2tp-without-l7_protocol-62176-33445-192.168.10.91-220.43.148.189.pcap similarity index 100% rename from test/glimpse_detector/ppp_pcap/02-l2tp-without-l7_protocol-62176-33445-192.168.10.91-220.43.148.189.pcap rename to test/glimpse_detector/test_pcap/ppp_pcap/02-l2tp-without-l7_protocol-62176-33445-192.168.10.91-220.43.148.189.pcap diff --git a/test/glimpse_detector/ppp_pcap/03-l2tp_http.pcap b/test/glimpse_detector/test_pcap/ppp_pcap/03-l2tp_http.pcap similarity index 100% rename from test/glimpse_detector/ppp_pcap/03-l2tp_http.pcap rename to test/glimpse_detector/test_pcap/ppp_pcap/03-l2tp_http.pcap diff --git a/test/glimpse_detector/ppp_pcap/04-l2tp_ctrl_data_full.pcap b/test/glimpse_detector/test_pcap/ppp_pcap/04-l2tp_ctrl_data_full.pcap similarity index 100% rename from test/glimpse_detector/ppp_pcap/04-l2tp_ctrl_data_full.pcap rename to test/glimpse_detector/test_pcap/ppp_pcap/04-l2tp_ctrl_data_full.pcap diff --git a/test/glimpse_detector/ppp_pcap/05-pptp_encrypt.pcap b/test/glimpse_detector/test_pcap/ppp_pcap/05-pptp_encrypt.pcap similarity index 100% rename from test/glimpse_detector/ppp_pcap/05-pptp_encrypt.pcap rename to test/glimpse_detector/test_pcap/ppp_pcap/05-pptp_encrypt.pcap diff --git a/test/glimpse_detector/ppp_pcap/06-pptp_http.pcap b/test/glimpse_detector/test_pcap/ppp_pcap/06-pptp_http.pcap similarity index 100% rename from test/glimpse_detector/ppp_pcap/06-pptp_http.pcap rename to test/glimpse_detector/test_pcap/ppp_pcap/06-pptp_http.pcap diff --git a/test/glimpse_detector/socks_pcap/1-socks45-http-example.pcap b/test/glimpse_detector/test_pcap/socks_pcap/1-socks45-http-example.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/1-socks45-http-example.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/1-socks45-http-example.pcap diff --git a/test/glimpse_detector/socks_pcap/10-socks5-http-302-frag.pcap b/test/glimpse_detector/test_pcap/socks_pcap/10-socks5-http-302-frag.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/10-socks5-http-302-frag.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/10-socks5-http-302-frag.pcap diff --git a/test/glimpse_detector/socks_pcap/11-socks5-http-302.pcap b/test/glimpse_detector/test_pcap/socks_pcap/11-socks5-http-302.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/11-socks5-http-302.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/11-socks5-http-302.pcap diff --git a/test/glimpse_detector/socks_pcap/12-socks5-rdp.pcap b/test/glimpse_detector/test_pcap/socks_pcap/12-socks5-rdp.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/12-socks5-rdp.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/12-socks5-rdp.pcap diff --git a/test/glimpse_detector/socks_pcap/13-socks5-reverse.pcap b/test/glimpse_detector/test_pcap/socks_pcap/13-socks5-reverse.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/13-socks5-reverse.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/13-socks5-reverse.pcap diff --git a/test/glimpse_detector/socks_pcap/14-socks5-smtp-503.pcap b/test/glimpse_detector/test_pcap/socks_pcap/14-socks5-smtp-503.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/14-socks5-smtp-503.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/14-socks5-smtp-503.pcap diff --git a/test/glimpse_detector/socks_pcap/15-socks-http-pass.pcap b/test/glimpse_detector/test_pcap/socks_pcap/15-socks-http-pass.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/15-socks-http-pass.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/15-socks-http-pass.pcap diff --git a/test/glimpse_detector/socks_pcap/16-socks-https-example.pcap b/test/glimpse_detector/test_pcap/socks_pcap/16-socks-https-example.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/16-socks-https-example.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/16-socks-https-example.pcap diff --git a/test/glimpse_detector/socks_pcap/2-socks5_ftp.pcap b/test/glimpse_detector/test_pcap/socks_pcap/2-socks5_ftp.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/2-socks5_ftp.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/2-socks5_ftp.pcap diff --git a/test/glimpse_detector/socks_pcap/3-POP3_Sock5_subject.pcap b/test/glimpse_detector/test_pcap/socks_pcap/3-POP3_Sock5_subject.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/3-POP3_Sock5_subject.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/3-POP3_Sock5_subject.pcap diff --git a/test/glimpse_detector/socks_pcap/4-SMTP_Sock5_subject.pcap b/test/glimpse_detector/test_pcap/socks_pcap/4-SMTP_Sock5_subject.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/4-SMTP_Sock5_subject.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/4-SMTP_Sock5_subject.pcap diff --git a/test/glimpse_detector/socks_pcap/5-T3-HTTP-URL-SOCKS5.pcap b/test/glimpse_detector/test_pcap/socks_pcap/5-T3-HTTP-URL-SOCKS5.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/5-T3-HTTP-URL-SOCKS5.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/5-T3-HTTP-URL-SOCKS5.pcap diff --git a/test/glimpse_detector/socks_pcap/6-T7-HTTP-CONT-SOCKS5.pcap b/test/glimpse_detector/test_pcap/socks_pcap/6-T7-HTTP-CONT-SOCKS5.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/6-T7-HTTP-CONT-SOCKS5.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/6-T7-HTTP-CONT-SOCKS5.pcap diff --git a/test/glimpse_detector/socks_pcap/7-T86-FTP-URL-PORT-BIN-SOCKS5.pcap b/test/glimpse_detector/test_pcap/socks_pcap/7-T86-FTP-URL-PORT-BIN-SOCKS5.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/7-T86-FTP-URL-PORT-BIN-SOCKS5.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/7-T86-FTP-URL-PORT-BIN-SOCKS5.pcap diff --git a/test/glimpse_detector/socks_pcap/8-socks4_http.pcap b/test/glimpse_detector/test_pcap/socks_pcap/8-socks4_http.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/8-socks4_http.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/8-socks4_http.pcap diff --git a/test/glimpse_detector/socks_pcap/9-socks4-https.pcap b/test/glimpse_detector/test_pcap/socks_pcap/9-socks4-https.pcap similarity index 100% rename from test/glimpse_detector/socks_pcap/9-socks4-https.pcap rename to test/glimpse_detector/test_pcap/socks_pcap/9-socks4-https.pcap diff --git a/test/glimpse_detector/test_result_json/app_pcap.json b/test/glimpse_detector/test_result_json/app_pcap.json deleted file mode 100644 index da783e6..0000000 --- a/test/glimpse_detector/test_result_json/app_pcap.json +++ /dev/null @@ -1,50 +0,0 @@ -[{ - "Tuple4": "192.168.57.168:8758-123.151.78.109:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [156], - "l7_label_name": ["QQ"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_1" - }, { - "Tuple4": "192.168.58.58:51876-175.27.3.209:443-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [1296], - "l7_label_name": ["WeChat"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_2" - }, { - "Tuple4": "192.168.57.168:59361-106.119.174.27:18001-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [156], - "l7_label_name": ["QQ"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_3" - }, { - "Tuple4": "192.168.58.58:57907-119.167.204.98:8080-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [1296], - "l7_label_name": ["WeChat"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_4" - }, { - "Tuple4": "192.168.39.77:62682-81.181.55.9:1337-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [3700], - "l7_label_name": ["WIREGUARD"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_5" - }, { - "Tuple4": "192.168.50.26:56658-209.58.189.105:58237-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [3700], - "l7_label_name": ["WIREGUARD"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_6" - }, { - "Tuple4": "196.188.136.150:20620-51.77.200.55:51820-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [3700], - "l7_label_name": ["WIREGUARD"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_7" - }] diff --git a/test/glimpse_detector/test_result_json/dns_pcap.json b/test/glimpse_detector/test_result_json/dns_pcap.json deleted file mode 100644 index f993cdc..0000000 --- a/test/glimpse_detector/test_result_json/dns_pcap.json +++ /dev/null @@ -1,402 +0,0 @@ -[{ - "Tuple4": "124.88.175.201:17997-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_1" - }, { - "Tuple4": "124.88.175.201:18014-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_2" - }, { - "Tuple4": "124.88.175.201:18081-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_3" - }, { - "Tuple4": "124.88.175.201:18082-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_4" - }, { - "Tuple4": "124.88.175.201:18091-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_5" - }, { - "Tuple4": "124.88.175.201:18088-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_6" - }, { - "Tuple4": "124.88.175.201:18103-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_7" - }, { - "Tuple4": "124.88.175.201:18126-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_8" - }, { - "Tuple4": "124.88.175.201:18136-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_9" - }, { - "Tuple4": "124.88.175.201:18142-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_10" - }, { - "Tuple4": "124.88.175.201:18210-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_11" - }, { - "Tuple4": "124.88.175.201:18215-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_12" - }, { - "Tuple4": "124.88.175.201:18219-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_13" - }, { - "Tuple4": "124.88.175.201:18223-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_14" - }, { - "Tuple4": "124.88.175.201:18236-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_15" - }, { - "Tuple4": "124.88.175.201:18239-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_16" - }, { - "Tuple4": "124.88.175.201:18242-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_17" - }, { - "Tuple4": "124.88.175.201:18256-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_18" - }, { - "Tuple4": "124.88.175.201:18266-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_19" - }, { - "Tuple4": "124.88.175.201:18336-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_20" - }, { - "Tuple4": "124.88.175.201:18345-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_21" - }, { - "Tuple4": "124.88.175.201:18347-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_22" - }, { - "Tuple4": "124.88.175.201:18351-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_23" - }, { - "Tuple4": "124.88.175.201:18354-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_24" - }, { - "Tuple4": "124.88.175.201:18358-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_25" - }, { - "Tuple4": "124.88.175.201:18360-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_26" - }, { - "Tuple4": "60.13.179.249:38470-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_27" - }, { - "Tuple4": "60.13.179.249:38594-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_28" - }, { - "Tuple4": "60.13.179.249:38608-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_29" - }, { - "Tuple4": "60.13.179.249:38624-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_30" - }, { - "Tuple4": "60.13.179.249:38712-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_31" - }, { - "Tuple4": "60.13.179.249:38692-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_32" - }, { - "Tuple4": "60.13.179.249:38694-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_33" - }, { - "Tuple4": "60.13.179.249:38886-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_34" - }, { - "Tuple4": "60.13.179.249:38904-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_35" - }, { - "Tuple4": "60.13.179.249:38912-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_36" - }, { - "Tuple4": "60.13.179.249:38960-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_37" - }, { - "Tuple4": "60.13.179.249:38976-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_38" - }, { - "Tuple4": "60.13.179.249:38972-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_39" - }, { - "Tuple4": "60.13.179.249:39016-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_40" - }, { - "Tuple4": "60.13.179.249:38978-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_41" - }, { - "Tuple4": "60.13.179.249:39000-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_42" - }, { - "Tuple4": "60.13.179.249:39052-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_43" - }, { - "Tuple4": "60.13.179.249:39082-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_44" - }, { - "Tuple4": "60.13.179.249:39120-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_45" - }, { - "Tuple4": "60.13.179.249:39114-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_46" - }, { - "Tuple4": "60.13.179.249:39176-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_47" - }, { - "Tuple4": "60.13.179.249:39186-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_48" - }, { - "Tuple4": "60.13.179.249:39216-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_49" - }, { - "Tuple4": "60.13.179.249:39246-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_50" - }, { - "Tuple4": "60.13.179.249:39268-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_51" - }, { - "Tuple4": "60.13.179.249:26834-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_52" - }, { - "Tuple4": "124.88.175.201:18095-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_53" - }, { - "Tuple4": "60.13.195.137:41008-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_54" - }, { - "Tuple4": "124.88.175.201:18111-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_55" - }, { - "Tuple4": "60.13.179.249:26633-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_56" - }, { - "Tuple4": "60.13.179.249:26709-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_57" - }, { - "Tuple4": "60.13.179.249:37897-8.8.8.8:53-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_58" - }] diff --git a/test/glimpse_detector/test_result_json/ppp_pcap.json b/test/glimpse_detector/test_result_json/ppp_pcap.json deleted file mode 100644 index e1bcde0..0000000 --- a/test/glimpse_detector/test_result_json/ppp_pcap.json +++ /dev/null @@ -1,826 +0,0 @@ -[{ - "Tuple4": "192.168.10.91:62176-220.249.244.23:33445-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_1" - }, { - "Tuple4": "172.16.2.100:49247-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_2" - }, { - "Tuple4": "172.16.2.100:49245-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_3" - }, { - "Tuple4": "172.16.2.100:49252-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_4" - }, { - "Tuple4": "172.16.2.100:49255-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_5" - }, { - "Tuple4": "172.16.2.100:49248-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_6" - }, { - "Tuple4": "172.16.2.100:49254-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_7" - }, { - "Tuple4": "172.16.2.100:49259-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_8" - }, { - "Tuple4": "172.16.0.100:50112-172.16.0.254:1723-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [153], - "l7_label_name": ["PPTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_9" - }, { - "Tuple4": "172.16.2.100:50072-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_10" - }, { - "Tuple4": "172.16.2.100:49250-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_11" - }, { - "Tuple4": "172.16.0.100:500-172.16.0.254:500-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [92], - "l7_label_name": ["ISAKMP"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_12" - }, { - "Tuple4": "172.16.2.100:63747-224.0.0.252:5355-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_13" - }, { - "Tuple4": "172.16.2.100:65012-224.0.0.252:5355-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_14" - }, { - "Tuple4": "172.16.2.100:68-255.255.255.255:67-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_15" - }, { - "Tuple4": "172.16.2.100:63917-224.0.0.252:5355-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_16" - }, { - "Tuple4": "172.16.2.100:50147-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_17" - }, { - "Tuple4": "172.16.2.100:50866-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_18" - }, { - "Tuple4": "172.16.2.100:57084-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_19" - }, { - "Tuple4": "172.16.2.100:138-255.255.255.255:138-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [129], - "l7_label_name": ["NETBIOS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_20" - }, { - "Tuple4": "172.16.2.100:51103-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_21" - }, { - "Tuple4": "172.16.2.100:53831-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_22" - }, { - "Tuple4": "172.16.2.100:52460-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_23" - }, { - "Tuple4": "172.16.2.100:50497-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_24" - }, { - "Tuple4": "172.16.2.100:50233-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_25" - }, { - "Tuple4": "172.16.2.100:64355-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_26" - }, { - "Tuple4": "172.16.2.100:50648-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_27" - }, { - "Tuple4": "172.16.2.100:52851-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_28" - }, { - "Tuple4": "172.16.2.100:58476-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_29" - }, { - "Tuple4": "172.16.2.100:50897-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_30" - }, { - "Tuple4": "172.16.2.100:65380-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_31" - }, { - "Tuple4": "172.16.2.100:58422-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_32" - }, { - "Tuple4": "172.16.2.100:64882-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_33" - }, { - "Tuple4": "172.16.2.100:51787-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_34" - }, { - "Tuple4": "172.16.2.100:59393-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_35" - }, { - "Tuple4": "172.16.2.100:52783-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_36" - }, { - "Tuple4": "172.16.2.100:55755-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_37" - }, { - "Tuple4": "172.16.2.100:60213-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_38" - }, { - "Tuple4": "172.16.2.100:64847-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_39" - }, { - "Tuple4": "172.16.2.100:64115-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_40" - }, { - "Tuple4": "172.16.2.100:57554-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_41" - }, { - "Tuple4": "172.16.2.100:49969-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_42" - }, { - "Tuple4": "172.16.2.100:57553-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_43" - }, { - "Tuple4": "172.16.2.100:58185-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_44" - }, { - "Tuple4": "172.16.2.100:60349-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_45" - }, { - "Tuple4": "172.16.2.100:62337-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_46" - }, { - "Tuple4": "172.16.2.100:64382-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_47" - }, { - "Tuple4": "172.16.2.100:62694-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_48" - }, { - "Tuple4": "172.16.2.100:64915-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_49" - }, { - "Tuple4": "172.16.2.100:50578-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_50" - }, { - "Tuple4": "172.16.2.100:56971-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_51" - }, { - "Tuple4": "172.16.2.100:62721-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_52" - }, { - "Tuple4": "172.16.2.100:50655-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_53" - }, { - "Tuple4": "172.16.2.100:54363-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_54" - }, { - "Tuple4": "172.16.2.100:53796-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_55" - }, { - "Tuple4": "172.16.2.100:59348-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_56" - }, { - "Tuple4": "172.16.2.100:49686-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_57" - }, { - "Tuple4": "172.16.2.100:50273-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_58" - }, { - "Tuple4": "172.16.2.100:63738-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_59" - }, { - "Tuple4": "172.16.2.100:62490-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_60" - }, { - "Tuple4": "172.16.2.100:61200-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_61" - }, { - "Tuple4": "172.16.2.100:64138-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_62" - }, { - "Tuple4": "172.16.2.100:64736-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_63" - }, { - "Tuple4": "172.16.2.100:54188-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_64" - }, { - "Tuple4": "172.16.2.100:59408-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_65" - }, { - "Tuple4": "172.16.2.100:49446-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_66" - }, { - "Tuple4": "172.16.2.100:58556-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_67" - }, { - "Tuple4": "172.16.2.100:52129-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_68" - }, { - "Tuple4": "172.16.2.100:50258-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_69" - }, { - "Tuple4": "172.16.2.100:51697-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_70" - }, { - "Tuple4": "172.16.2.100:58428-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_71" - }, { - "Tuple4": "172.16.2.100:51307-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_72" - }, { - "Tuple4": "172.16.2.100:55973-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_73" - }, { - "Tuple4": "172.16.2.100:53758-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_74" - }, { - "Tuple4": "172.16.2.100:62140-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_75" - }, { - "Tuple4": "172.16.2.100:63652-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_76" - }, { - "Tuple4": "172.16.2.100:60777-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_77" - }, { - "Tuple4": "172.16.2.100:49246-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_78" - }, { - "Tuple4": "172.16.2.100:56967-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_79" - }, { - "Tuple4": "172.16.2.100:60549-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_80" - }, { - "Tuple4": "172.16.2.100:49621-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_81" - }, { - "Tuple4": "172.16.2.100:49257-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_82" - }, { - "Tuple4": "172.16.2.100:65424-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_83" - }, { - "Tuple4": "172.16.2.100:49249-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_84" - }, { - "Tuple4": "172.16.2.100:49256-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_85" - }, { - "Tuple4": "172.16.2.100:61044-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_86" - }, { - "Tuple4": "172.16.2.100:55106-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_87" - }, { - "Tuple4": "172.16.2.100:62335-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_88" - }, { - "Tuple4": "172.16.2.100:54356-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_89" - }, { - "Tuple4": "172.16.2.100:51628-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_90" - }, { - "Tuple4": "172.16.2.100:50188-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_91" - }, { - "Tuple4": "172.16.2.100:57198-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_92" - }, { - "Tuple4": "172.16.2.100:57310-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_93" - }, { - "Tuple4": "172.16.2.100:49258-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_94" - }, { - "Tuple4": "172.16.2.100:63697-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_95" - }, { - "Tuple4": "172.16.2.100:50244-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_96" - }, { - "Tuple4": "172.16.2.100:57229-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_97" - }, { - "Tuple4": "172.16.2.100:62401-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_98" - }, { - "Tuple4": "172.16.2.100:58807-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_99" - }, { - "Tuple4": "172.16.2.100:49264-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_100" - }, { - "Tuple4": "172.16.2.100:49261-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_101" - }, { - "Tuple4": "172.16.2.100:49253-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_102" - }, { - "Tuple4": "172.16.2.100:50564-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_103" - }, { - "Tuple4": "172.16.2.100:49263-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_104" - }, { - "Tuple4": "172.16.2.100:49251-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_105" - }, { - "Tuple4": "172.16.2.100:49265-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_106" - }, { - "Tuple4": "172.16.2.100:60282-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_107" - }, { - "Tuple4": "172.16.2.100:58248-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_108" - }, { - "Tuple4": "172.16.2.100:53188-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_109" - }, { - "Tuple4": "172.16.2.100:53483-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_110" - }, { - "Tuple4": "172.16.2.100:49260-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_111" - }, { - "Tuple4": "172.16.2.100:51121-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_112" - }, { - "Tuple4": "172.16.2.100:52562-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_113" - }, { - "Tuple4": "172.16.2.100:49262-10.0.6.229:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_114" - }, { - "Tuple4": "172.16.2.100:51048-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_115" - }, { - "Tuple4": "172.16.2.100:51806-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_116" - }, { - "Tuple4": "172.16.2.100:137-255.255.255.255:137-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [129], - "l7_label_name": ["NETBIOS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_117" - }, { - "Tuple4": "172.16.2.100:60348-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_118" - }, { - "Tuple4": "172.16.0.100:1701-172.16.0.254:1701-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [158], - "l7_label_name": ["RADIUS"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_119" - }] diff --git a/test/glimpse_detector/test_result_json/socks_pcap.json b/test/glimpse_detector/test_result_json/socks_pcap.json deleted file mode 100644 index c91367e..0000000 --- a/test/glimpse_detector/test_result_json/socks_pcap.json +++ /dev/null @@ -1,266 +0,0 @@ -[{ - "Tuple4": "10.0.0.1:1637-10.0.0.2:21477-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_1" - }, { - "Tuple4": "192.168.122.100:62395-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 45], - "l7_label_name": ["SOCKS", "FTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_2" - }, { - "Tuple4": "192.168.122.100:50259-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_3" - }, { - "Tuple4": "10.180.156.185:53533-10.180.156.249:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_4" - }, { - "Tuple4": "10.180.156.185:53534-10.180.156.249:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_5" - }, { - "Tuple4": "10.180.156.185:53535-10.180.156.249:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_6" - }, { - "Tuple4": "10.0.0.1:1637-10.0.0.2:21477-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_7" - }, { - "Tuple4": "10.0.0.1:54263-10.0.0.2:8855-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_8" - }, { - "Tuple4": "10.0.0.2:53709-10.0.0.1:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [186], - "l7_label_name": ["SMTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_9" - }, { - "Tuple4": "10.180.156.185:54068-10.180.156.249:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005], - "l7_label_name": ["SOCKS"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_10" - }, { - "Tuple4": "10.180.156.185:54069-10.180.156.249:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005], - "l7_label_name": ["SOCKS"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_11" - }, { - "Tuple4": "10.180.156.185:54072-10.180.156.249:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_12" - }, { - "Tuple4": "10.180.156.185:53554-10.180.156.249:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 199], - "l7_label_name": ["SOCKS", "SSL"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_13" - }, { - "Tuple4": "10.180.156.185:53555-10.180.156.249:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 199], - "l7_label_name": ["SOCKS", "SSL"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_14" - }, { - "Tuple4": "10.180.156.185:53556-10.180.156.249:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 199], - "l7_label_name": ["SOCKS", "SSL"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_15" - }, { - "Tuple4": "10.10.9.37:1063-100.100.9.37:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 147], - "l7_label_name": ["SOCKS", "POP3"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_16" - }, { - "Tuple4": "10.10.10.38:1061-100.100.10.38:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 186], - "l7_label_name": ["SOCKS", "SMTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_17" - }, { - "Tuple4": "192.168.122.100:50260-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_18" - }, { - "Tuple4": "192.168.122.100:50261-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_19" - }, { - "Tuple4": "192.168.122.100:50274-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_20" - }, { - "Tuple4": "192.168.122.100:50275-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_21" - }, { - "Tuple4": "192.168.122.100:50273-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 67], - "l7_label_name": ["SOCKS", "HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_22" - }, { - "Tuple4": "192.168.122.100:62396-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005], - "l7_label_name": ["SOCKS"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_23" - }, { - "Tuple4": "192.168.122.100:62397-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005], - "l7_label_name": ["SOCKS"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_24" - }, { - "Tuple4": "192.168.122.100:62398-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005], - "l7_label_name": ["SOCKS"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_25" - }, { - "Tuple4": "192.168.122.100:62395-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [45], - "l7_label_name": ["FTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_26" - }, { - "Tuple4": "192.168.122.100:50259-192.168.122.202:1080-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_27" - }, { - "Tuple4": "10.0.0.3:2276-10.0.0.2:42356-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005, 159], - "l7_label_name": ["SOCKS", "RDP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_28" - }, { - "Tuple4": "192.168.122.100:58811-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_29" - }, { - "Tuple4": "fe80::424:6d4c:9a85:337d:546-ff02::1:2:547-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [29], - "l7_label_name": ["DHCP"], - "STREAM_DIR": "S2C", - "name": "APP_PROTO_IDENTIFY_RESULT_30" - }, { - "Tuple4": "192.168.122.100:58117-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_31" - }, { - "Tuple4": "192.168.122.100:50258-184.50.87.123:80-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [67], - "l7_label_name": ["HTTP"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_32" - }, { - "Tuple4": "192.168.122.100:52837-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_33" - }, { - "Tuple4": "192.168.122.100:50262-74.125.235.196:443-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": "UNKNOWN", - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_34" - }, { - "Tuple4": "192.168.122.100:57617-8.8.8.8:53-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [32], - "l7_label_name": ["DNS"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_35" - }, { - "Tuple4": "192.168.122.100:138-192.168.122.255:138-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [129], - "l7_label_name": ["NETBIOS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_36" - }, { - "Tuple4": "192.168.122.100:137-192.168.122.255:137-17-0", - "STREAM_TYPE": "UDP", - "l7_label_id": [129], - "l7_label_name": ["NETBIOS"], - "STREAM_DIR": "C2S", - "name": "APP_PROTO_IDENTIFY_RESULT_37" - }, { - "Tuple4": "10.0.0.1:50606-10.0.0.2:9901-6-0", - "STREAM_TYPE": "TCP", - "l7_label_id": [8005], - "l7_label_name": ["SOCKS"], - "STREAM_DIR": "DOUBLE", - "name": "APP_PROTO_IDENTIFY_RESULT_38" - }]