eWAF combines the intelligent dynamic routing of Java with the raw C++ power of NGINX and ModSecurity. Build a zero-trust architecture in seconds.
Heavy assets (images, videos) are automatically offloaded to NGINX via X-Accel-Redirect. Zero Java heap exhaustion.
Toggle OWASP Core Rule Set on a per-route basis. Isolate malicious traffic in a dedicated C++ engine before it hits your app.
Native engine parses and manipulates JSON payloads and HTML anchors dynamically to fix broken backend paths seamlessly.
The easiest and recommended way to run eWAF is using the provided Docker Compose file. This ensures NGINX, ModSecurity, and the Java Core are perfectly synchronized.
git clone https://github.com/whitehatlabs000/eWAF.git
cd eWAF
sudo apt update
sudo apt install openjdk-17-jdk -y
chmod +x mvnw
./mvnw clean install
docker compose --profile prod up -d --build
Once running, access the Admin Dashboard at http://localhost/login.
eWAF does not process everything in a single thread. It acts as an orchestrator:
X-Accel-Redirect.Routes can be managed in real-time without restarting the server. In the Admin Dashboard, configure: