This is a WAF plugin for Caddy Server using Chaitin SafeLine as backend engine.
(waf) {
route {
waf_chaitin {
waf_engine_addr 169.254.0.5:8000 169.254.0.6:8000 169.254.0.7:8000
initial_cap 1 # initial connection of the engine
max_idle 16 # max idle connections
max_cap 32 # max connections
idle_timeout 30 # connections idle timeout
}
}
}
:8000 {
import waf
respond / "Hello, world!"
}
xcaddy build --with github.com/W0n9/caddy_waf_t1k
- Detection and Interception
- Pass the
remote_addr
to the Engine - Multi backend engine instances support, include Load Balance and High Availability