Next-Gen Server Firewall, GA4 Bot Guard & Windows SSH Monitor.
Block rotating scraper subnets from Tencent Cloud (AS132203), Alibaba Cloud (AS45102), and Huawei Cloud (AS136907) at the Nginx/Apache edge while stopping headless SwiftShader bots in GA4. Manage live Linux VPS logs and UFW/iptables rules directly from Windows over encrypted SSH with zero cloud relays.
One-Line Linux (Nginx & Apache 2.4) Automated Installer
Designed for Ubuntu, Debian, RHEL/AlmaLinux, CloudPanel, cPanel, Nginx, and Apache 2.4 / LiteSpeed servers. Auto-detects your web server, backs up existing configs, enables daily Threat DB auto-sync, and validates syntax via nginx -t or apache2ctl -t with automatic rollback.
Direct Raw Threat Feeds & Live API Endpoints (CORS Enabled)
Live auto-updated CIDR feed combining BGP ASN prefixes and Safe-Harbor verified community reports.
Ready-to-include Nginx http {} map configuration with SEO Safe-Harbor whitelist.
Native Apache 2.4 mod_authz_core CIDR radix-tree, mod_remoteip & mod_setenvif firewall config.
Client-side WebGL SwiftShader, llvmpipe & iOS 13.2.3 emulator filter for GA4.
Idempotent Bash installer for Nginx & Apache 2.4 with /var/backups snapshot, daily cron sync & syntax rollback.
Server, Reverse Proxy & GA4 Configurations
/etc/nginx/conf.d/utilvo-edge-shield.conf# ============================================================================
# Utilvo EdgeShield — Layer 1 Nginx Bot & Cloud Scraper Filter
# Active Modules: ASN=ON | WebGL/UA=ON | SEO-SafeHarbor=ON
# ============================================================================
map $http_cf_connecting_ip $utilvo_client_ip {
"" $remote_addr;
default $http_cf_connecting_ip;
}
# 1. Verified Search Engine & Ad Crawlers (Safe-Harbor Whitelist):
map $http_user_agent $utilvo_is_seo_bot {
default 0;
~*(Googlebot|Google-InspectionTool|Storebot-Google|AdsBot-Google|GoogleOther) 1;
~*(bingbot|AdIdxBot|MicrosoftPreview|msnbot|Applebot|DuckDuckBot|YandexBot) 1;
~*(facebookexternalhit|Twitterbot|LinkedInBot|Slackbot|Stripe|UptimeRobot) 1;
}
# 2. Rotating Cloud Scraper Subnets (AS132203 Tencent / AS45102 Alibaba / AS136907 Huawei):
map $utilvo_client_ip $utilvo_bad_cloud_ip {
default 0;
~^43\.(12[89]|1[3-6][0-9]|17[0-5])\. 1;
~^(101\.3[23]|119\.28|124\.156|129\.226|150\.109|162\.62|170\.106)\. 1;
~^43\.119\. 1;
~^47\.(74|8[289]|23[6-9]|24[0-6]|25[0-4])\. 1;
~^8\.(20[89]|21[0-9]|22[0-3])\. 1;
~^(149\.232|159\.138|114\.119|46\.250)\. 1;
}
# 3. Spoofed Headless & AI Scraper User-Agents:
map $http_user_agent $utilvo_bad_bot_ua {
default 0;
~*(TokenFoundryBot|QlyzeBot|Bytespider|PetalBot|ClaudeBot|CCBot|GPTBot) 1;
~*(HeadlessChrome|PhantomJS|Writefull|Barkrowler|BLEXBot|DataForSeoBot) 1;
"~*CPU iPhone OS 13_2_3 like Mac OS X" 1;
}
# 4. Final Composite Verdict:
map "$utilvo_is_seo_bot:$utilvo_bad_cloud_ip:$utilvo_bad_bot_ua" $utilvo_edge_shield_block {
default 0;
"~^0:1:" 1;
"~^0:0:1" 1;
}server { ... }block & reload safelyif ($utilvo_edge_shield_block = 1) {
return 403;
}
# Validate syntax before reloading:
# sudo nginx -t && sudo systemctl reload nginxServer access.log Bot & Subnet Analyzer
| Client IP & Subnet | Vector | ASN / Provider | Firewall Verdict | Detection Signal |
|---|---|---|---|---|
43.173.182.197 43.173.0.0/16 | ASN-CIDR | AS132203 Tencent Cloud (SG / HK / US Pool) | 403 Blocked | Tencent Cloud Rotating Bot Subnet |
43.172.196.185 43.172.0.0/16 | RSC-STORM | AS132203 Tencent Cloud (SG / HK / US Pool) | 403 Blocked | Tencent Cloud Rotating Bot Subnet • Hardcoded DevTools Emulator (iOS 13.2.3) • Next.js ?_rsc= Prefetch Amplification |
43.173.180.251 43.173.0.0/16 | RSC-STORM | AS132203 Tencent Cloud (SG / HK / US Pool) | 403 Blocked | Tencent Cloud Rotating Bot Subnet • Next.js ?_rsc= Prefetch Amplification |
47.82.201.56 47.82.0.0/16 | ASN-CIDR | AS45102 Alibaba Cloud (SG / HK Pool) | 403 Blocked | Alibaba Cloud Rotating Bot Subnet • Spoofed Unreleased Chromium Build |
43.119.144.22 43.119.0.0/16 | RSC-STORM | AS45102 Alibaba Cloud (SG / HK Pool) | 403 Blocked | Alibaba Cloud Rotating Bot Subnet • Spoofed Unreleased Chromium Build • Next.js ?_rsc= Prefetch Amplification |
159.138.42.19 159.138.0.0/16 | RSC-STORM | AS136907 Huawei Cloud (SG / LATAM Pool) | 403 Blocked | Huawei Cloud Scraper Subnet • Spoofed Unreleased Chromium Build • Next.js ?_rsc= Prefetch Amplification |
101.32.118.90 101.32.0.0/16 | RSC-STORM | AS132203 Tencent Cloud (SG / HK / US Pool) | 403 Blocked | Tencent Cloud Rotating Bot Subnet • Hardcoded DevTools Emulator (iOS 13.2.3) • Next.js ?_rsc= Prefetch Amplification |
47.74.88.14 47.74.0.0/16 | RSC-STORM | AS45102 Alibaba Cloud (SG / HK Pool) | 403 Blocked | Alibaba Cloud Rotating Bot Subnet • Next.js ?_rsc= Prefetch Amplification |
149.232.160.77 149.232.0.0/16 | RSC-STORM | AS136907 Huawei Cloud (SG / LATAM Pool) | 403 Blocked | Huawei Cloud Scraper Subnet • Spoofed Unreleased Chromium Build • Next.js ?_rsc= Prefetch Amplification |
66.249.66.1 66.249.0.0/16 | SEO-SAFE | AS15169 Googlebot / Verified Search Crawler | 200 SEO Safe | Whitelisted SEO Crawler (Safe-Harbor Active) |
Self-Updating Threat Database & Community Safe-Harbor API
How Utilvo EdgeShield stays ahead of new bot subnets: automated BGP/ASN prefix tracking + community-submitted attack logs validated against our Anti-Poisoning Safe-Harbor whitelist.
Tracks newly announced IPv4 /10–/16 prefixes for AS132203 (Tencent), AS45102 (Alibaba), and AS136907 (Huawei).
Identifies /16 subnets executing >15 concurrent Next.js ?_rsc= prefetches across rotating IPs within 3 seconds.
Fingerprints CPU software rasterizers (Google SwiftShader, llvmpipe) and hardcoded DevTools emulators (iOS 13_2_3).
Crowd-sourced attack logs validated against RFC 1918, Cloudflare Edge, and Googlebot/Bingbot safe-harbor whitelists.
Submit New Bot IP or Attack Log to Community Threat DB
Every submission is automatically checked against RFC 1918, Cloudflare Edge (AS13335), and Googlebot/Bingbot Safe-Harbor rules before entering the live feed.
/etc/cron.daily/utilvo-edge-shield-sync# Automated Daily Threat DB Sync (/etc/cron.daily/utilvo-edge-shield-sync)
# Pulls latest BGP + Community-Verified subnets & reloads Nginx safely:
sudo tee /etc/cron.daily/utilvo-edge-shield-sync >/dev/null <<'EOF'
#!/usr/bin/env bash
set -euo pipefail
TMP_MAP="$(mktemp)"
if curl -fsSL "https://utilvo.com/edge-shield/nginx-bot-shield.conf" -o "$TMP_MAP"; then
cp -a /etc/nginx/conf.d/utilvo-edge-shield.conf /etc/nginx/conf.d/utilvo-edge-shield.conf.bak 2>/dev/null || true
mv "$TMP_MAP" /etc/nginx/conf.d/utilvo-edge-shield.conf
if nginx -t >/dev/null 2>&1; then
systemctl reload nginx
else
mv /etc/nginx/conf.d/utilvo-edge-shield.conf.bak /etc/nginx/conf.d/utilvo-edge-shield.conf
fi
fi
EOF
sudo chmod +x /etc/cron.daily/utilvo-edge-shield-sync| Reported IP & Derived /16 | ASN | Forensic Signature | Status |
|---|---|---|---|
| 43.173.99.12(43.173.0.0/16) | AS132203 | Matched Tencent Cloud (AS132203) scraper prefix + Hardcoded DevTools iOS 13_2_3 emulator fingerprint | 99% • Verified & Active in Feed |
| 43.173.182.197(43.173.0.0/16) | AS132203 | iOS 13_2_3 DevTools Emulator + 22 ?_rsc= prefetches/3s | 99% • Verified & Active in Feed |
| 47.82.201.56(47.82.0.0/16) | AS45102 | Spoofed Chrome/145.0.0.0 macOS UA on Linux SwiftShader VM | 98% • Verified & Active in Feed |
| 159.138.42.19(159.138.0.0/16) | AS136907 | Huawei Cloud rotating scraper hitting /image-tools ?_rsc= | 96% • Verified & Active in Feed |
Targeted Cloud Scraper ASNs vs. Safe-Harbor Search Crawlers
Why country-blocking Singapore fails: cloud providers route HTTP traffic through US/HK-registered CIDR blocks while firing GA4 beacons from Singapore exit nodes.
| ASN | Organization & Regions | Tracked Subnets (CIDR) | Forensic Signatures | Enforcement |
|---|---|---|---|---|
| AS132203 / AS45090 | Tencent Cloud (Aceville Pte. Ltd.) Singapore, Hong Kong, Silicon Valley, Frankfurt | 43.128.0.0/10 (43.129–43.175.*), 101.32.0.0/15, 119.28.0.0/16, 124.156.0.0/16, 129.226.0.0/16, 150.109.0.0/16, 170.106.0.0/16 | Per-request IP rotation every 150ms; spoofed Chrome/117–155; hardcoded CPU iPhone OS 13_2_3 UA | 403 Block + GA4 Suppress |
| AS45102 / AS37963 | Alibaba Cloud (Alibaba US Technology Co.) Singapore, Hong Kong, US West (MaxMind US-registered) | 43.119.0.0/16, 47.74.0.0/16, 47.82.0.0/16, 47.88.0.0/15, 8.217.0.0/16, 8.219.0.0/16 | Split-path GeoIP bypass (US MaxMind registration -> SG GA4 beacon); TokenFoundryBot; macOS UA on Linux VM | 403 Block + GA4 Suppress |
| AS136907 | Huawei Cloud Service data centers Singapore, Hong Kong, Mexico, Brazil | 149.232.0.0/16, 159.138.0.0/16, 46.250.0.0/16 | High-concurrency headless Chromium scraping; WebGL Google SwiftShader / llvmpipe software rasterizer | 403 Block + GA4 Suppress |
| AS15169 / AS8075 / AS714 | Googlebot, Microsoft Bingbot & Applebot Global Search Engine Crawler Infrastructure | 66.249.64.0/19, 40.77.167.0/24, 52.167.0.0/16, 207.46.13.0/24, 17.166.0.0/16 | Verified search indexing & IndexNow verification bots | 200 OK (Whitelisted) |
Dual-Layer Edge & Browser Telemetry Architecture
Why Blocking "Singapore" in Cloudflare Fails to Stop Singapore GA4 Visits
Cloud scrapers on Alibaba Cloud (AS45102 — registered corporately as "Alibaba (US) Technology Co., Ltd.") and Tencent Cloud (AS132203) operate multi-region proxy pools. When you block Country = Singapore in Cloudflare, the scraper fetches your HTML through an IP subnet registered under the US, Hong Kong, or Thailand in MaxMind (such as 43.138.0.0/16 or 150.109.0.0/16). Once the headless browser executes layout.js, it sends the Google Analytics /g/collect beacon from its Singapore exit cluster (43.172.0.0/16 or 47.82.0.0/16) — or Google’s internal GeoIP database maps that cloud block to its physical Singapore data center. Blocking by ASN and CIDR rather than Country eliminates the entire proxy pool regardless of GeoIP registration.
How 1 Headless Visit Spawns 25 Sub-Requests Across 25 Different IPs (?_rsc=)
Production Nginx logs reveal that a single headless Chromium visit does not use one IP address. When loading a single page, the scraper’s proxy middleware assigns a different IP from 43.172.0.0/16, 43.173.0.0/16, or 47.82.0.0/16 to every sub-request (JS chunks, CSS, and 20+ Next.js ?_rsc= React Server Component link prefetches) within a 3-second window. Because each IP only makes 1 or 2 requests, traditional per-IP rate limiters (limit_req_zone or Cloudflare Rate Limiting) never trigger. Utilvo EdgeShield blocks the entire /10 and /16 cloud scraper allocations on the very first HTML request (130-byte HTTP 403), preventing all 25+ downstream sub-requests.
Detecting Headless Chrome via WebGL SwiftShader, llvmpipe & OS Platform Mismatch
Stealth headless scrapers routinely spoof desktop User-Agents (e.g., "Macintosh; Intel Mac OS X 10_15_7 ... Chrome/148.0.0.0") and patch navigator.webdriver. However, cloud VMs in Singapore data centers lack physical Apple Silicon or discrete GPUs. When Chromium renders in headless or Xvfb mode on a Linux server, two unforgeable hardware discrepancies emerge: (1) navigator.platform reports "Linux x86_64" while User-Agent claims "Macintosh", and (2) WebGL WEBGL_debug_renderer_info exposes a CPU software rasterizer ("Google SwiftShader", "llvmpipe", or "Mesa OffScreen"). Utilvo’s client-side GA4 Bot Guard checks both signals in < 0.4ms and aborts gtag.js before a fake session can be recorded.
Why Standard Nginx "deny" Rules Fail on CloudPanel & Cloudflare Proxies
On servers behind Cloudflare (including default CloudPanel, HestiaCP, and cPanel Nginx proxies where real_ip_header is commented out or restricted), Nginx’s native $remote_addr variable contains Cloudflare’s edge node IP (e.g., 172.70.x.x or 104.23.x.x) rather than the visitor’s real IP. Standard Nginx "deny 43.173.0.0/16;" rules inspect $remote_addr and silently fail to match any traffic. Utilvo EdgeShield evaluates a composite map across "$http_cf_connecting_ip:$http_x_forwarded_for:$remote_addr", guaranteeing instant enforcement whether traffic arrives via Cloudflare, a load balancer, or direct socket connection.
jsr:@utilvo/edge-shieldimport {
inspectServerRequest,
generateCloudflareWafExpression,
EDGE_SHIELD_FEEDS,
} from "jsr:@utilvo/edge-shield";
const verdict = inspectServerRequest(
"43.173.182.197",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/117.0.0.0"
);
if (verdict.isBot) {
console.log("Blocked rotating cloud scraper:", verdict.reasons);
}Frequently Asked Technical Questions
Why am I seeing spikes of fake bot traffic from Singapore and China in Google Analytics 4 even after blocking those countries in Cloudflare?
Modern AI training and SEO scrapers run headless Chromium clusters on cloud providers like Tencent Cloud (AS132203), Alibaba Cloud (AS45102), and Huawei Cloud (AS136907) using per-request rotating proxy pools. Many of their ingress subnets (such as 43.138.0.0/16 or 43.153.0.0/16) are registered under US or Hong Kong entities in MaxMind's GeoIP database, allowing them to bypass a Cloudflare 'Country = Singapore' rule. Once the HTML and gtag.js load, the headless browser dispatches its /g/collect beacon to Google Analytics through a Singapore cloud exit node (such as 43.172.0.0/16, 43.173.0.0/16, or 47.82.0.0/16), causing GA4 to attribute the session to Singapore.
Why does Cloudflare 'Under Attack Mode' stop these visits, and why shouldn't I leave it enabled permanently?
Cloudflare Under Attack Mode enforces an interstitial JavaScript and cookie challenge (cf_clearance) across all countries before serving HTML. Because rotating-IP headless scrapers switch IP addresses on every sub-request and lack valid browser attestation, they fail the challenge. However, leaving Under Attack Mode permanently enabled blocks or degrades legitimate crawlers (including Bingbot, IndexNow verifiers, RSS readers, and social preview bots) and adds a 5-second friction barrier for real visitors. Utilvo EdgeShield blocks the exact cloud scraper ASNs and headless fingerprints without challenging human visitors or search engines.
Will Utilvo EdgeShield conflict with Googlebot, Bingbot, IndexNow, or my existing Nginx configuration?
No. Utilvo EdgeShield uses isolated Nginx map directives prefixed with $utilvo_ and evaluates a strict search engine whitelist ($utilvo_is_seo_bot) before any block rule. Official crawlers from Google (AS15169), Microsoft Bing (AS8075), Apple (AS714), DuckDuckGo, and payment webhooks (Stripe, PayPal) always evaluate to allow (0). Furthermore, the one-line installer runs nginx -t before reloading and automatically rolls back if any syntax conflict is detected.
How does Utilvo EdgeShield detect Headless Chrome bots that spoof their User-Agent and hide navigator.webdriver?
Even when a stealth Puppeteer or Playwright scraper patches navigator.webdriver and spoofs a macOS or Windows User-Agent (e.g. 'Macintosh; Intel Mac OS X 10_15_7 ... Chrome/148.0.0.0'), it runs inside a Linux cloud virtual machine without a physical Apple or NVIDIA GPU. Utilvo's GA4 Bot Guard inspects three unforgeable browser signals: (1) OS/Platform discrepancy (e.g. Macintosh User-Agent running on navigator.platform 'Linux x86_64'), (2) WebGL software rasterizer strings via WEBGL_debug_renderer_info ('Google SwiftShader', 'llvmpipe', 'Mesa OffScreen', 'Subzero'), and (3) legacy DevTools mobile emulation strings ('CPU iPhone OS 13_2_3').
Why does Nginx behind Cloudflare or CloudPanel fail to block IPs with standard 'deny' rules?
When a server sits behind Cloudflare without real_ip_header CF-Connecting-IP or X-Forwarded-For active, Nginx's $remote_addr variable contains Cloudflare's edge proxy IP (e.g. 172.70.x.x or 104.23.x.x) rather than the visitor's IP. Standard 'deny' directives in /etc/nginx/blocked_ips only inspect $remote_addr. Utilvo EdgeShield inspects $http_cf_connecting_ip, $http_x_forwarded_for, and $remote_addr simultaneously via regex map tables, ensuring instant 403 blocking whether Cloudflare proxy is orange-clouded or grey-clouded.
How does per-request IP rotation amplify server load on Next.js and React applications?
In Next.js App Router applications, viewport <Link> components automatically trigger React Server Component (?_rsc=) prefetch requests. When a headless Chromium scraper opens a single page, it executes page JavaScript and fires 15 to 30 concurrent ?_rsc= requests, routing each request through a different IP inside subnets like 43.172.0.0/16 or 47.82.0.0/16. This bypasses per-IP rate limiters while multiplying Node.js CPU and bandwidth consumption by 25x. Blocking the initial request with HTTP 403 at Nginx eliminates all downstream chunk and ?_rsc= prefetches.
How does the Utilvo EdgeShield Threat Database update automatically and validate community reports?
Utilvo EdgeShield combines automated BGP/ASN prefix feeds with a community threat reporting API (/api/edge-shield/report). Every submitted IP or access.log entry passes through an automated Safe-Harbor Validator that rejects private RFC 1918 ranges, Cloudflare edge proxy nodes, and verified search engine crawlers (Googlebot, Bingbot, Applebot) before scoring the threat and publishing it to the live CIDR and Nginx feeds.
Does the client-side GA4 Bot Guard slow down page load speed or hurt Core Web Vitals (LCP/INP)?
No. The GA4 Bot Guard executes in under 0.4 milliseconds after interactive hydration and is less than 1 KB minified. Instead of slowing down the page, it saves bandwidth and main-thread execution on bot visits by preventing the 110 KB Google Tag Manager / gtag.js bundle from downloading when a headless scraper is detected.