Sites and nodes
Add and edit sites, use protection modes and the observation period report, configure protection policy, field types, identity authentication, dynamic protection and the waiting room per site, apply global configuration and batch actions, and manage nodes.
Sites and nodes (站点与节点) manages the protected websites and the nodes that run the data plane. Saved site configuration is pushed to every node automatically. Viewing needs the View protection policy (查看防护策略) permission, changes need Modify protection policy (修改防护策略), and the Nodes (节点) tab needs View system settings (查看系统设置).
Site list
Sites can be filtered by group, searched by domain, name or upstream, and shown as cards or a table. Cards show the domains, ports, type, certificate, group and a 24-hour block trend, with a marker when a certificate expires within 14 days, has expired or is missing.
At the top right are Global configuration (全局配置), Batch actions (批量操作) and Add site (添加站点). Each site's menu offers edit, switch protection mode, disable or enable, and delete. Deleting a site stops protecting its domains and removes its domains, upstreams and site-level settings permanently. Historical events and logs are kept.
The number of sites depends on the licence: 20 for Free and trial, 100 for Standard, unlimited for Professional and Enterprise. Beyond the limit the console reports that the licensed site limit has been reached.
Site types
| Type | Description |
|---|---|
| Reverse proxy (反向代理) | Protects an existing website and forwards to upstream servers. Recommended |
| Static site (静态站点) | Upload the website files (a .zip containing index.html) and the WAF serves them; single-page application mode is available |
| Redirect (重定向) | Only redirects to another address, without protection. Status 301, 302, 307 or 308, optionally keeping the path and query |
Add a site
Add site is a three-step wizard with a configuration summary on the right.
- Type and domains
- Domains: press Enter after each one. Wildcards such as
*.a.comand IP addresses are accepted. At least one is required. - Listening ports: HTTP or HTTPS for each port. The default is port 80 HTTP, with up to 10 ports.
- HTTPS certificate: Uploaded certificate (上传的证书, uploaded under Settings > Certificates), Automatic (Let's Encrypt) (自动申请) or DNS validation (wildcard) (DNS 验证(通配证书)). The last two need outbound access and are unavailable in offline deployments.
- Redirect HTTP to HTTPS: available when there is an HTTP port.
- Domains: press Enter after each one. Wildcards such as
- Upstream
- Upstream server addresses, for example
http://192.168.1.10:8080, up to 20. - With two or more upstreams, choose a load balancing method: round robin (default), weighted round robin, least connections, primary/backup, random or client IP hash. Primary/backup needs a health check.
- Health checks: active (path, interval, timeout, expected status) and passive (failure count, removal time, failure status codes).
- Path forwarding: send path prefixes to different upstreams, optionally stripping the prefix.
- Upstream server addresses, for example
- Name and mode
- Protection mode: Observe (观察, recommended; log without blocking) or Protect (防护). New sites default to Observe.
- Site name and group.
- Advanced settings: accept PROXY protocol, TLS presets (modern, recommended, compatible, custom) and HSTS.
Select Add and push (添加并下发) to finish. New sites start with the Rollout observation (上线观察) detection module preset: malformed protocol, HTTP smuggling and scanners are still blocked, and everything else is logged. Once there are no false positives, change to the Recommended preset in the site's Protection policy.
Protection modes
| Mode | Behaviour |
|---|---|
| Protect (防护) | Block and log |
| Observe (观察) | Log only. Events the site's thresholds would have blocked are marked as would block (本应拦截) |
| Maintenance (维护) | Inspection paused; requests go straight to the upstream. The site page shows a maintenance notice and Resume protection (恢复防护) |
Changing mode asks for confirmation.
Observation period report
When a site is in Observe mode, or has a detection module set to observe only, and the required number of days has passed (7 by default, set under New site defaults in Global configuration), the site page says how many days it has been observed. Select View observation period report (查看观察期报告).
The report gives a verdict: ready to switch to protection, or not yet, with the items still to handle. To be ready, all of the following must hold:
- The site has been observed for the required number of days.
- No open tuning suggestion has a confidence of 60 or higher.
- No accepted allow rule is still in shadow mode.
- There is no unexplained spike in would-block events.
The report shows the number of detections, would-block events, open suggestions and shadow allow rules, and lists tuning suggestions by type. Tick suggestions and choose Accept selected (采纳所选); allow-rule suggestions enter shadow mode first. At the bottom are Export PDF and Apply the Rollout observation preset and switch to protection (套用上线观察预设并切到防护).
Site details
| Tab | Contents |
|---|---|
| Basic information | Domains, ports, type, upstreams and load balancing, protection modules, creation and update times |
| Protection policy | Global value, site setting and effective value for each item: CRS protection level, allowed HTTP methods, parameter count limit (100 to 100000, default 5000), request body inspection limit (64 KiB to 12.5 MiB, default 1 MiB), detection modules, the OpenAPI specification for API security, and bot protection |
| Field types | Declare a field as rich text, code or opaque value, or a request body as form, JSON or binary, to reduce false positives. Can be imported from OpenAPI |
| Adaptive learning | For sites with precision mode on, learns which rule hits belong to normal traffic. Results can be revoked or restored |
| Identity authentication | Adds sign-in protection to the site; see Identity authentication |
| Dynamic protection | Randomises the page HTML on every response, for the whole site or selected paths, with exempt paths. Not available for redirect sites |
| Waiting room | Concurrency limit (default 100), active session time (default 300 seconds), when to activate (always or on surges), queueing (first come first served or random draw), refresh interval, queue limit and scope |
| Certificate | Source, issuer, TLS protocols and HTTP to HTTPS redirect, with an option to replace the certificate |
| Recent events | The site's latest security events |
Edit opens a side panel. Select Save and push (保存并下发) to apply changes.
Global configuration
| Section | Description |
|---|---|
| Real client IP | Trusted proxies, client IP headers, CDN origin templates and PROXY protocol sources, with a live check of the client IP resolved for the current request. CDN ranges are updated offline with the program or signed rule bundles, never fetched online |
| New site defaults | Values pre-filled when adding a site; existing sites are not affected: default protection mode, observation period, load balancing method, protection level, precision mode on for new sites, HTTP to HTTPS redirect, TLS preset, HSTS and default group |
| DNS validation credentials | DNS provider credentials for wildcard certificates: Alibaba Cloud DNS, Tencent Cloud DNSPod, Cloudflare and AWS Route 53. Secrets are never shown again after saving. Unavailable in offline deployments or without a master key |
If sites sit behind a CDN, load balancer or reverse proxy, configure trusted proxies and client IP headers here first. Otherwise security events, rate limits and bans see only the proxy's address.
Batch actions
Select sites by group or individually, then switch protection mode, enable, disable, move to a group, or apply one site's protection policy to others. Applying a policy copies the CRS level, module modes, precision mode, allowed methods and request body options, and leaves domains, upstreams, certificates and mode unchanged. All changes are pushed at once; if any site fails, nothing changes.
Nodes
The Nodes tab shows node health (online rate, online nodes, configuration in sync, 24-hour blocks and detections) and each node's recent health checks. Problems that need attention are listed at the top, such as overload, shared store unreachable, connection lost, configuration failed to apply, changed locally, version mismatch or certificate about to expire.
Node types are local, remote node, detection node and detection node (mirror). Select a node's name to open its details; the icon next to the name copies the node ID. The … menu offers Resync and Revoke; Delete appears only after a node is revoked. Node details show version and configuration, CPU load, memory, concurrent requests, queueing, overload, health checks, event types and upgrade history, and let you view node logs or start an upgrade.
Join node creates a single-use join token (valid for 1 hour, 24 hours or 7 days), checks connectivity step by step and shows the install command to run on the new server. Joining nodes needs the multi-node licence. Join tokens lists token states (valid, used, expired) and lets you revoke them. For the full procedure, see Multi-node and high availability.
With the control plane cold or hot standby enabled, the bottom of the page shows its status. It is read-only; for setup, see Upgrade and backup.
Console tour
Signing in to the console, the sidebar groups and menus, pages shown by permission, and what the overview page contains.
Monitoring
What the security operations dashboard, traffic analysis, security events, investigation, attack sources, attackers and logs pages are for, and how to use them.