summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-08-28 20:45:57 +0800
committeryangwei <[email protected]>2024-08-29 15:43:04 +0800
commit2f586a456b2ddc10a4b9b2fdad5dc5e335297125 (patch)
tree002583423acbdae0dbdef139255fa40bf801de72 /test
parentb2647a5a75f3965b53645a66944e21744b0ff3de (diff)
🦄 refactor(decoder glimpse detector): rename to lpi plugin
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt2
-rw-r--r--test/glimpse_detector/test_config/spec.toml11
-rw-r--r--test/lpi_plugin/CMakeLists.txt (renamed from test/glimpse_detector/CMakeLists.txt)45
-rw-r--r--test/lpi_plugin/gtest_lpi_main.cpp (renamed from test/glimpse_detector/gtest_glimpse_detector_main.cpp)0
-rw-r--r--test/lpi_plugin/gtest_lpi_plugin.cpp (renamed from test/glimpse_detector/gtest_glimpse_detector_plugin.cpp)48
-rw-r--r--test/lpi_plugin/test_config/spec.toml11
-rw-r--r--test/lpi_plugin/test_config/tsg_l7_protocol.conf (renamed from test/glimpse_detector/test_config/tsg_l7_protocol.conf)0
-rw-r--r--test/lpi_plugin/test_expect/app_pcap.json (renamed from test/glimpse_detector/test_expect/app_pcap.json)0
-rw-r--r--test/lpi_plugin/test_expect/dns_pcap.json (renamed from test/glimpse_detector/test_expect/dns_pcap.json)0
-rw-r--r--test/lpi_plugin/test_expect/empty_array.json (renamed from test/glimpse_detector/test_expect/empty_array.json)0
-rw-r--r--test/lpi_plugin/test_expect/mixed_pcap.json (renamed from test/glimpse_detector/test_expect/mixed_pcap.json)0
-rw-r--r--test/lpi_plugin/test_expect/openvpn_pcap.json (renamed from test/glimpse_detector/test_expect/openvpn_pcap.json)0
-rw-r--r--test/lpi_plugin/test_expect/ppp_pcap.json (renamed from test/glimpse_detector/test_expect/ppp_pcap.json)0
-rw-r--r--test/lpi_plugin/test_expect/socks_pcap.json (renamed from test/glimpse_detector/test_expect/socks_pcap.json)0
-rw-r--r--test/lpi_plugin/test_pcap/app_pcap/1-qq_59361.pcap (renamed from test/glimpse_detector/test_pcap/app_pcap/1-qq_59361.pcap)bin789454 -> 789454 bytes
-rw-r--r--test/lpi_plugin/test_pcap/app_pcap/2-qq_8758.pcap (renamed from test/glimpse_detector/test_pcap/app_pcap/2-qq_8758.pcap)bin1042 -> 1042 bytes
-rw-r--r--test/lpi_plugin/test_pcap/app_pcap/3-wechat_51876.pcap (renamed from test/glimpse_detector/test_pcap/app_pcap/3-wechat_51876.pcap)bin1213414 -> 1213414 bytes
-rw-r--r--test/lpi_plugin/test_pcap/app_pcap/4-wechat_8080.pcap (renamed from test/glimpse_detector/test_pcap/app_pcap/4-wechat_8080.pcap)bin25566 -> 25566 bytes
-rw-r--r--test/lpi_plugin/test_pcap/app_pcap/5-wireguard.pcap (renamed from test/glimpse_detector/test_pcap/app_pcap/5-wireguard.pcap)bin38948 -> 38948 bytes
-rw-r--r--test/lpi_plugin/test_pcap/app_pcap/6-wireguard1.pcap (renamed from test/glimpse_detector/test_pcap/app_pcap/6-wireguard1.pcap)bin41484 -> 41484 bytes
-rw-r--r--test/lpi_plugin/test_pcap/app_pcap/7-wireguard2.pcap (renamed from test/glimpse_detector/test_pcap/app_pcap/7-wireguard2.pcap)bin1740 -> 1740 bytes
-rw-r--r--test/lpi_plugin/test_pcap/dns_pcap/1-dns-tcp-single-53-124.88.175.201-8.8.8.8.pcap (renamed from test/glimpse_detector/test_pcap/dns_pcap/1-dns-tcp-single-53-124.88.175.201-8.8.8.8.pcap)bin22503 -> 22503 bytes
-rw-r--r--test/lpi_plugin/test_pcap/dns_pcap/2-dns-tcp-single-53-60.13.179.249-8.8.8.8.pcap (renamed from test/glimpse_detector/test_pcap/dns_pcap/2-dns-tcp-single-53-60.13.179.249-8.8.8.8.pcap)bin17860 -> 17860 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/01-http-not-ftp.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/01-http-not-ftp.pcap)bin14400 -> 14400 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/02-stun-rtcp-rtp-22005-8000-39.144.206.199-117.156.19.31.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/02-stun-rtcp-rtp-22005-8000-39.144.206.199-117.156.19.31.pcap)bin19726479 -> 19726479 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/03-ftp-37923-21121-117.145.115.74-218.31.124.234.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/03-ftp-37923-21121-117.145.115.74-218.31.124.234.pcap)bin592 -> 592 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/04-mail_smtp_port_18867_25.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/04-mail_smtp_port_18867_25.pcap)bin1618 -> 1618 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/05-ftp_port_21121-double.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/05-ftp_port_21121-double.pcap)bin1142 -> 1142 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/06-ftp_port_21121-s2c.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/06-ftp_port_21121-s2c.pcap)bin574 -> 574 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/07-ftp_port_21121-c2s.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/07-ftp_port_21121-c2s.pcap)bin592 -> 592 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/08-gquic-023-85.117.117.169.47762-173.194.73.95.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/08-gquic-023-85.117.117.169.47762-173.194.73.95.443.pcap)bin1647 -> 1647 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/09-gquic-025-85.117.113.98.4340-74.125.131.95.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/09-gquic-025-85.117.113.98.4340-74.125.131.95.443.pcap)bin3142 -> 3142 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/10-gquic-033-90.143.189.5.8026-173.194.188.40.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/10-gquic-033-90.143.189.5.8026-173.194.188.40.443.pcap)bin3143 -> 3143 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/11-gquic-034-85.117.125.8.21243-173.194.73.102.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/11-gquic-034-85.117.125.8.21243-173.194.73.102.443.pcap)bin3141 -> 3141 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/12-gquic-035-redirector.googlevideo.com-85.117.122.194.32370-173.194.220.138.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/12-gquic-035-redirector.googlevideo.com-85.117.122.194.32370-173.194.220.138.443.pcap)bin7537 -> 7537 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/13-gquic-037-10.32.121.249.33765-64.233.161.95.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/13-gquic-037-10.32.121.249.33765-64.233.161.95.443.pcap)bin1996 -> 1996 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/14-gquic-039-redirector.googlevideo.com-85.117.119.45.22495-173.194.73.101.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/14-gquic-039-redirector.googlevideo.com-85.117.119.45.22495-173.194.73.101.443.pcap)bin10833 -> 10833 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/15-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/15-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap)bin3205 -> 3205 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/16-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/16-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap)bin4256 -> 4256 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/17-gquic-044-146.158.67.194.1044-108.177.14.138.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/17-gquic-044-146.158.67.194.1044-108.177.14.138.443.pcap)bin6804 -> 6804 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/18-gquic-046-36.142.158.169.16385-36.189.11.71.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/18-gquic-046-36.142.158.169.16385-36.189.11.71.443.pcap)bin704270 -> 704270 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/19-gquic-048-103.3.138.59.12521-123.125.116.52.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/19-gquic-048-103.3.138.59.12521-123.125.116.52.443.pcap)bin14097 -> 14097 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/20-gquic-050-i.ytimg.com-172.20.9.135.65045-64.233.162.119.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/20-gquic-050-i.ytimg.com-172.20.9.135.65045-64.233.162.119.443.pcap)bin2050587 -> 2050587 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/21-iquic-29-192.168.50.29.61891-31.13.77.35.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/21-iquic-29-192.168.50.29.61891-31.13.77.35.443.pcap)bin73949 -> 73949 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/22-mvfst-01-i.instagram.com-192.168.60.9.55659-69.171.250.63.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/22-mvfst-01-i.instagram.com-192.168.60.9.55659-69.171.250.63.443.pcap)bin49232 -> 49232 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/23-mvfst-02-192.168.137.141.50006-31.13.77.17.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/23-mvfst-02-192.168.137.141.50006-31.13.77.17.443.pcap)bin777583 -> 777583 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/23-prox-quic-217.76.77.70.33232-173.194.220.105.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/23-prox-quic-217.76.77.70.33232-173.194.220.105.443.pcap)bin7783 -> 7783 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/24-ietf-rfc9000-192.168.60.32.59699-64.233.164.84.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/24-ietf-rfc9000-192.168.60.32.59699-64.233.164.84.443.pcap)bin18421 -> 18421 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/25-tquic-51-195.12.120.14.41803-173.194.222.101.443.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/25-tquic-51-195.12.120.14.41803-173.194.222.101.443.pcap)bin38915 -> 38915 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/26-smtp-55426-587-10.130.2.104-67.225.241.247.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/26-smtp-55426-587-10.130.2.104-67.225.241.247.pcap)bin15075 -> 15075 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/27-pop-54776-110-196.188.12.179-192.185.31.244.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/27-pop-54776-110-196.188.12.179-192.185.31.244.pcap)bin2866 -> 2866 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/28-Bole-IGW-SMTP-57719-26-10.130.13.155-50.87.145.154-2.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/28-Bole-IGW-SMTP-57719-26-10.130.13.155-50.87.145.154-2.pcap)bin892 -> 892 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/29-Bole-IGW-SMTP-14636-25-196.189.57.105-68.232.159.216-2.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/29-Bole-IGW-SMTP-14636-25-196.189.57.105-68.232.159.216-2.pcap)bin791 -> 791 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/30-Bole-IGW-SMTP-20997-25-196.190.160.6-64.225.54.152.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/30-Bole-IGW-SMTP-20997-25-196.190.160.6-64.225.54.152.pcap)bin910 -> 910 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/31-Bole-IGW-POP3-50020-110-196.188.3.8-82.98.178.159.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/31-Bole-IGW-POP3-50020-110-196.188.3.8-82.98.178.159.pcap)bin1435 -> 1435 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/32-Bole-IGW-POP3-53357-110-196.189.0.15-39.156.6.106.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/32-Bole-IGW-POP3-53357-110-196.189.0.15-39.156.6.106.pcap)bin1094 -> 1094 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/33-Bole-IGW-IMAP-36734-143-196.189.5.89-101.32.113.90.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/33-Bole-IGW-IMAP-36734-143-196.189.5.89-101.32.113.90.pcap)bin713 -> 713 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/34-Bole-IGW-IMAP-50415-143-196.188.28.149-69.195.110.51.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/34-Bole-IGW-IMAP-50415-143-196.188.28.149-69.195.110.51.pcap)bin5029 -> 5029 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/35-Bole-IGW-SMTP-587-1440-587-196.189.45.189-40.101.92.178.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/35-Bole-IGW-SMTP-587-1440-587-196.189.45.189-40.101.92.178.pcap)bin1034 -> 1034 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/36-Bole-IGW-SMTP-587-37943-587-196.191.120.240-81.19.77.166.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/36-Bole-IGW-SMTP-587-37943-587-196.191.120.240-81.19.77.166.pcap)bin796 -> 796 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/37-dns-response-4029-53-115.24.235.11-8.210.152.150.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/37-dns-response-4029-53-115.24.235.11-8.210.152.150.pcap)bin1472 -> 1472 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/38-stun-dtls.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/38-stun-dtls.pcap)bin461565 -> 461565 bytes
-rw-r--r--test/lpi_plugin/test_pcap/mixed_pcap/39-pop3-mistake-redis.pcap (renamed from test/glimpse_detector/test_pcap/mixed_pcap/39-pop3-mistake-redis.pcap)bin921 -> 921 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/01-openvpn-udp-port-1198-first.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/01-openvpn-udp-port-1198-first.pcap)bin264 -> 264 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/02-openvpn-nDPI.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/02-openvpn-nDPI.pcap)bin61903 -> 61903 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/03-openvpn_onestream.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/03-openvpn_onestream.pcap)bin18456 -> 18456 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/04-openvpn-udp-63111.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/04-openvpn-udp-63111.pcap)bin30590 -> 30590 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/05-openvpn-udp-34400.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/05-openvpn-udp-34400.pcap)bin18456 -> 18456 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/06-openvpn-udp-40914.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/06-openvpn-udp-40914.pcap)bin3284 -> 3284 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/07-openvpn.tcp.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/07-openvpn.tcp.pcap)bin22820 -> 22820 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/08-ovpntcp_hmac.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/08-ovpntcp_hmac.pcap)bin18708 -> 18708 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/09-ovpntcp_nohmac.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/09-ovpntcp_nohmac.pcap)bin17556 -> 17556 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/10-openvpn-udp-49941.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/10-openvpn-udp-49941.pcap)bin81387 -> 81387 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/11-ipv6_openvpn.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/11-ipv6_openvpn.pcap)bin2196924 -> 2196924 bytes
-rw-r--r--test/lpi_plugin/test_pcap/openvpn_pcap/12-quic-openvpn.pcap (renamed from test/glimpse_detector/test_pcap/openvpn_pcap/12-quic-openvpn.pcap)bin1066308 -> 1066308 bytes
-rw-r--r--test/lpi_plugin/test_pcap/ppp_pcap/01-l2tp_netbios.pcap (renamed from test/glimpse_detector/test_pcap/ppp_pcap/01-l2tp_netbios.pcap)bin23328 -> 23328 bytes
-rwxr-xr-xtest/lpi_plugin/test_pcap/ppp_pcap/02-l2tp-without-l7_protocol-62176-33445-192.168.10.91-220.43.148.189.pcap (renamed from test/glimpse_detector/test_pcap/ppp_pcap/02-l2tp-without-l7_protocol-62176-33445-192.168.10.91-220.43.148.189.pcap)bin1759 -> 1759 bytes
-rwxr-xr-xtest/lpi_plugin/test_pcap/ppp_pcap/03-l2tp_http.pcap (renamed from test/glimpse_detector/test_pcap/ppp_pcap/03-l2tp_http.pcap)bin26747 -> 26747 bytes
-rwxr-xr-xtest/lpi_plugin/test_pcap/ppp_pcap/04-l2tp_ctrl_data_full.pcap (renamed from test/glimpse_detector/test_pcap/ppp_pcap/04-l2tp_ctrl_data_full.pcap)bin570920 -> 570920 bytes
-rwxr-xr-xtest/lpi_plugin/test_pcap/ppp_pcap/05-pptp_encrypt.pcap (renamed from test/glimpse_detector/test_pcap/ppp_pcap/05-pptp_encrypt.pcap)bin110342 -> 110342 bytes
-rwxr-xr-xtest/lpi_plugin/test_pcap/ppp_pcap/06-pptp_http.pcap (renamed from test/glimpse_detector/test_pcap/ppp_pcap/06-pptp_http.pcap)bin7890 -> 7890 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/1-socks45-http-example.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/1-socks45-http-example.pcap)bin9143 -> 9143 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/10-socks5-http-302-frag.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/10-socks5-http-302-frag.pcap)bin5281 -> 5281 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/11-socks5-http-302.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/11-socks5-http-302.pcap)bin2424 -> 2424 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/12-socks5-rdp.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/12-socks5-rdp.pcap)bin852 -> 852 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/13-socks5-reverse.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/13-socks5-reverse.pcap)bin28167 -> 28167 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/14-socks5-smtp-503.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/14-socks5-smtp-503.pcap)bin1836 -> 1836 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/15-socks-http-pass.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/15-socks-http-pass.pcap)bin5593 -> 5593 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/16-socks-https-example.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/16-socks-https-example.pcap)bin34470 -> 34470 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/2-socks5_ftp.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/2-socks5_ftp.pcap)bin5500 -> 5500 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/3-POP3_Sock5_subject.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/3-POP3_Sock5_subject.pcap)bin22195 -> 22195 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/4-SMTP_Sock5_subject.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/4-SMTP_Sock5_subject.pcap)bin20443 -> 20443 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/5-T3-HTTP-URL-SOCKS5.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/5-T3-HTTP-URL-SOCKS5.pcap)bin10011 -> 10011 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/6-T7-HTTP-CONT-SOCKS5.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/6-T7-HTTP-CONT-SOCKS5.pcap)bin7054 -> 7054 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/7-T86-FTP-URL-PORT-BIN-SOCKS5.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/7-T86-FTP-URL-PORT-BIN-SOCKS5.pcap)bin10383 -> 10383 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/8-socks4_http.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/8-socks4_http.pcap)bin2452 -> 2452 bytes
-rw-r--r--test/lpi_plugin/test_pcap/socks_pcap/9-socks4-https.pcap (renamed from test/glimpse_detector/test_pcap/socks_pcap/9-socks4-https.pcap)bin8032 -> 8032 bytes
97 files changed, 57 insertions, 60 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 12733a7..7f8f9f0 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(lpi_plugin)
add_subdirectory(decoders/http)
diff --git a/test/glimpse_detector/test_config/spec.toml b/test/glimpse_detector/test_config/spec.toml
deleted file mode 100644
index 2027b1e..0000000
--- a/test/glimpse_detector/test_config/spec.toml
+++ /dev/null
@@ -1,11 +0,0 @@
-# stellar_plugin.toml
-#
-[[plugin]]
-path = ""
-init = "APP_GLIMPSE_DETECTOR_LOAD"
-exit = "APP_GLIMPSE_DETECTOR_UNLOAD"
-
-[[plugin]]
-path = ""
-init = "GLIMPSE_DETECTOR_TEST_PLUG_LOAD"
-exit = "GLIMPSE_DETECTOR_TEST_PLUG_UNLOAD"
diff --git a/test/glimpse_detector/CMakeLists.txt b/test/lpi_plugin/CMakeLists.txt
index bfa5e2e..96f61d8 100644
--- a/test/glimpse_detector/CMakeLists.txt
+++ b/test/lpi_plugin/CMakeLists.txt
@@ -1,20 +1,20 @@
-add_executable(gtest_glimpse_detector gtest_glimpse_detector_main.cpp gtest_glimpse_detector_plugin.cpp)
+add_executable(gtest_lpi gtest_lpi_main.cpp gtest_lpi_plugin.cpp)
-target_include_directories(gtest_glimpse_detector PRIVATE ${CMAKE_SOURCE_DIR}/deps/)
-target_include_directories(gtest_glimpse_detector PRIVATE ${CMAKE_SOURCE_DIR}/decoders/glimpse_detector)
+target_include_directories(gtest_lpi PRIVATE ${CMAKE_SOURCE_DIR}/deps/)
+target_include_directories(gtest_lpi PRIVATE ${CMAKE_SOURCE_DIR}/decoders/lpi)
target_link_libraries(
-gtest_glimpse_detector PRIVATE stellar_devel glimpse_detector cjson-static
-dl "-rdynamic"
-gtest gmock
+ gtest_lpi PRIVATE stellar_devel cjson-static
+ dl "-rdynamic"
+ gtest gmock
)
-target_link_libraries(gtest_glimpse_detector PRIVATE -Wl,--whole-archive glimpse_detector -Wl,--no-whole-archive)
+target_link_libraries(gtest_lpi PRIVATE -Wl,--whole-archive lpi -Wl,--no-whole-archive)
+set(TEST_NAME "LPI_TEST")
+set(TEST_MAIN ${CMAKE_CURRENT_BINARY_DIR}/gtest_lpi)
-set(TEST_MAIN ${CMAKE_CURRENT_BINARY_DIR}/gtest_glimpse_detector)
-
-add_test(NAME GLIMPSE_TEST_SETUP COMMAND sh -c "
+add_test(NAME ${TEST_NAME}.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 &&
@@ -28,26 +28,31 @@ add_test(NAME GLIMPSE_TEST_SETUP COMMAND sh -c "
")
-set_tests_properties(GLIMPSE_TEST_SETUP
- PROPERTIES FIXTURES_SETUP GLIMPSE_TEST_SETUP)
+set_tests_properties(${TEST_NAME}.setup
+ PROPERTIES FIXTURES_SETUP ${TEST_NAME}.setup)
-add_test(NAME GLIMPSE_TEST_APP
+add_test(NAME ${TEST_NAME}.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
+add_test(NAME ${TEST_NAME}.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
+add_test(NAME ${TEST_NAME}.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
+add_test(NAME ${TEST_NAME}.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
+add_test(NAME ${TEST_NAME}.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
+add_test(NAME ${TEST_NAME}.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
+set_tests_properties(${TEST_NAME}.app
+ ${TEST_NAME}.dns
+ ${TEST_NAME}.mixed
+ ${TEST_NAME}.openvpn
+ ${TEST_NAME}.ppp
+ ${TEST_NAME}.socks
+ PROPERTIES FIXTURES_REQUIRED ${TEST_NAME}.setup) \ No newline at end of file
diff --git a/test/glimpse_detector/gtest_glimpse_detector_main.cpp b/test/lpi_plugin/gtest_lpi_main.cpp
index fa39679..fa39679 100644
--- a/test/glimpse_detector/gtest_glimpse_detector_main.cpp
+++ b/test/lpi_plugin/gtest_lpi_main.cpp
diff --git a/test/glimpse_detector/gtest_glimpse_detector_plugin.cpp b/test/lpi_plugin/gtest_lpi_plugin.cpp
index 4677630..fbf4b9c 100644
--- a/test/glimpse_detector/gtest_glimpse_detector_plugin.cpp
+++ b/test/lpi_plugin/gtest_lpi_plugin.cpp
@@ -5,7 +5,7 @@
#include <unistd.h>
#include <assert.h>
-#include "app_l7_protocol.h"
+#include "lpi_plugin.h"
#include "stellar/stellar.h"
#include "stellar/session.h"
@@ -16,7 +16,7 @@
#define MAX_APP_ID_VALUE 10000
-struct glimpse_detector_test_plugin_env
+struct lpi_test_plugin_env
{
int test_exdata_idx;
int l7_exdata_idx;
@@ -26,7 +26,7 @@ struct glimpse_detector_test_plugin_env
char *g_proto_id2name[MAX_APP_ID_VALUE];
};
-static int load_l7_protocol_mapper(const char *filename, struct glimpse_detector_test_plugin_env *env)
+static int load_l7_protocol_mapper(const char *filename, struct lpi_test_plugin_env *env)
{
memset(env->g_proto_id2name, 0, sizeof(env->g_proto_id2name));
int ret=0, proto_id=0;;
@@ -62,7 +62,7 @@ static int load_l7_protocol_mapper(const char *filename, struct glimpse_detector
return ret;
}
-static void publish_session_test_result(struct glimpse_detector_test_plugin_env *env, cJSON *ctx, struct session *sess)
+static void publish_session_test_result(struct lpi_test_plugin_env *env, cJSON *ctx, struct session *sess)
{
assert(env->l7_exdata_idx >= 0 && ctx != NULL);
struct l7_protocol_label *label = (struct l7_protocol_label *)session_exdata_get(sess, env->l7_exdata_idx);;
@@ -109,7 +109,7 @@ static void publish_session_test_result(struct glimpse_detector_test_plugin_env
}
- void *glimpse_detector_test_ctx_new(struct session *sess, void *plugin_env)
+ void *lpi_test_ctx_new(struct session *sess, void *plugin_env)
{
cJSON *ctx =cJSON_CreateObject();
cJSON_AddStringToObject(ctx, "Tuple4", session_get0_readable_addr(sess));
@@ -125,45 +125,37 @@ static void publish_session_test_result(struct glimpse_detector_test_plugin_env
return ctx;
}
-static void APP_TEST_ON_SESSION_MSG(struct session *sess, int topic_id, const void *msg, void *per_session_ctx, void *plugin_env)
+static void gtest_lpi_plugin_on_msg(struct session *sess, int topic_id, const void *msg, void *per_session_ctx, void *plugin_env)
{
if(session_get_current_state(sess)==SESSION_STATE_CLOSED)
{
- publish_session_test_result((struct glimpse_detector_test_plugin_env*)plugin_env, (cJSON *)per_session_ctx, sess);
+ publish_session_test_result((struct lpi_test_plugin_env*)plugin_env, (cJSON *)per_session_ctx, sess);
}
return;
}
-extern "C" void *GLIMPSE_DETECTOR_TEST_PLUG_LOAD(struct stellar *st)
+extern "C" void *gtest_lpi_plugin_load(struct stellar *st)
{
- struct glimpse_detector_test_plugin_env *env = (struct glimpse_detector_test_plugin_env *)calloc(1, sizeof(struct glimpse_detector_test_plugin_env));
+ struct lpi_test_plugin_env *env = (struct lpi_test_plugin_env *)calloc(1, sizeof(struct lpi_test_plugin_env));
env->st=st;
const char *l7_proto_name=(const char*)"./tsgconf/tsg_l7_protocol.conf";
-#if 0
- const char *l7_label_name=(const char*)"L7_PROTOCOL_LABEL";
- const char *l7_bridge_name=(const char*)"APP_BRIDGE";
- MESA_load_profile_string_def("./tsgconf/main.conf", "SYSTEM", "L7_LABEL_NAME", l7_label_name, sizeof(l7_label_name), "L7_PROTOCOL_LABEL");
- MESA_load_profile_string_def("./tsgconf/main.conf", "SYSTEM", "APP_BRIDGE_NAME", l7_bridge_name, sizeof(l7_bridge_name), "APP_BRIDGE");
- MESA_load_profile_string_def("./tsgconf/main.conf", "SYSTEM", "L7_PROTOCOL_FILE", l7_proto_name, sizeof(l7_proto_name), "./tsgconf/tsg_l7_protocol.conf");
-#endif
-
env->l7_exdata_idx= stellar_exdata_new_index(st, "L7_PROTOCOL", stellar_exdata_free_default, NULL);
env->test_exdata_idx= stellar_exdata_new_index(st, "APP_PROTO_TEST", stellar_exdata_free_default, NULL);
if(env->l7_exdata_idx<0 || env->test_exdata_idx<0)
{
- perror("GLIMPSE_DETECTOR_TEST_PLUG_INIT:stellar_session_get_ex_new_index faild!!!\n");
+ perror("gtest_lpi_plugin_load:stellar_session_get_ex_new_index faild!!!\n");
exit(-1);
}
if(load_l7_protocol_mapper(l7_proto_name, env)<0)
{
- perror("GLIMPSE_DETECTOR_TEST_PLUG_INIT:l7_protocol_mapper failed !!!\n");
+ perror("gtest_lpi_plugin_load:l7_protocol_mapper failed !!!\n");
exit(-1);
}
- env->test_app_plugin_id=stellar_session_plugin_register(st, glimpse_detector_test_ctx_new, NULL, env);
+ env->test_app_plugin_id=stellar_session_plugin_register(st, lpi_test_ctx_new, NULL, env);
if(env->test_app_plugin_id < 0)
{
- perror("GLIMPSE_DETECTOR_TEST_PLUG_INIT:stellar_plugin_register failed !!!\n");
+ perror("gtest_lpi_plugin_load:stellar_plugin_register failed !!!\n");
exit(-1);
}
@@ -171,26 +163,26 @@ extern "C" void *GLIMPSE_DETECTOR_TEST_PLUG_LOAD(struct stellar *st)
int udp_topic_id=stellar_mq_get_topic_id(st, TOPIC_UDP_INPUT);
if(tcp_topic_id < 0 || udp_topic_id < 0)
{
- perror("GLIMPSE_DETECTOR_TEST get tcp or udp topic id failed\n");
+ perror("gtest_lpi_plugin_load get tcp or udp topic id failed\n");
exit(-1);
}
- stellar_session_mq_subscribe(st, tcp_topic_id, APP_TEST_ON_SESSION_MSG, env->test_app_plugin_id);
- stellar_session_mq_subscribe(st, udp_topic_id, APP_TEST_ON_SESSION_MSG, env->test_app_plugin_id);
+ stellar_session_mq_subscribe(st, tcp_topic_id, gtest_lpi_plugin_on_msg, env->test_app_plugin_id);
+ stellar_session_mq_subscribe(st, udp_topic_id, gtest_lpi_plugin_on_msg, env->test_app_plugin_id);
env->expect_json_topic_id = stellar_mq_create_topic(st, "EXPECT_JSON", stellar_msg_free_default, NULL);
- printf("GLIMPSE_DETECTOR_TEST_PLUG_LOAD OK!\n");
+ printf("gtest_lpi_plugin_load OK!\n");
return env;
}
-extern "C" void GLIMPSE_DETECTOR_TEST_PLUG_UNLOAD(void *plugin_env)
+extern "C" void gtest_lpi_plugin_unload(void *plugin_env)
{
- struct glimpse_detector_test_plugin_env *env = (struct glimpse_detector_test_plugin_env *)plugin_env;
+ struct lpi_test_plugin_env *env = (struct lpi_test_plugin_env *)plugin_env;
for(int i = 0; i < MAX_APP_ID_VALUE; i++)
{
if(env->g_proto_id2name[i])free(env->g_proto_id2name[i]);
}
free(env);
- printf("GLIMPSE_DETECTOR_TEST_PLUG_UNLOAD OK!\n");
+ printf("gtest_lpi_plugin_unload OK!\n");
return ;
}
diff --git a/test/lpi_plugin/test_config/spec.toml b/test/lpi_plugin/test_config/spec.toml
new file mode 100644
index 0000000..386346f
--- /dev/null
+++ b/test/lpi_plugin/test_config/spec.toml
@@ -0,0 +1,11 @@
+# stellar_plugin.toml
+#
+[[plugin]]
+path = ""
+init = "lpi_plugin_load"
+exit = "lpi_plugin_unload"
+
+[[plugin]]
+path = ""
+init = "gtest_lpi_plugin_load"
+exit = "gtest_lpi_plugin_unload"
diff --git a/test/glimpse_detector/test_config/tsg_l7_protocol.conf b/test/lpi_plugin/test_config/tsg_l7_protocol.conf
index 4e5f3ab..4e5f3ab 100644
--- a/test/glimpse_detector/test_config/tsg_l7_protocol.conf
+++ b/test/lpi_plugin/test_config/tsg_l7_protocol.conf
diff --git a/test/glimpse_detector/test_expect/app_pcap.json b/test/lpi_plugin/test_expect/app_pcap.json
index 1e4c62d..1e4c62d 100644
--- a/test/glimpse_detector/test_expect/app_pcap.json
+++ b/test/lpi_plugin/test_expect/app_pcap.json
diff --git a/test/glimpse_detector/test_expect/dns_pcap.json b/test/lpi_plugin/test_expect/dns_pcap.json
index 79daba3..79daba3 100644
--- a/test/glimpse_detector/test_expect/dns_pcap.json
+++ b/test/lpi_plugin/test_expect/dns_pcap.json
diff --git a/test/glimpse_detector/test_expect/empty_array.json b/test/lpi_plugin/test_expect/empty_array.json
index 0637a08..0637a08 100644
--- a/test/glimpse_detector/test_expect/empty_array.json
+++ b/test/lpi_plugin/test_expect/empty_array.json
diff --git a/test/glimpse_detector/test_expect/mixed_pcap.json b/test/lpi_plugin/test_expect/mixed_pcap.json
index cddc7e3..cddc7e3 100644
--- a/test/glimpse_detector/test_expect/mixed_pcap.json
+++ b/test/lpi_plugin/test_expect/mixed_pcap.json
diff --git a/test/glimpse_detector/test_expect/openvpn_pcap.json b/test/lpi_plugin/test_expect/openvpn_pcap.json
index 66f30eb..66f30eb 100644
--- a/test/glimpse_detector/test_expect/openvpn_pcap.json
+++ b/test/lpi_plugin/test_expect/openvpn_pcap.json
diff --git a/test/glimpse_detector/test_expect/ppp_pcap.json b/test/lpi_plugin/test_expect/ppp_pcap.json
index cf20bf0..cf20bf0 100644
--- a/test/glimpse_detector/test_expect/ppp_pcap.json
+++ b/test/lpi_plugin/test_expect/ppp_pcap.json
diff --git a/test/glimpse_detector/test_expect/socks_pcap.json b/test/lpi_plugin/test_expect/socks_pcap.json
index 5282661..5282661 100644
--- a/test/glimpse_detector/test_expect/socks_pcap.json
+++ b/test/lpi_plugin/test_expect/socks_pcap.json
diff --git a/test/glimpse_detector/test_pcap/app_pcap/1-qq_59361.pcap b/test/lpi_plugin/test_pcap/app_pcap/1-qq_59361.pcap
index 4334250..4334250 100644
--- a/test/glimpse_detector/test_pcap/app_pcap/1-qq_59361.pcap
+++ b/test/lpi_plugin/test_pcap/app_pcap/1-qq_59361.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/app_pcap/2-qq_8758.pcap b/test/lpi_plugin/test_pcap/app_pcap/2-qq_8758.pcap
index 5d3a09c..5d3a09c 100644
--- a/test/glimpse_detector/test_pcap/app_pcap/2-qq_8758.pcap
+++ b/test/lpi_plugin/test_pcap/app_pcap/2-qq_8758.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/app_pcap/3-wechat_51876.pcap b/test/lpi_plugin/test_pcap/app_pcap/3-wechat_51876.pcap
index 8790b64..8790b64 100644
--- a/test/glimpse_detector/test_pcap/app_pcap/3-wechat_51876.pcap
+++ b/test/lpi_plugin/test_pcap/app_pcap/3-wechat_51876.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/app_pcap/4-wechat_8080.pcap b/test/lpi_plugin/test_pcap/app_pcap/4-wechat_8080.pcap
index c9bd882..c9bd882 100644
--- a/test/glimpse_detector/test_pcap/app_pcap/4-wechat_8080.pcap
+++ b/test/lpi_plugin/test_pcap/app_pcap/4-wechat_8080.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/app_pcap/5-wireguard.pcap b/test/lpi_plugin/test_pcap/app_pcap/5-wireguard.pcap
index 5dac585..5dac585 100644
--- a/test/glimpse_detector/test_pcap/app_pcap/5-wireguard.pcap
+++ b/test/lpi_plugin/test_pcap/app_pcap/5-wireguard.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/app_pcap/6-wireguard1.pcap b/test/lpi_plugin/test_pcap/app_pcap/6-wireguard1.pcap
index 5f9d7ce..5f9d7ce 100644
--- a/test/glimpse_detector/test_pcap/app_pcap/6-wireguard1.pcap
+++ b/test/lpi_plugin/test_pcap/app_pcap/6-wireguard1.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/app_pcap/7-wireguard2.pcap b/test/lpi_plugin/test_pcap/app_pcap/7-wireguard2.pcap
index 5ea113e..5ea113e 100644
--- a/test/glimpse_detector/test_pcap/app_pcap/7-wireguard2.pcap
+++ b/test/lpi_plugin/test_pcap/app_pcap/7-wireguard2.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/dns_pcap/1-dns-tcp-single-53-124.88.175.201-8.8.8.8.pcap b/test/lpi_plugin/test_pcap/dns_pcap/1-dns-tcp-single-53-124.88.175.201-8.8.8.8.pcap
index 0397534..0397534 100644
--- a/test/glimpse_detector/test_pcap/dns_pcap/1-dns-tcp-single-53-124.88.175.201-8.8.8.8.pcap
+++ b/test/lpi_plugin/test_pcap/dns_pcap/1-dns-tcp-single-53-124.88.175.201-8.8.8.8.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/dns_pcap/2-dns-tcp-single-53-60.13.179.249-8.8.8.8.pcap b/test/lpi_plugin/test_pcap/dns_pcap/2-dns-tcp-single-53-60.13.179.249-8.8.8.8.pcap
index d54bad6..d54bad6 100644
--- a/test/glimpse_detector/test_pcap/dns_pcap/2-dns-tcp-single-53-60.13.179.249-8.8.8.8.pcap
+++ b/test/lpi_plugin/test_pcap/dns_pcap/2-dns-tcp-single-53-60.13.179.249-8.8.8.8.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/01-http-not-ftp.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/01-http-not-ftp.pcap
index d1f49ec..d1f49ec 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/01-http-not-ftp.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/01-http-not-ftp.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/02-stun-rtcp-rtp-22005-8000-39.144.206.199-117.156.19.31.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/02-stun-rtcp-rtp-22005-8000-39.144.206.199-117.156.19.31.pcap
index bd33283..bd33283 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/02-stun-rtcp-rtp-22005-8000-39.144.206.199-117.156.19.31.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/02-stun-rtcp-rtp-22005-8000-39.144.206.199-117.156.19.31.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/03-ftp-37923-21121-117.145.115.74-218.31.124.234.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/03-ftp-37923-21121-117.145.115.74-218.31.124.234.pcap
index 1214121..1214121 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/03-ftp-37923-21121-117.145.115.74-218.31.124.234.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/03-ftp-37923-21121-117.145.115.74-218.31.124.234.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/04-mail_smtp_port_18867_25.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/04-mail_smtp_port_18867_25.pcap
index 3549c0d..3549c0d 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/04-mail_smtp_port_18867_25.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/04-mail_smtp_port_18867_25.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/05-ftp_port_21121-double.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/05-ftp_port_21121-double.pcap
index 2fb600f..2fb600f 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/05-ftp_port_21121-double.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/05-ftp_port_21121-double.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/06-ftp_port_21121-s2c.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/06-ftp_port_21121-s2c.pcap
index e1ad680..e1ad680 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/06-ftp_port_21121-s2c.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/06-ftp_port_21121-s2c.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/07-ftp_port_21121-c2s.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/07-ftp_port_21121-c2s.pcap
index 152e850..152e850 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/07-ftp_port_21121-c2s.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/07-ftp_port_21121-c2s.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/08-gquic-023-85.117.117.169.47762-173.194.73.95.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/08-gquic-023-85.117.117.169.47762-173.194.73.95.443.pcap
index db29a3b..db29a3b 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/08-gquic-023-85.117.117.169.47762-173.194.73.95.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/08-gquic-023-85.117.117.169.47762-173.194.73.95.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/09-gquic-025-85.117.113.98.4340-74.125.131.95.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/09-gquic-025-85.117.113.98.4340-74.125.131.95.443.pcap
index 299e573..299e573 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/09-gquic-025-85.117.113.98.4340-74.125.131.95.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/09-gquic-025-85.117.113.98.4340-74.125.131.95.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/10-gquic-033-90.143.189.5.8026-173.194.188.40.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/10-gquic-033-90.143.189.5.8026-173.194.188.40.443.pcap
index b0e4c5b..b0e4c5b 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/10-gquic-033-90.143.189.5.8026-173.194.188.40.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/10-gquic-033-90.143.189.5.8026-173.194.188.40.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/11-gquic-034-85.117.125.8.21243-173.194.73.102.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/11-gquic-034-85.117.125.8.21243-173.194.73.102.443.pcap
index eee3c8e..eee3c8e 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/11-gquic-034-85.117.125.8.21243-173.194.73.102.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/11-gquic-034-85.117.125.8.21243-173.194.73.102.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/12-gquic-035-redirector.googlevideo.com-85.117.122.194.32370-173.194.220.138.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/12-gquic-035-redirector.googlevideo.com-85.117.122.194.32370-173.194.220.138.443.pcap
index 5dc1f81..5dc1f81 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/12-gquic-035-redirector.googlevideo.com-85.117.122.194.32370-173.194.220.138.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/12-gquic-035-redirector.googlevideo.com-85.117.122.194.32370-173.194.220.138.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/13-gquic-037-10.32.121.249.33765-64.233.161.95.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/13-gquic-037-10.32.121.249.33765-64.233.161.95.443.pcap
index ca6388d..ca6388d 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/13-gquic-037-10.32.121.249.33765-64.233.161.95.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/13-gquic-037-10.32.121.249.33765-64.233.161.95.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/14-gquic-039-redirector.googlevideo.com-85.117.119.45.22495-173.194.73.101.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/14-gquic-039-redirector.googlevideo.com-85.117.119.45.22495-173.194.73.101.443.pcap
index bd088b0..bd088b0 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/14-gquic-039-redirector.googlevideo.com-85.117.119.45.22495-173.194.73.101.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/14-gquic-039-redirector.googlevideo.com-85.117.119.45.22495-173.194.73.101.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/15-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/15-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap
index 0a6e5ff..0a6e5ff 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/15-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/15-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/16-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/16-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap
index 0abc861..0abc861 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/16-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/16-gquic-041-90.143.180.56.28496-64.233.165.113.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/17-gquic-044-146.158.67.194.1044-108.177.14.138.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/17-gquic-044-146.158.67.194.1044-108.177.14.138.443.pcap
index 204f860..204f860 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/17-gquic-044-146.158.67.194.1044-108.177.14.138.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/17-gquic-044-146.158.67.194.1044-108.177.14.138.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/18-gquic-046-36.142.158.169.16385-36.189.11.71.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/18-gquic-046-36.142.158.169.16385-36.189.11.71.443.pcap
index 0b77c4d..0b77c4d 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/18-gquic-046-36.142.158.169.16385-36.189.11.71.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/18-gquic-046-36.142.158.169.16385-36.189.11.71.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/19-gquic-048-103.3.138.59.12521-123.125.116.52.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/19-gquic-048-103.3.138.59.12521-123.125.116.52.443.pcap
index 5c9fcd6..5c9fcd6 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/19-gquic-048-103.3.138.59.12521-123.125.116.52.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/19-gquic-048-103.3.138.59.12521-123.125.116.52.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/20-gquic-050-i.ytimg.com-172.20.9.135.65045-64.233.162.119.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/20-gquic-050-i.ytimg.com-172.20.9.135.65045-64.233.162.119.443.pcap
index 1d5c46a..1d5c46a 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/20-gquic-050-i.ytimg.com-172.20.9.135.65045-64.233.162.119.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/20-gquic-050-i.ytimg.com-172.20.9.135.65045-64.233.162.119.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/21-iquic-29-192.168.50.29.61891-31.13.77.35.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/21-iquic-29-192.168.50.29.61891-31.13.77.35.443.pcap
index dcd22db..dcd22db 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/21-iquic-29-192.168.50.29.61891-31.13.77.35.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/21-iquic-29-192.168.50.29.61891-31.13.77.35.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/22-mvfst-01-i.instagram.com-192.168.60.9.55659-69.171.250.63.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/22-mvfst-01-i.instagram.com-192.168.60.9.55659-69.171.250.63.443.pcap
index be91a45..be91a45 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/22-mvfst-01-i.instagram.com-192.168.60.9.55659-69.171.250.63.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/22-mvfst-01-i.instagram.com-192.168.60.9.55659-69.171.250.63.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/23-mvfst-02-192.168.137.141.50006-31.13.77.17.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/23-mvfst-02-192.168.137.141.50006-31.13.77.17.443.pcap
index 9b88cc0..9b88cc0 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/23-mvfst-02-192.168.137.141.50006-31.13.77.17.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/23-mvfst-02-192.168.137.141.50006-31.13.77.17.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/23-prox-quic-217.76.77.70.33232-173.194.220.105.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/23-prox-quic-217.76.77.70.33232-173.194.220.105.443.pcap
index a2efae4..a2efae4 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/23-prox-quic-217.76.77.70.33232-173.194.220.105.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/23-prox-quic-217.76.77.70.33232-173.194.220.105.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/24-ietf-rfc9000-192.168.60.32.59699-64.233.164.84.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/24-ietf-rfc9000-192.168.60.32.59699-64.233.164.84.443.pcap
index 84097c8..84097c8 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/24-ietf-rfc9000-192.168.60.32.59699-64.233.164.84.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/24-ietf-rfc9000-192.168.60.32.59699-64.233.164.84.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/25-tquic-51-195.12.120.14.41803-173.194.222.101.443.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/25-tquic-51-195.12.120.14.41803-173.194.222.101.443.pcap
index 357777c..357777c 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/25-tquic-51-195.12.120.14.41803-173.194.222.101.443.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/25-tquic-51-195.12.120.14.41803-173.194.222.101.443.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/26-smtp-55426-587-10.130.2.104-67.225.241.247.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/26-smtp-55426-587-10.130.2.104-67.225.241.247.pcap
index 9296279..9296279 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/26-smtp-55426-587-10.130.2.104-67.225.241.247.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/26-smtp-55426-587-10.130.2.104-67.225.241.247.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/27-pop-54776-110-196.188.12.179-192.185.31.244.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/27-pop-54776-110-196.188.12.179-192.185.31.244.pcap
index 1b36161..1b36161 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/27-pop-54776-110-196.188.12.179-192.185.31.244.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/27-pop-54776-110-196.188.12.179-192.185.31.244.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/28-Bole-IGW-SMTP-57719-26-10.130.13.155-50.87.145.154-2.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/28-Bole-IGW-SMTP-57719-26-10.130.13.155-50.87.145.154-2.pcap
index a8ca249..a8ca249 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/28-Bole-IGW-SMTP-57719-26-10.130.13.155-50.87.145.154-2.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/28-Bole-IGW-SMTP-57719-26-10.130.13.155-50.87.145.154-2.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/29-Bole-IGW-SMTP-14636-25-196.189.57.105-68.232.159.216-2.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/29-Bole-IGW-SMTP-14636-25-196.189.57.105-68.232.159.216-2.pcap
index 067a8e7..067a8e7 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/29-Bole-IGW-SMTP-14636-25-196.189.57.105-68.232.159.216-2.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/29-Bole-IGW-SMTP-14636-25-196.189.57.105-68.232.159.216-2.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/30-Bole-IGW-SMTP-20997-25-196.190.160.6-64.225.54.152.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/30-Bole-IGW-SMTP-20997-25-196.190.160.6-64.225.54.152.pcap
index 94942a2..94942a2 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/30-Bole-IGW-SMTP-20997-25-196.190.160.6-64.225.54.152.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/30-Bole-IGW-SMTP-20997-25-196.190.160.6-64.225.54.152.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/31-Bole-IGW-POP3-50020-110-196.188.3.8-82.98.178.159.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/31-Bole-IGW-POP3-50020-110-196.188.3.8-82.98.178.159.pcap
index 53c8de0..53c8de0 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/31-Bole-IGW-POP3-50020-110-196.188.3.8-82.98.178.159.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/31-Bole-IGW-POP3-50020-110-196.188.3.8-82.98.178.159.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/32-Bole-IGW-POP3-53357-110-196.189.0.15-39.156.6.106.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/32-Bole-IGW-POP3-53357-110-196.189.0.15-39.156.6.106.pcap
index 93a1b66..93a1b66 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/32-Bole-IGW-POP3-53357-110-196.189.0.15-39.156.6.106.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/32-Bole-IGW-POP3-53357-110-196.189.0.15-39.156.6.106.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/33-Bole-IGW-IMAP-36734-143-196.189.5.89-101.32.113.90.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/33-Bole-IGW-IMAP-36734-143-196.189.5.89-101.32.113.90.pcap
index b75137f..b75137f 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/33-Bole-IGW-IMAP-36734-143-196.189.5.89-101.32.113.90.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/33-Bole-IGW-IMAP-36734-143-196.189.5.89-101.32.113.90.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/34-Bole-IGW-IMAP-50415-143-196.188.28.149-69.195.110.51.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/34-Bole-IGW-IMAP-50415-143-196.188.28.149-69.195.110.51.pcap
index ff45c81..ff45c81 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/34-Bole-IGW-IMAP-50415-143-196.188.28.149-69.195.110.51.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/34-Bole-IGW-IMAP-50415-143-196.188.28.149-69.195.110.51.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/35-Bole-IGW-SMTP-587-1440-587-196.189.45.189-40.101.92.178.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/35-Bole-IGW-SMTP-587-1440-587-196.189.45.189-40.101.92.178.pcap
index f507751..f507751 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/35-Bole-IGW-SMTP-587-1440-587-196.189.45.189-40.101.92.178.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/35-Bole-IGW-SMTP-587-1440-587-196.189.45.189-40.101.92.178.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/36-Bole-IGW-SMTP-587-37943-587-196.191.120.240-81.19.77.166.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/36-Bole-IGW-SMTP-587-37943-587-196.191.120.240-81.19.77.166.pcap
index 0975e5a..0975e5a 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/36-Bole-IGW-SMTP-587-37943-587-196.191.120.240-81.19.77.166.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/36-Bole-IGW-SMTP-587-37943-587-196.191.120.240-81.19.77.166.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/37-dns-response-4029-53-115.24.235.11-8.210.152.150.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/37-dns-response-4029-53-115.24.235.11-8.210.152.150.pcap
index d899c17..d899c17 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/37-dns-response-4029-53-115.24.235.11-8.210.152.150.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/37-dns-response-4029-53-115.24.235.11-8.210.152.150.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/38-stun-dtls.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/38-stun-dtls.pcap
index 1b2a8b7..1b2a8b7 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/38-stun-dtls.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/38-stun-dtls.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/mixed_pcap/39-pop3-mistake-redis.pcap b/test/lpi_plugin/test_pcap/mixed_pcap/39-pop3-mistake-redis.pcap
index c866867..c866867 100644
--- a/test/glimpse_detector/test_pcap/mixed_pcap/39-pop3-mistake-redis.pcap
+++ b/test/lpi_plugin/test_pcap/mixed_pcap/39-pop3-mistake-redis.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/01-openvpn-udp-port-1198-first.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/01-openvpn-udp-port-1198-first.pcap
index 61b4ec5..61b4ec5 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/01-openvpn-udp-port-1198-first.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/01-openvpn-udp-port-1198-first.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/02-openvpn-nDPI.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/02-openvpn-nDPI.pcap
index 9ae8351..9ae8351 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/02-openvpn-nDPI.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/02-openvpn-nDPI.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/03-openvpn_onestream.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/03-openvpn_onestream.pcap
index 3a3519e..3a3519e 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/03-openvpn_onestream.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/03-openvpn_onestream.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/04-openvpn-udp-63111.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/04-openvpn-udp-63111.pcap
index c185c52..c185c52 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/04-openvpn-udp-63111.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/04-openvpn-udp-63111.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/05-openvpn-udp-34400.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/05-openvpn-udp-34400.pcap
index 3a3519e..3a3519e 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/05-openvpn-udp-34400.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/05-openvpn-udp-34400.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/06-openvpn-udp-40914.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/06-openvpn-udp-40914.pcap
index 36853be..36853be 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/06-openvpn-udp-40914.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/06-openvpn-udp-40914.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/07-openvpn.tcp.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/07-openvpn.tcp.pcap
index fa0b75a..fa0b75a 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/07-openvpn.tcp.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/07-openvpn.tcp.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/08-ovpntcp_hmac.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/08-ovpntcp_hmac.pcap
index aed2c38..aed2c38 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/08-ovpntcp_hmac.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/08-ovpntcp_hmac.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/09-ovpntcp_nohmac.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/09-ovpntcp_nohmac.pcap
index 7f48bce..7f48bce 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/09-ovpntcp_nohmac.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/09-ovpntcp_nohmac.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/10-openvpn-udp-49941.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/10-openvpn-udp-49941.pcap
index 9865847..9865847 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/10-openvpn-udp-49941.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/10-openvpn-udp-49941.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/11-ipv6_openvpn.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/11-ipv6_openvpn.pcap
index 015867b..015867b 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/11-ipv6_openvpn.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/11-ipv6_openvpn.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/openvpn_pcap/12-quic-openvpn.pcap b/test/lpi_plugin/test_pcap/openvpn_pcap/12-quic-openvpn.pcap
index 00c4d40..00c4d40 100644
--- a/test/glimpse_detector/test_pcap/openvpn_pcap/12-quic-openvpn.pcap
+++ b/test/lpi_plugin/test_pcap/openvpn_pcap/12-quic-openvpn.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/ppp_pcap/01-l2tp_netbios.pcap b/test/lpi_plugin/test_pcap/ppp_pcap/01-l2tp_netbios.pcap
index de7803c..de7803c 100644
--- a/test/glimpse_detector/test_pcap/ppp_pcap/01-l2tp_netbios.pcap
+++ b/test/lpi_plugin/test_pcap/ppp_pcap/01-l2tp_netbios.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/ppp_pcap/02-l2tp-without-l7_protocol-62176-33445-192.168.10.91-220.43.148.189.pcap b/test/lpi_plugin/test_pcap/ppp_pcap/02-l2tp-without-l7_protocol-62176-33445-192.168.10.91-220.43.148.189.pcap
index ae908be..ae908be 100755
--- a/test/glimpse_detector/test_pcap/ppp_pcap/02-l2tp-without-l7_protocol-62176-33445-192.168.10.91-220.43.148.189.pcap
+++ b/test/lpi_plugin/test_pcap/ppp_pcap/02-l2tp-without-l7_protocol-62176-33445-192.168.10.91-220.43.148.189.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/ppp_pcap/03-l2tp_http.pcap b/test/lpi_plugin/test_pcap/ppp_pcap/03-l2tp_http.pcap
index 066f523..066f523 100755
--- a/test/glimpse_detector/test_pcap/ppp_pcap/03-l2tp_http.pcap
+++ b/test/lpi_plugin/test_pcap/ppp_pcap/03-l2tp_http.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/ppp_pcap/04-l2tp_ctrl_data_full.pcap b/test/lpi_plugin/test_pcap/ppp_pcap/04-l2tp_ctrl_data_full.pcap
index 9d824a1..9d824a1 100755
--- a/test/glimpse_detector/test_pcap/ppp_pcap/04-l2tp_ctrl_data_full.pcap
+++ b/test/lpi_plugin/test_pcap/ppp_pcap/04-l2tp_ctrl_data_full.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/ppp_pcap/05-pptp_encrypt.pcap b/test/lpi_plugin/test_pcap/ppp_pcap/05-pptp_encrypt.pcap
index cf2cdd8..cf2cdd8 100755
--- a/test/glimpse_detector/test_pcap/ppp_pcap/05-pptp_encrypt.pcap
+++ b/test/lpi_plugin/test_pcap/ppp_pcap/05-pptp_encrypt.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/ppp_pcap/06-pptp_http.pcap b/test/lpi_plugin/test_pcap/ppp_pcap/06-pptp_http.pcap
index 9203ed0..9203ed0 100755
--- a/test/glimpse_detector/test_pcap/ppp_pcap/06-pptp_http.pcap
+++ b/test/lpi_plugin/test_pcap/ppp_pcap/06-pptp_http.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/1-socks45-http-example.pcap b/test/lpi_plugin/test_pcap/socks_pcap/1-socks45-http-example.pcap
index 1b82f60..1b82f60 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/1-socks45-http-example.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/1-socks45-http-example.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/10-socks5-http-302-frag.pcap b/test/lpi_plugin/test_pcap/socks_pcap/10-socks5-http-302-frag.pcap
index 58690a7..58690a7 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/10-socks5-http-302-frag.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/10-socks5-http-302-frag.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/11-socks5-http-302.pcap b/test/lpi_plugin/test_pcap/socks_pcap/11-socks5-http-302.pcap
index cf0ece9..cf0ece9 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/11-socks5-http-302.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/11-socks5-http-302.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/12-socks5-rdp.pcap b/test/lpi_plugin/test_pcap/socks_pcap/12-socks5-rdp.pcap
index 8c8e632..8c8e632 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/12-socks5-rdp.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/12-socks5-rdp.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/13-socks5-reverse.pcap b/test/lpi_plugin/test_pcap/socks_pcap/13-socks5-reverse.pcap
index 81b0d8a..81b0d8a 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/13-socks5-reverse.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/13-socks5-reverse.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/14-socks5-smtp-503.pcap b/test/lpi_plugin/test_pcap/socks_pcap/14-socks5-smtp-503.pcap
index 13bafd9..13bafd9 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/14-socks5-smtp-503.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/14-socks5-smtp-503.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/15-socks-http-pass.pcap b/test/lpi_plugin/test_pcap/socks_pcap/15-socks-http-pass.pcap
index a99cb60..a99cb60 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/15-socks-http-pass.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/15-socks-http-pass.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/16-socks-https-example.pcap b/test/lpi_plugin/test_pcap/socks_pcap/16-socks-https-example.pcap
index 8cb982c..8cb982c 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/16-socks-https-example.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/16-socks-https-example.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/2-socks5_ftp.pcap b/test/lpi_plugin/test_pcap/socks_pcap/2-socks5_ftp.pcap
index 6e270f7..6e270f7 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/2-socks5_ftp.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/2-socks5_ftp.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/3-POP3_Sock5_subject.pcap b/test/lpi_plugin/test_pcap/socks_pcap/3-POP3_Sock5_subject.pcap
index 38caab7..38caab7 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/3-POP3_Sock5_subject.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/3-POP3_Sock5_subject.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/4-SMTP_Sock5_subject.pcap b/test/lpi_plugin/test_pcap/socks_pcap/4-SMTP_Sock5_subject.pcap
index ce5e53f..ce5e53f 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/4-SMTP_Sock5_subject.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/4-SMTP_Sock5_subject.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/5-T3-HTTP-URL-SOCKS5.pcap b/test/lpi_plugin/test_pcap/socks_pcap/5-T3-HTTP-URL-SOCKS5.pcap
index 4f8812a..4f8812a 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/5-T3-HTTP-URL-SOCKS5.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/5-T3-HTTP-URL-SOCKS5.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/6-T7-HTTP-CONT-SOCKS5.pcap b/test/lpi_plugin/test_pcap/socks_pcap/6-T7-HTTP-CONT-SOCKS5.pcap
index 737aac0..737aac0 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/6-T7-HTTP-CONT-SOCKS5.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/6-T7-HTTP-CONT-SOCKS5.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/7-T86-FTP-URL-PORT-BIN-SOCKS5.pcap b/test/lpi_plugin/test_pcap/socks_pcap/7-T86-FTP-URL-PORT-BIN-SOCKS5.pcap
index 30b7f69..30b7f69 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/7-T86-FTP-URL-PORT-BIN-SOCKS5.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/7-T86-FTP-URL-PORT-BIN-SOCKS5.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/8-socks4_http.pcap b/test/lpi_plugin/test_pcap/socks_pcap/8-socks4_http.pcap
index 85ca607..85ca607 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/8-socks4_http.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/8-socks4_http.pcap
Binary files differ
diff --git a/test/glimpse_detector/test_pcap/socks_pcap/9-socks4-https.pcap b/test/lpi_plugin/test_pcap/socks_pcap/9-socks4-https.pcap
index 851028b..851028b 100644
--- a/test/glimpse_detector/test_pcap/socks_pcap/9-socks4-https.pcap
+++ b/test/lpi_plugin/test_pcap/socks_pcap/9-socks4-https.pcap
Binary files differ