Fix filter debug pharsing, add normalizion and write temp-files to check with fail2ban-regex

This commit is contained in:
2025-11-18 09:25:15 +01:00
parent ced2d0f3e0
commit 5044a589ca
7 changed files with 112 additions and 82 deletions

View File

@@ -28,7 +28,7 @@ type Connector interface {
// Filter operations
GetFilters(ctx context.Context) ([]string, error)
TestFilter(ctx context.Context, filterName string, logLines []string) ([]string, error)
TestFilter(ctx context.Context, filterName string, logLines []string) (string, error)
}
// Manager orchestrates all connectors for configured Fail2ban servers.