diff --git a/fe-app-podkop/src/constants.ts b/fe-app-podkop/src/constants.ts index 153f510..6f840d1 100644 --- a/fe-app-podkop/src/constants.ts +++ b/fe-app-podkop/src/constants.ts @@ -26,6 +26,7 @@ export const ALLOWED_WITH_RUSSIA_INSIDE = [ 'hetzner', 'ovh', 'hodca', + 'roblox', 'digitalocean', 'cloudfront', ]; @@ -50,6 +51,7 @@ export const DOMAIN_LIST_OPTIONS = { google_ai: 'Google AI', google_play: 'Google Play', hodca: 'H.O.D.C.A', + roblox: 'Roblox', hetzner: 'Hetzner ASN', ovh: 'OVH ASN', digitalocean: 'Digital Ocean ASN', diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js index 6bf1dfd..b280531 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js @@ -884,6 +884,7 @@ var ALLOWED_WITH_RUSSIA_INSIDE = [ "hetzner", "ovh", "hodca", + "roblox", "digitalocean", "cloudfront" ]; @@ -907,6 +908,7 @@ var DOMAIN_LIST_OPTIONS = { google_ai: "Google AI", google_play: "Google Play", hodca: "H.O.D.C.A", + roblox: "Roblox", hetzner: "Hetzner ASN", ovh: "OVH ASN", digitalocean: "Digital Ocean ASN", diff --git a/podkop/files/usr/bin/podkop b/podkop/files/usr/bin/podkop index 168b617..d1218eb 100755 --- a/podkop/files/usr/bin/podkop +++ b/podkop/files/usr/bin/podkop @@ -1309,6 +1309,9 @@ import_community_service_subnet_list_handler() { nft add rule inet "$NFT_TABLE_NAME" mangle iifname "@$NFT_INTERFACE_SET_NAME" ip daddr \ "@$NFT_DISCORD_SET_NAME" udp dport '{ 50000-65535 }' meta mark set "$NFT_FAKEIP_MARK" counter ;; + "roblox") + URL=$SUBNETS_ROBLOX + ;; *) return 0 ;; esac diff --git a/podkop/files/usr/lib/constants.sh b/podkop/files/usr/lib/constants.sh index 0849b59..4c52a7b 100644 --- a/podkop/files/usr/lib/constants.sh +++ b/podkop/files/usr/lib/constants.sh @@ -53,17 +53,14 @@ SB_CLASH_API_CONTROLLER_PORT=9090 ## Lists GITHUB_RAW_URL="https://raw.githubusercontent.com/itdoginfo/allow-domains/main" SRS_MAIN_URL="https://github.com/itdoginfo/allow-domains/releases/latest/download" -DOMAINS_RU_INSIDE="${GITHUB_RAW_URL}/Russia/inside-dnsmasq-nfset.lst" -DOMAINS_RU_OUTSIDE="${GITHUB_RAW_URL}/Russia/outside-dnsmasq-nfset.lst" -DOMAINS_UA="${GITHUB_RAW_URL}/Ukraine/inside-dnsmasq-nfset.lst" -DOMAINS_YOUTUBE="${GITHUB_RAW_URL}/Services/youtube.lst" SUBNETS_TWITTER="${GITHUB_RAW_URL}/Subnets/IPv4/twitter.lst" SUBNETS_META="${GITHUB_RAW_URL}/Subnets/IPv4/meta.lst" SUBNETS_DISCORD="${GITHUB_RAW_URL}/Subnets/IPv4/discord.lst" +SUBNETS_ROBLOX="${GITHUB_RAW_URL}/Subnets/IPv4/roblox.lst" SUBNETS_TELERAM="${GITHUB_RAW_URL}/Subnets/IPv4/telegram.lst" SUBNETS_CLOUDFLARE="${GITHUB_RAW_URL}/Subnets/IPv4/cloudflare.lst" SUBNETS_HETZNER="${GITHUB_RAW_URL}/Subnets/IPv4/hetzner.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" -COMMUNITY_SERVICES="russia_inside russia_outside ukraine_inside geoblock block porn news anime youtube hdrezka tiktok google_ai google_play hodca discord meta twitter cloudflare cloudfront digitalocean hetzner ovh telegram" \ No newline at end of file +COMMUNITY_SERVICES="russia_inside russia_outside ukraine_inside geoblock block porn news anime youtube hdrezka tiktok google_ai google_play hodca discord meta twitter cloudflare cloudfront digitalocean hetzner ovh telegram roblox" \ No newline at end of file