Moved geneated file to a separate folder
This commit is contained in:
+22
-22
@@ -48,28 +48,28 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "ndpi_content_match.c.inc"
|
#include "ndpi_content_match.c.inc"
|
||||||
#include "ndpi_dga_match.c.inc"
|
#include "inc_generated/ndpi_dga_match.c.inc"
|
||||||
#include "ndpi_azure_match.c.inc"
|
#include "inc_generated/ndpi_azure_match.c.inc"
|
||||||
#include "ndpi_tor_match.c.inc"
|
#include "inc_generated/ndpi_tor_match.c.inc"
|
||||||
#include "ndpi_whatsapp_match.c.inc"
|
#include "inc_generated/ndpi_whatsapp_match.c.inc"
|
||||||
#include "ndpi_amazon_aws_match.c.inc"
|
#include "inc_generated/ndpi_amazon_aws_match.c.inc"
|
||||||
#include "ndpi_ethereum_match.c.inc"
|
#include "inc_generated/ndpi_ethereum_match.c.inc"
|
||||||
#include "ndpi_zoom_match.c.inc"
|
#include "inc_generated/ndpi_zoom_match.c.inc"
|
||||||
#include "ndpi_cloudflare_match.c.inc"
|
#include "inc_generated/ndpi_cloudflare_match.c.inc"
|
||||||
#include "ndpi_ms_office365_match.c.inc"
|
#include "inc_generated/ndpi_ms_office365_match.c.inc"
|
||||||
#include "ndpi_ms_onedrive_match.c.inc"
|
#include "inc_generated/ndpi_ms_onedrive_match.c.inc"
|
||||||
#include "ndpi_ms_outlook_match.c.inc"
|
#include "inc_generated/ndpi_ms_outlook_match.c.inc"
|
||||||
#include "ndpi_ms_skype_teams_match.c.inc"
|
#include "inc_generated/ndpi_ms_skype_teams_match.c.inc"
|
||||||
#include "ndpi_google_match.c.inc"
|
#include "inc_generated/ndpi_google_match.c.inc"
|
||||||
#include "ndpi_google_cloud_match.c.inc"
|
#include "inc_generated/ndpi_google_cloud_match.c.inc"
|
||||||
#include "ndpi_icloud_private_relay_match.c.inc"
|
#include "inc_generated/ndpi_icloud_private_relay_match.c.inc"
|
||||||
#include "ndpi_asn_telegram.c.inc"
|
#include "inc_generated/ndpi_asn_telegram.c.inc"
|
||||||
#include "ndpi_asn_apple.c.inc"
|
#include "inc_generated/ndpi_asn_apple.c.inc"
|
||||||
#include "ndpi_asn_twitter.c.inc"
|
#include "inc_generated/ndpi_asn_twitter.c.inc"
|
||||||
#include "ndpi_asn_netflix.c.inc"
|
#include "inc_generated/ndpi_asn_netflix.c.inc"
|
||||||
#include "ndpi_asn_webex.c.inc"
|
#include "inc_generated/ndpi_asn_webex.c.inc"
|
||||||
#include "ndpi_asn_teamviewer.c.inc"
|
#include "inc_generated/ndpi_asn_teamviewer.c.inc"
|
||||||
#include "ndpi_asn_facebook.c.inc"
|
#include "inc_generated/ndpi_asn_facebook.c.inc"
|
||||||
|
|
||||||
/* Third party libraries */
|
/* Third party libraries */
|
||||||
#include "third_party/include/ndpi_patricia.h"
|
#include "third_party/include/ndpi_patricia.h"
|
||||||
|
|||||||
+7
-7
@@ -25,36 +25,36 @@ function create_list() {
|
|||||||
cd "$(dirname "${0}")" || return
|
cd "$(dirname "${0}")" || return
|
||||||
|
|
||||||
echo "(1) Downloading Apple routes..."
|
echo "(1) Downloading Apple routes..."
|
||||||
DEST="../src/lib/ndpi_asn_apple.c.inc"
|
DEST="../src/lib/inc_generated/ndpi_asn_apple.c.inc"
|
||||||
create_list NDPI_PROTOCOL_APPLE $DEST "AS714" "AS6185" "AS2709"
|
create_list NDPI_PROTOCOL_APPLE $DEST "AS714" "AS6185" "AS2709"
|
||||||
echo "(3) Apple IPs are available in $DEST"
|
echo "(3) Apple IPs are available in $DEST"
|
||||||
|
|
||||||
echo "(1) Downloading Facebook routes..."
|
echo "(1) Downloading Facebook routes..."
|
||||||
DEST=../src/lib/ndpi_asn_facebook.c.inc
|
DEST=../src/lib/inc_generated/ndpi_asn_facebook.c.inc
|
||||||
create_list NDPI_PROTOCOL_FACEBOOK $DEST "AS63293" "AS54115" "AS34825" "AS32934"
|
create_list NDPI_PROTOCOL_FACEBOOK $DEST "AS63293" "AS54115" "AS34825" "AS32934"
|
||||||
echo "(3) Facebook IPs are available in $DEST"
|
echo "(3) Facebook IPs are available in $DEST"
|
||||||
|
|
||||||
echo "(1) Downloading Netflix routes..."
|
echo "(1) Downloading Netflix routes..."
|
||||||
DEST=../src/lib/ndpi_asn_netflix.c.inc
|
DEST=../src/lib/inc_generated/ndpi_asn_netflix.c.inc
|
||||||
create_list NDPI_PROTOCOL_NETFLIX $DEST "AS55095" "AS40027" "AS394406" "AS2906"
|
create_list NDPI_PROTOCOL_NETFLIX $DEST "AS55095" "AS40027" "AS394406" "AS2906"
|
||||||
echo "(3) Netflix IPs are available in $DEST"
|
echo "(3) Netflix IPs are available in $DEST"
|
||||||
|
|
||||||
echo "(1) Downloading Teamviewer routes..."
|
echo "(1) Downloading Teamviewer routes..."
|
||||||
DEST=../src/lib/ndpi_asn_teamviewer.c.inc
|
DEST=../src/lib/inc_generated/ndpi_asn_teamviewer.c.inc
|
||||||
create_list NDPI_PROTOCOL_TEAMVIEWER $DEST "AS43304" "AS212710" "AS208187" "AS208175"
|
create_list NDPI_PROTOCOL_TEAMVIEWER $DEST "AS43304" "AS212710" "AS208187" "AS208175"
|
||||||
echo "(3) Teamviewer IPs are available in $DEST"
|
echo "(3) Teamviewer IPs are available in $DEST"
|
||||||
|
|
||||||
echo "(1) Downloading Telegram routes..."
|
echo "(1) Downloading Telegram routes..."
|
||||||
DEST=../src/lib/ndpi_asn_telegram.c.inc
|
DEST=../src/lib/inc_generated/ndpi_asn_telegram.c.inc
|
||||||
create_list NDPI_PROTOCOL_TELEGRAM $DEST "AS62041" "AS62014" "AS59930" "AS44907" "AS211157"
|
create_list NDPI_PROTOCOL_TELEGRAM $DEST "AS62041" "AS62014" "AS59930" "AS44907" "AS211157"
|
||||||
echo "(3) Telegram IPs are available in $DEST"
|
echo "(3) Telegram IPs are available in $DEST"
|
||||||
|
|
||||||
echo "(1) Downloading Twitter routes..."
|
echo "(1) Downloading Twitter routes..."
|
||||||
DEST=../src/lib/ndpi_asn_twitter.c.inc
|
DEST=../src/lib/inc_generated/ndpi_asn_twitter.c.inc
|
||||||
create_list NDPI_PROTOCOL_TWITTER $DEST "AS63179" "AS54888" "AS35995" "AS13414"
|
create_list NDPI_PROTOCOL_TWITTER $DEST "AS63179" "AS54888" "AS35995" "AS13414"
|
||||||
echo "(3) Twitter IPs are available in $DEST"
|
echo "(3) Twitter IPs are available in $DEST"
|
||||||
|
|
||||||
echo "(1) Downloading Webex routes..."
|
echo "(1) Downloading Webex routes..."
|
||||||
DEST=../src/lib/ndpi_asn_webex.c.inc
|
DEST=../src/lib/inc_generated/ndpi_asn_webex.c.inc
|
||||||
create_list NDPI_PROTOCOL_WEBEX $DEST "AS6577" "AS399937" "AS16472" "AS13445"
|
create_list NDPI_PROTOCOL_WEBEX $DEST "AS6577" "AS399937" "AS16472" "AS13445"
|
||||||
echo "(3) Webex IPs are available in $DEST"
|
echo "(3) Webex IPs are available in $DEST"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd "$(dirname "${0}")"
|
cd "$(dirname "${0}")"
|
||||||
|
|
||||||
DEST=../src/lib/ndpi_amazon_aws_match.c.inc
|
DEST=../src/lib/inc_generated/ndpi_amazon_aws_match.c.inc
|
||||||
TMP=/tmp/aws.json
|
TMP=/tmp/aws.json
|
||||||
LIST=/tmp/aws.list
|
LIST=/tmp/aws.list
|
||||||
ORIGIN=https://ip-ranges.amazonaws.com/ip-ranges.json
|
ORIGIN=https://ip-ranges.amazonaws.com/ip-ranges.json
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd "$(dirname "${0}")"
|
cd "$(dirname "${0}")"
|
||||||
|
|
||||||
DEST=../src/lib/ndpi_azure_match.c.inc
|
DEST=../src/lib/inc_generated/ndpi_azure_match.c.inc
|
||||||
LINK_TMP=/tmp/azure_link.txt
|
LINK_TMP=/tmp/azure_link.txt
|
||||||
TMP=/tmp/azure.json
|
TMP=/tmp/azure.json
|
||||||
LIST=/tmp/azure.list
|
LIST=/tmp/azure.list
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd "$(dirname "${0}")"
|
cd "$(dirname "${0}")"
|
||||||
|
|
||||||
DEST=../src/lib/ndpi_cloudflare_match.c.inc
|
DEST=../src/lib/inc_generated/ndpi_cloudflare_match.c.inc
|
||||||
LIST=/tmp/cloudflare.list
|
LIST=/tmp/cloudflare.list
|
||||||
# TODO: ipv6 list from https://www.cloudflare.com/ips-v6
|
# TODO: ipv6 list from https://www.cloudflare.com/ips-v6
|
||||||
ORIGIN="https://www.cloudflare.com/ips-v4"
|
ORIGIN="https://www.cloudflare.com/ips-v4"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd "$(dirname "${0}")"
|
cd "$(dirname "${0}")"
|
||||||
|
|
||||||
DEST=../src/lib/ndpi_ethereum_match.c.inc
|
DEST=../src/lib/inc_generated/ndpi_ethereum_match.c.inc
|
||||||
TMP=/tmp/ethereum
|
TMP=/tmp/ethereum
|
||||||
LIST=/tmp/ethereum.list
|
LIST=/tmp/ethereum.list
|
||||||
ORIGIN="https://raw.githubusercontent.com/ethereum/go-ethereum/master/params/bootnodes.go"
|
ORIGIN="https://raw.githubusercontent.com/ethereum/go-ethereum/master/params/bootnodes.go"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd "$(dirname "${0}")" || return
|
cd "$(dirname "${0}")" || return
|
||||||
|
|
||||||
DEST=../src/lib/ndpi_google_cloud_match.c.inc
|
DEST=../src/lib/inc_generated/ndpi_google_cloud_match.c.inc
|
||||||
TMP=/tmp/google_c.json
|
TMP=/tmp/google_c.json
|
||||||
LIST=/tmp/google_c.list
|
LIST=/tmp/google_c.list
|
||||||
ORIGIN="https://www.gstatic.com/ipranges/cloud.json"
|
ORIGIN="https://www.gstatic.com/ipranges/cloud.json"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ set -e
|
|||||||
|
|
||||||
cd "$(dirname "${0}")" || return
|
cd "$(dirname "${0}")" || return
|
||||||
|
|
||||||
DEST=../src/lib/ndpi_google_match.c.inc
|
DEST=../src/lib/inc_generated/ndpi_google_match.c.inc
|
||||||
LIST=/tmp/google.list
|
LIST=/tmp/google.list
|
||||||
|
|
||||||
echo "(1) Downloading file..."
|
echo "(1) Downloading file..."
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd "$(dirname "${0}")" || return
|
cd "$(dirname "${0}")" || return
|
||||||
|
|
||||||
DEST=../src/lib/ndpi_icloud_private_relay_match.c.inc
|
DEST=../src/lib/inc_generated/ndpi_icloud_private_relay_match.c.inc
|
||||||
TMP=/tmp/icloud.csv
|
TMP=/tmp/icloud.csv
|
||||||
LIST=/tmp/icloud.list
|
LIST=/tmp/icloud.list
|
||||||
LIST_MERGED=/tmp/icloud.list_m
|
LIST_MERGED=/tmp/icloud.list_m
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
cd "$(dirname "${0}")"
|
cd "$(dirname "${0}")"
|
||||||
|
|
||||||
DEST_OUTLOOK=../src/lib/ndpi_ms_outlook_match.c.inc
|
DEST_OUTLOOK=../src/lib/inc_generated/ndpi_ms_outlook_match.c.inc
|
||||||
DEST_SKYPE_MSTEAMS=../src/lib/ndpi_ms_skype_teams_match.c.inc
|
DEST_SKYPE_MSTEAMS=../src/lib/inc_generated/ndpi_ms_skype_teams_match.c.inc
|
||||||
DEST_ONEDRIVE=../src/lib/ndpi_ms_onedrive_match.c.inc
|
DEST_ONEDRIVE=../src/lib/inc_generated/ndpi_ms_onedrive_match.c.inc
|
||||||
DEST_OFFICE365=../src/lib/ndpi_ms_office365_match.c.inc
|
DEST_OFFICE365=../src/lib/inc_generated/ndpi_ms_office365_match.c.inc
|
||||||
TMP=/tmp/ms.json
|
TMP=/tmp/ms.json
|
||||||
LIST=/tmp/ms.list
|
LIST=/tmp/ms.list
|
||||||
# https://docs.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide
|
# https://docs.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd "$(dirname "${0}")"
|
cd "$(dirname "${0}")"
|
||||||
|
|
||||||
DEST=../src/lib/ndpi_tor_match.c.inc
|
DEST=../src/lib/inc_generated/ndpi_tor_match.c.inc
|
||||||
LIST=/tmp/tor.list
|
LIST=/tmp/tor.list
|
||||||
# There are at least two lists:
|
# There are at least two lists:
|
||||||
# * https://torstatus.rueckgr.at/ip_list_all.php/Tor_ip_list_ALL.csv
|
# * https://torstatus.rueckgr.at/ip_list_all.php/Tor_ip_list_ALL.csv
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd "$(dirname "${0}")"
|
cd "$(dirname "${0}")"
|
||||||
|
|
||||||
DEST=../src/lib/ndpi_whatsapp_match.c.inc
|
DEST=../src/lib/inc_generated/ndpi_whatsapp_match.c.inc
|
||||||
TMP=/tmp/wa.zip
|
TMP=/tmp/wa.zip
|
||||||
LIST=/tmp/wa.list
|
LIST=/tmp/wa.list
|
||||||
# https://developers.facebook.com/docs/whatsapp/guides/network-requirements/
|
# https://developers.facebook.com/docs/whatsapp/guides/network-requirements/
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd "$(dirname "${0}")"
|
cd "$(dirname "${0}")"
|
||||||
|
|
||||||
DEST=../src/lib/ndpi_zoom_match.c.inc
|
DEST=../src/lib/inc_generated/ndpi_zoom_match.c.inc
|
||||||
LIST=/tmp/zoom.list
|
LIST=/tmp/zoom.list
|
||||||
# https://support.zoom.us/hc/en-us/articles/201362683-Zoom-network-firewall-or-proxy-server-settings
|
# https://support.zoom.us/hc/en-us/articles/201362683-Zoom-network-firewall-or-proxy-server-settings
|
||||||
# There are few lists in this page, partially overlapping. Pick the generic one
|
# There are few lists in this page, partially overlapping. Pick the generic one
|
||||||
|
|||||||
Reference in New Issue
Block a user