apacheedgeshield

package module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Utilvo EdgeShield for Apache 2.4, LiteSpeed & cPanel (v1.1.0)

Production-ready Apache HTTP Server 2.4 (mod_authz_core, mod_remoteip, mod_setenvif) and .htaccess (mod_rewrite) bot firewall configurations powered by Utilvo EdgeShield.

Blocks rotating-IP headless Chromium clusters from Tencent Cloud (AS132203), Alibaba Cloud (AS45102), and Huawei Cloud (AS136907) at the Apache edge while guaranteeing 100% SEO Safe-Harbor for verified Googlebot, Bingbot, and Applebot crawlers.


1. Automated 1-Line Installer (Ubuntu / Debian apache2 & RHEL / AlmaLinux / cPanel httpd)

curl -sSL https://utilvo.com/edge-shield/install.sh | sudo bash -s -- --server=apache
  • Automatically detects apache2ctl or httpd.
  • Enables mod_remoteip, mod_setenvif, mod_authz_core, and mod_rewrite.
  • Installs /etc/apache2/conf-available/utilvo-edge-shield.conf (or /etc/httpd/conf.d/utilvo-edge-shield.conf).
  • Validates syntax via apache2ctl -t / httpd -t with automatic rollback and sets up daily Threat DB cron synchronization.

2. Native Apache 2.4 CIDR Radix-Tree Config (apache-bot-shield.conf)

Unlike regex-heavy RewriteCond chains, Apache 2.4's mod_authz_core compiles Require not ip CIDR prefixes (43.128.0.0/10, 47.74.0.0/15, etc.) into an in-memory radix tree evaluated in microseconds:

<IfModule mod_authz_core.c>
    <Location "/">
        <RequireAny>
            Require env utilvo_seo_safe
            <RequireAll>
                Require all granted
                Require not env utilvo_bad_bot_ua
                Require not ip 43.128.0.0/10 101.32.0.0/15 119.28.0.0/16 124.156.0.0/16
                Require not ip 43.119.0.0/16 47.74.0.0/15 47.82.0.0/16 47.88.0.0/15 8.208.0.0/12
                Require not ip 149.232.0.0/16 159.138.0.0/16 114.119.0.0/16 46.250.0.0/16
            </RequireAll>
        </RequireAny>
    </Location>
</IfModule>

3. Shared Hosting / cPanel / LiteSpeed / WordPress (.htaccess)

For environments without root access to /etc/apache2, drop .htaccess into public_html/.htaccess to inspect both CF-Connecting-IP and REMOTE_ADDR.

License

MIT License — Utilvo Security Research.

Documentation

Overview

Package apacheedgeshield provides official Apache 2.4 (mod_authz_core, mod_remoteip, mod_setenvif) and .htaccess bot firewall configurations and live CIDR feed endpoints for Utilvo EdgeShield v1.1.0.

Interactive Apache & Nginx Configurator: https://utilvo.com/edge-shield

Direct Raw Apache 2.4 Config: https://utilvo.com/edge-shield/apache-bot-shield.conf

Live Threat Intelligence Feed (JSON): https://utilvo.com/api/edge-shield/threats

Live Threat Intelligence Feed (Plain-Text CIDR): https://utilvo.com/api/edge-shield/threats?format=cidr

Index

Constants

View Source
const ApacheConfURL = "https://utilvo.com/edge-shield/apache-bot-shield.conf"

ApacheConfURL is the raw downloadable Apache 2.4 configuration file.

View Source
const EdgeShieldURL = "https://utilvo.com/edge-shield"

EdgeShieldURL is the interactive Apache 2.4 & Nginx bot firewall generator.

View Source
const ThreatFeedCIDRURL = "https://utilvo.com/api/edge-shield/threats?format=cidr"

ThreatFeedCIDRURL is the plain-text IPv4 CIDR blocklist feed.

View Source
const Version = "1.1.0"

Version is the release version of the Utilvo EdgeShield Apache 2.4 suite.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL