diff --git a/config.go b/config.go index f3e59a2f..a782980b 100644 --- a/config.go +++ b/config.go @@ -60,3 +60,16 @@ func CreateConfig() *Config { } } +type compiledConfig struct { + Config + banDuration time.Duration + scoreWindow time.Duration + whitelist []netip.Prefix + trustedProxies []netip.Prefix + blockedAgents []string + blockedPaths []string + blockedExts []string + randomPaths []string + clientIPHeader string +} +