CLOFIX AGENT v1.0

Lightweight CloFix Nano Agent

Deploy a resilient, server-side validated security agent that filters all ingress traffic. Smart caching and automatic fallback ensure your services stay up, even when the control plane is down.

Server-side validation$5/domainSmart fallbackK8s native99.99% SLA

01 What is the CloFix Agent?

The CloFix Agent is a lightweight, high-performance security proxy that runs inside your Kubernetes cluster as a DaemonSet. It intercepts all incoming traffic and validates each request against a central CloFix API Server.

🎯 Core Design Philosophy
βœ… All security rules and licenses are managed on the server (central control plane).
βœ… The agent is stateless, caching decisions for high performance.
βœ… If the server becomes unreachable, the agent enters fallback mode for zero downtime.

02 Key Benefits

πŸ›‘οΈ Complete OWASP Top 10 Protection
Full coverage against A01-A10 vulnerabilities including Injection, Broken Auth, XSS, SSRF, and more. 99.9% attack detection rate.
πŸ”§ Multi-Script Security Engine
Write rules in JSON, Lua, Python, JavaScript, or Go plugins. Auto-reload on changes. 10x faster than traditional WAFs.
⚑ Ultra-Low Latency
95% cache hit rate, <5Β΅s processing for cached requests. Handles 50k+ RPS on single node.
πŸ” Enterprise License Control
Domain-based licensing, IP whitelisting, monthly quota, agent limits, and feature-based access control.
🌐 Multi-Platform Support
Nginx, Apache, HAProxy, Traefik, Caddy, AWS ALB, K8s Ingress, Cloudflare Workers, and Istio.
🐳 Kubernetes Native
DaemonSet with hostNetwork, Helm chart, Prometheus metrics, and automatic sidecar injection.

OWASP Top 10 Complete Vulnerability Coverage

A01:2021

Broken Access Control

  • Path-based authorization checks
  • Forceful browsing prevention
  • Directory traversal detection
  • IDOR protection
A02:2021

Cryptographic Failures

  • TLS/SSL enforcement
  • Weak cipher detection
  • Secure header injection (HSTS, CSP)
  • Sensitive data exposure prevention
A03:2021

Injection Flaws

  • SQL/NoSQL Injection prevention
  • Command Injection blocking
  • LDAP Injection protection
  • ORM Injection detection
A04:2021

Insecure Design

  • Rate limiting & brute force prevention
  • Request throttling
  • Business logic flaw detection
  • Input validation rules
A05:2021

Security Misconfiguration

  • Security headers enforcement
  • Directory listing blocking
  • Default path protection
  • Debug mode detection
A06:2021

Vulnerable Components

  • CMS vulnerability blocking
  • Framework-specific attack prevention
  • Plugin vulnerability detection
  • Known exploit pattern matching
A07:2021

Identification & Auth Failures

  • Brute force protection
  • Credential stuffing prevention
  • Session hijacking detection
  • JWT validation
A08:2021

Software & Data Integrity

  • Deserialization attack prevention
  • Object injection detection
  • Parameter tampering protection
  • Request integrity validation
A09:2021

Security Logging Failures

  • Detailed attack logging
  • Audit trail generation
  • Alert webhooks (Slack, email)
  • Prometheus metrics integration
A10:2021

Server-Side Request Forgery

  • Internal IP blocking
  • Metadata endpoint protection
  • URL allowlist/blocklist
  • Port scanning prevention

Supported Platforms & Integrations

🟒

Nginx

Native auth_request module. Sub-request authentication with <5ms overhead.

auth_request /clofix-auth;
🟑

Apache

mod_auth_request + mod_proxy. Full compatibility with Apache 2.4+.

AuthRequest "/clofix-auth"
⎈

K8s Nginx Ingress

ExternalAuth with DaemonSet. Prometheus metrics. Auto-scaling with HPA.

nginx.ingress.kubernetes.io/auth-url
☁️

AWS ALB

AWS Load Balancer Controller. Target group routing with forward auth.

alb.ingress.kubernetes.io/auth-type: forward
πŸ”„

Traefik

ForwardAuth middleware. Native Kubernetes CRD support.

forwardAuth.address: http://clofix-agent:8080
πŸ”·

Istio

EnvoyFilter with external auth. Service mesh integration.

CUSTOM action with ext_authz
πŸš€

Caddy

Forward auth directive. Automatic HTTPS support.

forward_auth http://clofix-agent:8080
⚑

HAProxy

Lua-based external authentication. High-performance with <100Β΅s overhead.

http-request lua.clofix-validate

Performance Metrics

99.99%
Uptime SLA
50k+
RPS per node
95%
Cache hit rate
50MB
Memory footprint
5min
Setup time

03 Simple, Transparent Pricing

πŸš€ For Production

Starter

$5/month
+ $5 per domain
  • Up to 1 IP
  • 1 domain included
  • 50K requests/month
  • Email support
  • 99.9% SLA
  • Slack notifications
πŸ’š For Community
OPEN SOURCE SPIRIT

CloFix WAF Community

Free forever
No credit card required - never converts to paid

Core Security

  • Up to 3 agents
  • 3 domain included
  • 50,000 requests / month
  • OWASP Top 10 Security
  • Weekly rule updates

Monitoring

  • prometheus
  • Email alerts (5 per month)
  • 99.5% SLA uptime guarantee

Integration

  • πŸ™ GitHub Access included

Support

  • Community forum support
  • Community life time free
  • Documentation access
  • Discord community
  • Training Session

Forever free for open source projects, homelabs, and learning

04 Domain-Based Pricing

How Domain Pricing Works

Each protected domain costs $5/month. You can protect any number of domains based on your plan's included domains + additional domains.

example.com β†’ $5/monthapi.example.com β†’ $5/month*.staging.com β†’ $5/monthdashboard.company.com β†’ $5/month
πŸ“Š Example Calculation
Professional Plan ($45/month) includes 10 domains.
If you need 20 domains β†’ $45 + (10 Γ— $5) = $95/month
Each additional domain beyond included limits is just $5/month.
No per-request fees – Flat pricing
No egress charges
No SSL termination fees
Free 24/7 support
No upgrade costs

05 Compliance Ready

PCI DSS 4.0

Complete logging & auditing for payment card industry.

GDPR

Data anonymization and privacy controls.

HIPAA

Audit trails for healthcare data.

SOC2

Access controls and security monitoring.

ISO 27001

Information security management certified.

06 Domain-Based Filtering

🌐 How Domain Filtering Works
βœ… Allowed Domains (Server-Side) - Configure which domains the agent protects.
βœ… Bypass for Other Domains - Requests to non-configured domains pass through without validation.
βœ… Central Management - All domain configurations are stored on the API server.
βœ… Per-Domain Pricing - $5 per domain per month.
json
{"license_key": "CLOFIX-XXXX", "allowed_domains": ["example.com", "api.example.com"], "bypass_others": true}

07 High Availability

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Normal Operation (Server UP)               β”‚
β”‚  Request β†’ Agent β†’ API Server β†’ Validation β†’ Allow/Block β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                         ⬇
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚            Server DOWN (Automatic Fallback)              β”‚
β”‚  Request β†’ Agent β†’ Cache β†’ Bypass/Deny β†’ Service Continuesβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
πŸ”„ Fallback Modes
Bypass: Allow all when server down (High availability)
Cache Only: Use cached decisions
Deny: Block when server down (Maximum security)

08 Scalability

                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚   Load      β”‚
                    β”‚  Balancer   β”‚
                    β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
           β”‚               β”‚               β”‚
      β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”
      β”‚ Agent 1 β”‚     β”‚ Agent 2  β”‚    β”‚ Agent N  β”‚
      β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜
           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                            β”‚
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”
                    β”‚   API Server  β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

09 Protected Against

SQL Injection (Union, Time-based, Boolean blind)
XSS (Reflected, Stored, DOM-based)
Path Traversal & LFI/RFI
Command Injection
SSRF & CSRF
Bot attacks & Scrapers
DDoS & Brute force
API abuse & GraphQL attacks
Credential stuffing
Log4Shell & Zero-day exploits
Session hijacking & Fixation
Email spoofing & Phishing
Malicious file uploads
XXE & XML attacks
Deserialization attacks
Cloud metadata access (AWS/GCP/Azure)
Rate limiting bypass attempts
IP spoofing & rotation attacks
And more...

10 Core Benefits Summary

CategoryBenefitImpact
Security99.97% threat detectionBlocks SQLi, XSS, bot attacks
Performance<2ms latencyNo noticeable slowdown
Availability99.99% SLASmart fallback when server down
Cost70-80% reductionLower than traditional WAF
Pricing$5/domainPay only for what you protect

11 How to Integrate

bash
# Deploy agent as DaemonSet
kubectl apply -f https://clofix.com/k8s/clofix-agent-daemonset.yaml

# Configure ingress with auth-url
kubectl annotate ingress my-app \
  nginx.ingress.kubernetes.io/auth-url="http://clofix-agent:8080/validate"

12 Where to Integrate

Select a service from the left panel to see detailed setup steps and configuration snippets.

Nginx

auth_request module

Apache

mod_auth_request

K8s Nginx Ingress

auth-url annotation

AWS ALB

Lambda / Target group

Traefik

ForwardAuth middleware

Istio

EnvoyFilter ext_authz

Caddy

forward_auth directive

HAProxy

http-request / lua

Nginx Integration

nginx.conf snippet
upstream clofix_agent { server 127.0.0.1:8080; }\nserver {\n    location = /clofix-auth { internal; proxy_pass http://clofix_agent/validate; }\n    location / { auth_request /clofix-auth; proxy_pass http://backend; }\n}
Make sure CloFix Nano Agent is running on port 8080 with valid license.

13 Features

FeatureDescription
Server-side validationAgent forwards request to central API for decision
Smart caching90% cache hit rate, configurable TTL
Domain filteringOnly configured domains are validated
Per-domain pricing$5 per domain – pay only for what you protect
Fallback modesbypass / cache_only / deny when server down
Prometheus metricsRequest counts, latency, cache hit ratio

14 Deployment

bash
# DaemonSet (K8s)
kubectl apply -f https://clofix.com/k8s/agent-daemonset.yaml

# Docker
docker run -d --name clofix-agent -p 8080:8080 clofix/agent:latest

# Binary
./clofix-agent --license=YOUR_KEY --api=http://api.clofix.com:8081

15 FAQ

❓ How does domain pricing work?
Each domain you protect costs $5/month. Your plan includes a certain number of domains.
❓ What if I have 100 domains?
Enterprise plan offers unlimited domains with volume discounts.
❓ Does the agent store security rules?
No. Only caches decisions. Rules are on the API server.
❓ What if API server is down?
Enters fallback mode (bypass/cache_only/deny). No downtime.
❓ Is there a free trial?
Yes! Contact us for a 14-day free trial with 5 domains included.