Aegisify company logo
Application-Layer DDoS Protection (Layer 7)2026-08-13T22:13:52+00:00
Aegisify WAF — Layer 7 DDoS

WordPress Application-Layer DDoS Protection: Progressive Rate Control for Expensive PHP Traffic

Aegisify WAF 1.20.13 tracks request pressure by source and WordPress traffic group, then escalates from browser challenge to HTTP 429 rate limiting and temporary blocking as configured thresholds are crossed. It is designed for application-layer floods that reach WordPress/PHP—not as a replacement for edge or network-level volumetric mitigation.

Not every traffic spike should receive the same response.
A login flood, XML-RPC burst, REST surge, search storm, and ordinary page traffic consume different resources. Aegisify applies separate thresholds so expensive surfaces can be defended more aggressively.

1CountIP + request group
2EscalateChallenge → 429
3BlockCooldown + evidence

Progressive Enforcement

How the DDoS Engine Responds to Repeated Requests

The current engine uses one-minute source counters and endpoint-group thresholds. It escalates only when traffic crosses the configured levels for that group.

Click a stage to expand

01GroupIdentify the surface
Aegisify classifies traffic into groups such as global, wp-login, XML-RPC, wp-admin, admin-ajax, wp-cron, REST, search, and cache-bypass activity so high-cost paths do not have to share one threshold.
02CountSource + group
The engine increments a short-lived shared counter for the source and matched group in the current one-minute bucket. A supported shared counter backend is required for this layer to make a decision.
03ChallengeFirst escalation
When the challenge threshold is crossed, browser-capable requests can be presented with the configured challenge flow. This creates friction before the request volume reaches the rate-limit or block threshold.
04Rate LimitHTTP 429
At the next threshold Aegisify can return a rate-limit decision, reducing repeated PHP-level request processing while still distinguishing that condition from a full temporary block.
05Temporary BlockHTTP 403 + cooldown
When the block threshold is reached, the source/group combination enters a temporary cooldown. The default cooldown is 300 seconds and the block is registered with the WAF block-management system.
06InvestigateVisuals + Attack Story
DDoS visual intelligence shows hourly challenge/rate/block trends, actions by request group, overall action distribution, and source pressure. Logs and Attack Story provide the fuller request evidence.
Default Threshold Model

Different WordPress Surfaces Receive Different 60-Second Thresholds

The defaults show the intended risk model. Administrators should tune them against real application traffic before making them more aggressive.

01 — Global

300 / 420 / 600

Ordinary traffic uses challenge, rate-limit, and block defaults of 300, 420, and 600 requests per minute per source. This is the broadest request group.

02 — Login

20 / 35 / 60

wp-login.php uses materially lower thresholds because repeated authentication requests are expensive and frequently abused.

03 — XML-RPC

5 / 8 / 12

XML-RPC has the tightest default profile. Sites that intentionally depend on XML-RPC should validate expected clients before enabling aggressive enforcement.

04 — Admin Surfaces

80/120/180 and 120/180/260

wp-admin defaults to 80/120/180, while admin-ajax.php defaults to 120/180/260. Authenticated users can be excluded from DDoS checks with the default ignore-logged-in setting.

05 — REST & Cron

160/220/320 and 25/40/70

REST allows more traffic by default, while wp-cron.php uses lower thresholds. Integrations and background jobs should be tested because legitimate automation may generate bursts.

06 — Search & Cache Bypass

35/55/90 and 40/60/90

Search and cache-bypass query patterns receive lower thresholds because they can force dynamic PHP/database work that bypasses ordinary page caching.

Operational Requirements

Rate Enforcement Depends on Shared Counters

A request-rate control must see consistent state across PHP requests.

Aegisify uses a supported shared counter backend for DDoS state. The current implementation recognizes a compatible persistent WordPress object cache or APCu, with an integration filter available for another supported implementation. If no shared backend is available, the DDoS engine does not pretend that per-minute counters are working.

This matters on multi-process PHP environments because process-local memory is not enough to provide reliable cross-request counting. Administrators should confirm the counter backend shown by the WAF before relying on application-layer rate enforcement.

Deployment boundary: even with shared counters, this protection runs after traffic has reached the web server and PHP. Use a CDN, reverse proxy, hosting mitigation, or network control for bandwidth saturation and large volumetric floods.
Emergency Controls

Tighten Thresholds During an Active Application-Layer Flood

Emergency Mode reduces configured thresholds without requiring every group to be edited individually.

Emergency Multiplier

Reduce Thresholds as a Group

The default emergency multiplier is 0.50, which halves the configured challenge, rate-limit, and block thresholds. The implementation bounds the multiplier between 0.10 and 1.00.

Minimum Floors

Avoid Collapsing to Zero

Emergency thresholds retain minimum floors. The default minimums are 3 requests for challenge, 5 for rate limiting, and 8 for blocking, preserving a progressive order even when normal thresholds are sharply reduced.

Recovery

Use Emergency Mode Temporarily

Emergency Mode is an incident control, not a permanent tuning shortcut. After the event, review DDoS evidence, restore normal thresholds, and determine whether a narrow group requires a durable change.

Exceptions and Block Management

Protect Known Operations Without Hiding Attack Traffic

Exceptions should be narrow because broad allowlists can defeat rate controls.

01

Ignore Logged-In Users Where Appropriate

The default configuration excludes authenticated users from DDoS checks. This can reduce administrative friction, but it should not be treated as a substitute for authentication security.

02

Use IP or CIDR Allowlists Carefully

Trusted infrastructure can be excluded by specific IP or CIDR. Keep entries narrow and review them periodically because allowlisted sources bypass this DDoS decision layer.

03

Review Temporary Blocks Centrally

DDoS blocks are registered with Aegisify WAF’s temporary block system so administrators can review active sources, release an incorrect block, or promote a source into a separately managed permanent block when warranted.

DDoS Intelligence

Use the Dashboard to Tune Thresholds Against Real Traffic

The current DDoS page includes four visual perspectives on enforcement pressure.

1Hourly TrendCompare challenge, rate-limit, and block activity across the last 24 hours.
2Request GroupsSee which protected surfaces are generating DDoS decisions over the longer evidence window.
3Action MixUnderstand whether the policy is mostly challenging, throttling, or blocking.
4Source PressureCompare total DDoS events and maximum per-minute pressure for top observed sources.

Protect High-Cost WordPress Paths

Use Progressive Rate Control Where PHP and Database Work Is Most Expensive

Validate the shared counter backend, review expected traffic, and tune login, REST, search, AJAX, cron, and other thresholds deliberately.

Get Started

Layer 7 DDoS FAQ

Common Questions About Application-Layer DDoS Protection

Does Aegisify stop volumetric network DDoS attacks?

No. Aegisify WAF handles request pressure that reaches WordPress/PHP. Keep edge, CDN, reverse-proxy, hosting, and network mitigation for bandwidth saturation and attacks that should be stopped before PHP.

What happens if no shared counter backend is available?

The DDoS engine cannot make reliable per-minute decisions from its built-in shared counter path. Confirm a supported persistent object cache, APCu, or supported integration before relying on this layer.

Why are XML-RPC and login thresholds lower?

They are high-value, frequently abused WordPress surfaces where repeated requests can consume authentication or application resources. If the site legitimately depends on those interfaces, tune against real traffic before enforcement.

Should Emergency Mode stay enabled?

Normally no. It is designed to tighten thresholds during active pressure. After the event, return to normal policy and make any long-term threshold change based on evidence.

Aegisify WAF DDoS Shield

Reduce WordPress Request Flooding With Progressive, Endpoint-Aware Controls

Layer application-level rate enforcement with edge capacity protection so abusive PHP traffic is constrained without pretending one control can stop every DDoS condition.