Semantic WAF engine
Signature and heuristic detection for SQL injection, XSS, RCE, path traversal and command injection.
- libinjection heuristics + Aho-Corasick matching
- Cloudflare-style expression rules
- Pass / Monitor / Block / Challenge verdicts
PingWAF is a distributed, centrally controlled Web Application Firewall. Define sites, rules and policies once in the control plane; every edge agent enforces them within seconds — no reload, no downtime.
Architecture
The control plane is the single source of truth for configuration. Agents only carry traffic and enforce policy, so you can scale the data plane without touching state.
Sites, rules, certificates and configuration versions live in PostgreSQL behind an Axum REST API, a tonic gRPC service and the embedded console.
Each agent keeps a disk-backed rule cache and keeps serving with the last known policy even when the control plane is unreachable.
SyncRules pushes a new bundle over the existing bidirectional stream; agents swap it in memory while requests keep flowing.
Clients
Browser / API client
Data plane · agent
Edge agent A
Edge agent B
Control plane · server
REST + dashboard
gRPC ControlPlane
PostgreSQL
Elasticsearch
Origin
Upstream pools
Capabilities
Every protection ships disabled and is enabled per site, so nothing changes your traffic behaviour until you ask it to.
Signature and heuristic detection for SQL injection, XSS, RCE, path traversal and command injection.
Absorb floods and separate real browsers from scripts with layered challenges.
Decide who reaches the origin by address, region and request dimension.
Route, balance and cache without leaving the console.
Certificates issued at the edge and visible from one place.
Every request is auditable, and every configuration change is reversible.
Inside the console
The dashboard is compiled into the binary, so what you see is what the control plane knows.
Every rule, verdict and log line stays in your infrastructure — under a license that lets you change any of it.