Add support for Google Cloud (#1447)
Differentiate between Google its own apps/services and Google Cloud. We already do something similar for Amazon vs AWS and Microsoft vs Azure.
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd "$(dirname "${0}")" || return
|
||||
|
||||
DEST=../src/lib/ndpi_google_match.c.inc
|
||||
LIST=/tmp/google.list
|
||||
|
||||
echo "(1) Downloading file..."
|
||||
#Nothing to do
|
||||
|
||||
echo "(2) Processing IP addresses..."
|
||||
#https://cloud.google.com/vpc/docs/configure-private-google-access#ip-addr-defaults
|
||||
python3 google.py > $LIST
|
||||
./ipaddr2list.py $LIST NDPI_PROTOCOL_GOOGLE > $DEST
|
||||
#rm -f $TMP $LIST
|
||||
|
||||
echo "(3) Google IPs are available in $DEST"
|
||||
Reference in New Issue
Block a user