mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-06 19:46:52 +03:00
Add HODCA, CloudFront, DO
This commit is contained in:
@@ -21,7 +21,10 @@ const ALLOWED_WITH_RUSSIA_INSIDE = [
|
|||||||
'google_ai',
|
'google_ai',
|
||||||
'google_play',
|
'google_play',
|
||||||
'hetzner',
|
'hetzner',
|
||||||
'ovh'
|
'ovh',
|
||||||
|
'hodca',
|
||||||
|
'digitalocean',
|
||||||
|
'cloudfront'
|
||||||
];
|
];
|
||||||
|
|
||||||
const DOMAIN_LIST_OPTIONS = {
|
const DOMAIN_LIST_OPTIONS = {
|
||||||
@@ -43,8 +46,11 @@ const DOMAIN_LIST_OPTIONS = {
|
|||||||
cloudflare: 'Cloudflare',
|
cloudflare: 'Cloudflare',
|
||||||
google_ai: 'Google AI',
|
google_ai: 'Google AI',
|
||||||
google_play: 'Google Play',
|
google_play: 'Google Play',
|
||||||
|
hodca: 'H.O.D.C.A',
|
||||||
hetzner: 'Hetzner ASN',
|
hetzner: 'Hetzner ASN',
|
||||||
ovh: 'OVH ASN'
|
ovh: 'OVH ASN',
|
||||||
|
digitalocean: 'Digital Ocean ASN',
|
||||||
|
cloudfront: 'CloudFront ASN'
|
||||||
};
|
};
|
||||||
|
|
||||||
const UPDATE_INTERVAL_OPTIONS = {
|
const UPDATE_INTERVAL_OPTIONS = {
|
||||||
|
|||||||
@@ -19,9 +19,11 @@ SUBNETS_TELERAM="${GITHUB_RAW_URL}/Subnets/IPv4/telegram.lst"
|
|||||||
SUBNETS_CLOUDFLARE="${GITHUB_RAW_URL}/Subnets/IPv4/cloudflare.lst"
|
SUBNETS_CLOUDFLARE="${GITHUB_RAW_URL}/Subnets/IPv4/cloudflare.lst"
|
||||||
SUBNETS_HETZNER="${GITHUB_RAW_URL}/Subnets/IPv4/hetzner.lst"
|
SUBNETS_HETZNER="${GITHUB_RAW_URL}/Subnets/IPv4/hetzner.lst"
|
||||||
SUBNETS_OVH="${GITHUB_RAW_URL}/Subnets/IPv4/ovh.lst"
|
SUBNETS_OVH="${GITHUB_RAW_URL}/Subnets/IPv4/ovh.lst"
|
||||||
|
SUBNETS_DIGITALOCEAN="${GITHUB_RAW_URL}/Subnets/IPv4/digitalocean.lst"
|
||||||
|
SUBNETS_CLOUDFRONT="${GITHUB_RAW_URL}/Subnets/IPv4/cloudfront.lst"
|
||||||
SING_BOX_CONFIG="/etc/sing-box/config.json"
|
SING_BOX_CONFIG="/etc/sing-box/config.json"
|
||||||
FAKEIP="198.18.0.0/15"
|
FAKEIP="198.18.0.0/15"
|
||||||
VALID_SERVICES="russia_inside russia_outside ukraine_inside geoblock block porn news anime youtube discord meta twitter hdrezka tiktok telegram cloudflare google_ai google_play hetzner ovh"
|
VALID_SERVICES="russia_inside russia_outside ukraine_inside geoblock block porn news anime youtube discord meta twitter hdrezka tiktok telegram cloudflare google_ai google_play hetzner ovh hodca digitalocean cloudfront"
|
||||||
DNS_RESOLVERS="1.1.1.1 1.0.0.1 8.8.8.8 8.8.4.4 9.9.9.9 9.9.9.11 94.140.14.14 94.140.15.15 208.67.220.220 208.67.222.222 77.88.8.1 77.88.8.8"
|
DNS_RESOLVERS="1.1.1.1 1.0.0.1 8.8.8.8 8.8.4.4 9.9.9.9 9.9.9.11 94.140.14.14 94.140.15.15 208.67.220.220 208.67.222.222 77.88.8.1 77.88.8.8"
|
||||||
TEST_DOMAIN="fakeip.podkop.fyi"
|
TEST_DOMAIN="fakeip.podkop.fyi"
|
||||||
INTERFACES_LIST=""
|
INTERFACES_LIST=""
|
||||||
@@ -1868,6 +1870,12 @@ import_community_service_subnet_list_handler() {
|
|||||||
"ovh")
|
"ovh")
|
||||||
URL=$SUBNETS_OVH
|
URL=$SUBNETS_OVH
|
||||||
;;
|
;;
|
||||||
|
"digitalocean")
|
||||||
|
URL=$SUBNETS_DIGITALOCEAN
|
||||||
|
;;
|
||||||
|
"cloudfront")
|
||||||
|
URL=$SUBNETS_CLOUDFRONT
|
||||||
|
;;
|
||||||
"discord")
|
"discord")
|
||||||
URL=$SUBNETS_DISCORD
|
URL=$SUBNETS_DISCORD
|
||||||
nft add set inet $table podkop_discord_subnets { type ipv4_addr\; flags interval\; auto-merge\; }
|
nft add set inet $table podkop_discord_subnets { type ipv4_addr\; flags interval\; auto-merge\; }
|
||||||
|
|||||||
Reference in New Issue
Block a user