diff --git a/config.go b/config.go index 477f3d4..db39b20 100644 --- a/config.go +++ b/config.go @@ -12,7 +12,7 @@ import ( type Config struct { Enabled bool `json:"enabled"` WAFURL string `json:"waf_url"` - ReturnPort int `json:"return_port"` // port for WAF async callbacks + ReturnPort int `json:"return_port"` HealthInterval int `json:"health_interval"` TimeoutMs int `json:"timeout_ms"` } @@ -33,9 +33,10 @@ var ( func defaultConfig() Config { return Config{ Enabled: false, - WAFURL: "http://10.1.0.11:8081", + WAFURL: "http://127.0.0.1:8080", + ReturnPort: 8080, HealthInterval: 5, - TimeoutMs: 3000, + TimeoutMs: 500, } } diff --git a/web/index.html b/web/index.html index 70ebf18..48443b7 100644 --- a/web/index.html +++ b/web/index.html @@ -27,13 +27,13 @@
- + The firewall service that inspects each request and returns a verdict.
- + WAF sends async verdicts/alerts to this port.
@@ -44,7 +44,7 @@
- +