{{define "content"}} {{$s := .Data.S}}

Settings

Server configuration, stored in the database.

{{template "settingsnav" .}}
Block page server
Point a policy's sinkhole address at this host, and a browser that lands here instead of the real site sees the page below. Ports below 1024 need root or CAP_NET_BIND_SERVICE.
HTTPS is served with a self-signed certificate generated per hostname on the fly — browsers will show a trust warning, which is expected: this is not the real site's certificate.

{{if .Data.Running}}Listeners running{{else}}Listeners stopped{{end}}
HTTP
{{if .Data.BoundHTTP}}{{.Data.BoundHTTP}}{{else}}—{{end}}
HTTPS
{{if .Data.BoundHTTPS}}{{.Data.BoundHTTPS}}{{else}}—{{end}}
Available placeholders

Filled in per request by re-evaluating the requesting client against the policy engine, the same way a DNS query would be.

{{"{{.Domain}}"}}
Requested hostname
{{"{{.ListName}}"}}
Matched blocklist name
{{"{{.MatchedDomain}}"}}
Matched list entry
{{"{{.PolicyName}}"}}
Matched policy name
{{"{{.NetworkName}}"}}
Matched client network
{{"{{.ClientIP}}"}}
Requesting address
{{"{{.RequestPath}}"}}
URL path requested
{{"{{.Scheme}}"}}
http or https
{{"{{.Timestamp}}"}}
Time of the request
HTML editor
Standard Go template syntax. A broken template falls back to a plain built-in page rather than breaking the listener.
Preview
{{end}}