Intelligence: attack families mapped to MITRE ATT&CK, network type from
ASN/rDNS without external APIs, request cadence, sessions with
recon/probe/exploit/access/banned stages, campaigns across IPs, verdict
with reasons, recommended actions, exposure detection (2xx with a body
on sensitive paths), STIX 2.1 export, FCrDNS for search engine bots,
optional Tor exit list.
Data: 30-day retention, twelve ranges plus custom from/to, an on-disk
event log (daily files, hourly gzip members, size cap, corruption and
disk-full tolerant), /events, /period, /metrics with stable per-hour
metrics, an extended /ip/{ip}, and peer /period merged on the hub.
Interface: layout system with fixed card sizes, range picker in the
URL, IP analysis page, Replay page, Geography down to state and city
(Natural Earth admin-1), Live page redesigned with stable metrics and a
reusable attack map. Demo data and documentation screenshots.
Security: bounded and deadline-limited period computations, linear
campaign clustering, singleflight caches, sanitized peer studies, event
query budgets, gzip bomb guard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 KiB
Interface
The dashboard is embedded in the binary: plain HTML, CSS and JavaScript, no build step and no external request (fonts, scripts and styles are all served by Urutau, which the Content-Security-Policy enforces). It follows the system light or dark theme, can be switched by hand, and speaks English or Portuguese (button in the header; the choice is remembered in the browser).
Login
Open the address of the instance. Without a session you are sent to /login: paste URUTAU_TOKEN. The session lasts 12 hours (urutau_session cookie, HttpOnly, SameSite=Strict) and is revocable: it holds a random id kept in memory, Log out revokes it (and closes its live stream), and a restart of the daemon invalidates every session. Login and logout reject cross-site requests. After 5 failures from the same address (IPv6 counted per /64) in 10 minutes the login answers 429, and a correct token is still accepted but after a 1 second delay, so the limiter cannot lock the owner out. Wrong bearer tokens on the API count as failures too. The address is the real client behind the proxies listed in --trusted-proxy.

Login: paste the access token.
Navigation
A side rail (a tab bar on phones) holds the pages. Each page opens with a sentence carrying the number that matters, and the active slice (range, host, domain) is always written under the title. The page lives in the URL hash (#/overview, #/threats, #/geo, #/live, #/replay, #/traffic, #/ips, #/ip/<ip>, #/sources), so a view can be bookmarked or shared; the Geography page goes deeper, as in #/geo/BR/Pernambuco/Recife (country, state, city). An IP detail drawer opens from any IP.
Header
- A live indicator showing whether the event stream (SSE) is connected (an instance serves at most 20 stream clients at once).
- The host selector:
all, this instance and every peer of a hub. - The period selector: twelve ranges (
1h,2h,3h,6h,12h,24h,2d,3d,5d,7d,15d,30d) or a custom period (fromandto, at most 30 days). It applies to every page. - Language, theme and logout buttons.
Pages
- Overview: the headline numbers (requests, malicious events, hostile and suspicious IPs, bans, the "monitoring" counter of benign monitor requests kept out of the traffic numbers), the timeline and the top IPs.

Threats: categories over time, KPIs and the latest events.

Geography: the world by attacker country.

Geography: a country, by state and city.

Geography: a region, with its cities and top IPs.

Replay: a period played back, with incidents on the timeline.

Traffic: privacy-friendly web analytics.

IPs: every address with score and level.

IP analysis: verdict, evidence and recommended actions.

The light theme on a desktop and the phone layout (a tab bar replaces the side rail).
Attribution
State and city boundaries on the Geography page are from Natural Earth, public domain. IP geolocation data by DB-IP, licensed under CC BY 4.0. The credit also appears in the footer of the dashboard.
HTTP routes
| Route | Auth | Purpose |
|---|---|---|
GET /api/health |
none | {"status":"ok"} |
GET /login, POST /login, POST /logout |
none | session |
GET / and the static files |
session | the dashboard |
GET /api/v1/summary |
session or bearer | everything the dashboard shows. Query: range (any named range) or from and to, host (all, a name) |
GET /api/v1/traffic |
session or bearer | web analytics of legitimate traffic. Query: range, domain (all or one domain), host. Returns visitors, pages, requests, bots, bytes, status classes, p50_ms, p95_ms, a timeline, top pages, referrers, countries, cities, browsers, operating systems, devices and bot names |
GET /api/v1/geo |
session or URUTAU_TOKEN |
attacker geography. Without cc: {"countries":[{"cc","events","ips","hostile","suspicious","cats"}]} (up to 250). With cc=XX (and optionally region): {"cc","events","ips","hostile","suspicious","cats","regions":[...],"cities":[{"name","region","lat","lon","events","ips"}],"top_ips":[...]} (64 regions, 200 cities, 50 IPs). Query: range, host. Cached for 5 s |
GET /api/v1/live/recent |
session or URUTAU_TOKEN |
{"events":[...]}: the latest malicious events of this instance and its peers, newest first, in the stream format. Query: limit (default 200, at most 500) |
GET /api/v1/peer/stream |
peer token only | live federation: server-sent malicious events of this instance. At most 10 connections; same 404/401/403 rules as the export |
GET /api/v1/peer/export |
peer token only | federation: {"v":1,"summary":...,"traffic":{...}} with the top 500 IPs and their detail. Query: range or from/to. Cached for 5 s. 404 when no peer token is set, 401 for URUTAU_TOKEN, 403 from a source outside --peer-allow |
GET /api/v1/events |
session or bearer | events of the registry, newest first. Query: range or from/to, host, ip, cat, fam, q, order, limit, cursor |
GET /api/v1/events/sessions |
session or bearer | sessions (bursts with a stage) of the period, optionally for one ip |
GET /api/v1/period |
session or bearer | the study of a period: sessions, campaigns, first-seen techniques, escalations, spikes, new vs returning, top targets, families, techniques, users and ASNs. Query: range or from/to, host, gap (seconds between sessions, 30 to 86400) |
GET /api/v1/period/events |
session or bearer | the events of a period in the stream format, for replay |
GET /api/v1/metrics |
session or bearer | stable metrics (see architecture.md). Query: range or from/to, host |
GET /api/v1/ip/{ip}/stix |
session or bearer | STIX 2.1 bundle of one IP |
GET /api/v1/peer/period |
peer token only | federation: the study a hub merges. At most two at once (503 with Retry-After otherwise) |
GET /api/v1/ips |
session or bearer | IP table. Query: range, host, min_score, level, q, banned=1, sort (score, last, first, events, ip), order=asc, per (1 to 200, default 50), page |
GET /api/v1/ip/{ip} |
session or bearer | summarized analysis of one IP: verdict with reasons, actions, families, techniques, network type, cadence, sessions and exposure; merged with the peers. Query: range or from/to (default 30d) |
GET /api/v1/events/stream |
session or bearer | Server-Sent Events, event ev, a ping every 20 s |
GET /api/v1/blocklist.txt |
session or bearer | one IP per line. Query: min_score (default 50), range (default 7d), host, family (4, 6; default both; 4 suits ipset hash:ip), download=1 |
GET /api/v1/blocklist.json |
session or bearer | {"generated","min_score","count","ips":[{"ip","score","last","hosts"}]}; the ip of an IPv6 entry is a /64 prefix |
An invalid range or period answers 400, and range in the responses is an object {name,from,to,step,clipped} (step is the timeline granularity in seconds).
API clients send Authorization: Bearer <URUTAU_TOKEN>. The peer token is accepted only by /api/v1/peer/export, /api/v1/peer/stream and /api/v1/peer/period; every other route answers 403 to it.



