{{define "admin_bans.html"}}{{template "base" .}}{{end}} {{define "content"}}

Operator console

{{.Data.PageTitle}}

Manual IP/CIDR bans and optional automatic abuse protection.

Open logs
{{if .Data.Bans.Notice}}
{{.Data.Bans.Notice}}
{{end}} {{if .Data.Bans.Error}}
{{.Data.Bans.Error}}
{{end}}
Active bans{{.Data.Bans.ActiveCount}}
Expired{{.Data.Bans.ExpiredCount}}
Unbanned{{.Data.Bans.UnbannedCount}}
Auto-ban{{if .Data.Bans.Settings.AutoBanEnabled}}Enabled{{else}}Off{{end}}

Manual ban

Auto-ban settings

Ban records

Active records block requests before the normal route handler runs.

{{range .Data.Bans.Bans}} {{else}} {{end}}
Target Reason Source Status Expires Last match Actions
{{.Target}} {{.Reason}} {{.Source}} {{.Status}} {{.ExpiresAt}} {{.LastMatched}} {{if eq .Status "active"}}
{{else}} No action {{end}}
No bans match this filter.

Malicious path rules

One case-insensitive substring per line. These rules only create bans when auto-ban is enabled.

{{end}}