diff options
author | Vladimir Gavrilov <105977161+0xA50C1A1@users.noreply.github.com> | 2024-01-09 20:28:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 18:28:57 +0100 |
commit | 3d57dec6b4b04ac9c2210c6c66f6c8456454b3b5 (patch) | |
tree | c7746a98cac3529ef1c81c1bc109516c77927679 /src | |
parent | ead5bf2adb18a80c2219c5d07b142f36ca3ee755 (diff) |
Add PIA (Private Internet Access) support (#2250)
* Fix typo in protocols.rst
* Add PIA (Private Internet Access) support
* Update ndpi_main.c
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_protocol_ids.h | 1 | ||||
-rw-r--r-- | src/lib/ndpi_content_match.c.inc | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/include/ndpi_protocol_ids.h b/src/include/ndpi_protocol_ids.h index a09d58b69..fc74caa85 100644 --- a/src/include/ndpi_protocol_ids.h +++ b/src/include/ndpi_protocol_ids.h @@ -412,6 +412,7 @@ typedef enum { NDPI_PROTOCOL_CEPH = 381, NDPI_PROTOCOL_GOOGLE_CHAT = 382, NDPI_PROTOCOL_ROUGHTIME = 383, + NDPI_PROTOCOL_PIA = 384, #ifdef CUSTOM_NDPI_PROTOCOLS #include "../../../nDPI-custom/custom_ndpi_protocol_ids.h" diff --git a/src/lib/ndpi_content_match.c.inc b/src/lib/ndpi_content_match.c.inc index f50bc05d3..b7a304ddc 100644 --- a/src/lib/ndpi_content_match.c.inc +++ b/src/lib/ndpi_content_match.c.inc @@ -1580,6 +1580,8 @@ static ndpi_protocol_match host_match[] = { ".tesla.services", "TeslaServices", NDPI_PROTOCOL_TESLA_SERVICES, NDPI_PROTOCOL_CATEGORY_NETWORK, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DEFAULT_LEVEL }, { "digitalassets.tesla.com", "TeslaServices", NDPI_PROTOCOL_TESLA_SERVICES, NDPI_PROTOCOL_CATEGORY_NETWORK, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DEFAULT_LEVEL }, + { "privateinternetaccess.com", "PrivateInternetAccess", NDPI_PROTOCOL_PIA, NDPI_PROTOCOL_CATEGORY_VPN, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DEFAULT_LEVEL }, + #ifdef CUSTOM_NDPI_PROTOCOLS #include "../../../nDPI-custom/custom_ndpi_content_match_host_match.c.inc" #endif @@ -1607,6 +1609,7 @@ static ndpi_tls_cert_name_match tls_certificate_match [] = { { "O=Riot Games, Inc.", NDPI_PROTOCOL_RIOTGAMES }, { "O=Riot Games Inc", NDPI_PROTOCOL_RIOTGAMES }, { "O=NoMachine", NDPI_PROTOCOL_NOMACHINE }, + { "O=Private Internet Access", NDPI_PROTOCOL_PIA }, { "CN=Snapchat Inc.", NDPI_PROTOCOL_SNAPCHAT_CALL }, { "CN=NVIDIA GameStream", NDPI_PROTOCOL_GEFORCENOW }, |