Skip to content

Commit

Permalink
Minor follow-up for DigitalOcean support (#2682)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanNardi authored Jan 17, 2025
1 parent 1bda2a2 commit 949bff7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/configuration_parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ List of the supported configuration options:
| "openvpn" | "subclassification_by_ip" | enable | NULL | NULL | Enable/disable sub-classification of OpenVPN flows using server IP. Useful to detect the specific VPN application/app. At the moment, this knob allows to identify: Mullvad, NordVPN, ProtonVPN. |
| "wireguard" | "subclassification_by_ip" | enable | NULL | NULL | Enable/disable sub-classification of Wireguard flows using server IP. Useful to detect the specific VPN application/app. At the moment, this knob allows to identify: Mullvad, NordVPN, ProtonVPN. |
| $PROTO_NAME | "log" | disable | NULL | NULL | Enable/disable logging/debug for specific protocol. Use "any" as protocol name if you want to easily enable/disable logging/debug for all protocols |
| $PROTO_NAME | "ip_list.load" | enable | NULL | NULL | Enable/disable loading of internal list of IP addresses (used for (sub)classification) specific to that protocol. Use "any" as protocol name if you want to easily enable/disable all lists. This knob is valid only for the following protocols: Alibaba, Amazon AWS, Apple, Avast, Bloomberg, Cachefly, Cloudflare, Discord, Disney+, Dropbox, Edgecast, EpicGames, Ethereum, Facebook, Github, Google, Google Cloud, GoTo, Hotspot Shield, Hulu, Line, Microsoft 365, Microsoft Azure, Microsoft One Drive, Microsoft Outlook, Mullvad, Netflix, NordVPN, Nvidia, OpenDNS, ProtonVPN, RiotGames, Roblox, Skype/Teams, Starcraft, Steam, SurfSharkVPN, Teamviewer, Telegram, Tencent, Threema, TOR, Twitch, Twitter, UbuntuONE, VK, Yandex, Yandex Cloud, Webex, Whatsapp, Zoom |
| $PROTO_NAME | "ip_list.load" | enable | NULL | NULL | Enable/disable loading of internal list of IP addresses (used for (sub)classification) specific to that protocol. Use "any" as protocol name if you want to easily enable/disable all lists. This knob is valid only for the following protocols: Alibaba, Amazon AWS, Apple, Avast, Bloomberg, Cachefly, Cloudflare, DigitalOcean, Discord, Disney+, Dropbox, Edgecast, EpicGames, Ethereum, Facebook, Github, Google, Google Cloud, GoTo, Hotspot Shield, Hulu, Line, Microsoft 365, Microsoft Azure, Microsoft One Drive, Microsoft Outlook, Mullvad, Netflix, NordVPN, Nvidia, OpenDNS, ProtonVPN, RiotGames, Roblox, Skype/Teams, Starcraft, Steam, SurfSharkVPN, Teamviewer, Telegram, Tencent, Threema, TOR, Twitch, Twitter, UbuntuONE, VK, Yandex, Yandex Cloud, Webex, Whatsapp, Zoom |
| $PROTO_NAME | "monitoring" | disable | NULL | NULL | Enable/disable monitoring state for this specific protocol. Use "any" as protocol name if you want to easily enable/disable monitoring feature for all protocols. This knob is valid only for the following protocols: Stun. Monitoring allows nDPI to process the entire flow (i.e. all its packets), without any limits. See doc/monitoring.md for further details |
13 changes: 11 additions & 2 deletions doc/protocols.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ References: `Main site <https://www.paramountplus.com/>`_
.. _Proto 440:

`NDPI_PROTOCOL_YANDEX_ALICE`
=============================
============================
Yandex Alice is a voice assistant developed by Yandex, providing answers, performing tasks, and supporting smart home integration, similar to Alexa or Google Assistant.

References: `Main site <https://yandex.ru/dev/dialogs/alice/doc/ru/protocol/>`_
Expand All @@ -1078,7 +1078,16 @@ References: `Main site <https://yandex.ru/dev/dialogs/alice/doc/ru/protocol/>`_
.. _Proto 441:

`NDPI_PROTOCOL_VIVOX`
=============================
=====================
Vivox is a voice and text chat technology platform that provides real-time communication solutions for online games and applications.

References: `Main site <https://unity.com/products/vivox-voice-chat>`_


.. _Proto 442:

`NDPI_PROTOCOL_DIGITALOCEAN`
============================
DigitalOcean is a cloud service provider.

References: `Main site <https://www.digitalocean.com/>`_
1 change: 1 addition & 0 deletions src/lib/ndpi_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ int is_flow_addr_informative(const struct ndpi_flow_struct *flow)
case NDPI_PROTOCOL_CACHEFLY:
case NDPI_PROTOCOL_CLOUDFLARE:
case NDPI_PROTOCOL_GOOGLE_CLOUD:
case NDPI_PROTOCOL_DIGITALOCEAN:
return 0;
/* This is basically the list of VPNs (with **entry** addresses) supported by nDPI */
case NDPI_PROTOCOL_NORDVPN:
Expand Down

0 comments on commit 949bff7

Please sign in to comment.