Each server runs an ultralight probe (scratch image, ~7 MiB RSS) that tails the logs, ships raw lines to the hub over HTTPS with an on-disk spool, and applies enforce decisions locally. The hub keeps one node per probe (primary node = the 1.x data dir, unchanged), does all analysis and serves the UI. Peer federation is removed. 'urutau import' brings 1.x data dirs in with hash and count verification. UI: probes page, host qualified incidents, IPs never wrap, egress heatmap labels, live and replay globes no longer auto-rotate, replay repeat, live traffic metrics. BREAKING CHANGE: URUTAU_PEERS, URUTAU_PEER_* and /api/v1/peer/* are gone; log path variables move from the hub to the probe. See docs/migration-2.0.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
53 lines
4.5 KiB
Markdown
53 lines
4.5 KiB
Markdown
# Roadmap
|
|
|
|
**English** · [Português](ROADMAP.pt-BR.md)
|
|
|
|
Urutau is lightweight, always-on threat intelligence for self-hosted servers: a hub plus an ultra-light probe on each server, which read the logs your servers already write, classifies hostile activity, scores IPs and exports a blocklist. It never sends traffic to the IPs it lists and has no telemetry; the optional second firewall only makes the probe write a file that a host jail reads.
|
|
|
|
## Done
|
|
|
|
- **Log collection (1.0.0):** Traefik JSON access log, sshd lines from `auth.log` and `fail2ban.log`, followed through rotation, with a backfill of rotated files.
|
|
- **Classification and scoring (1.0.0):** nine categories, weighted IP scores, hostile at 50 and suspicious at 10.
|
|
- **Persistence (1.0.0):** a 7-day rolling state saved to a snapshot with the file offsets, so a restart never replays a log.
|
|
- **Dashboard and API (1.0.0):** embedded bilingual UI with live updates over SSE, token login, JSON API, IP detail.
|
|
- **Blocklist (1.0.0):** text and JSON export with a score threshold.
|
|
- **Federation (1.0.0, replaced by probes in 2.0.0):** a hub aggregated peers through `/api/v1/peer/export` with a separate peer token.
|
|
- **Geolocation and web analytics (1.0.0):** offline DB-IP Lite geolocation, User-Agent parsing and privacy-friendly traffic analytics.
|
|
- **Noise filters (1.0.0):** trusted CIDRs and monitoring User-Agents.
|
|
- **Container and CI/CD (1.0.0):** multi-arch image, Coolify deployment, Gitea CI with an image-reuse release workflow, weekly audit.
|
|
- **Bilingual documentation (1.0.0).**
|
|
|
|
- **Interface and live federation (1.1.0):** seven pages, Geography with country, region and city drill-down, Live arcs on a flat map or a 3D globe, `/api/v1/geo`, `/api/v1/live/recent`, relayed live events from peers (`/api/v1/peer/stream`) and `--location`.
|
|
|
|
- **Investigation (1.2.0):** 30-day retention, twelve ranges and custom periods, an on-disk event registry, replay, IP analysis with verdict and reasons, attack families, MITRE ATT&CK, campaigns, STIX 2.1 export and stable metrics.
|
|
|
|
- **Service health and error classes (1.3.0):** per-service SLO, error budget, burn rate and Apdex, error classes, episodes with Kaplan-Meier survival, visitors counted as people with a real browser, a side rail of pages (Monitor, Investigate, Analyze, Operate, Reports) and the anonymous visits stream.
|
|
|
|
- **Second firewall and egress (1.4.0):** `--enforce` decisions applied by a host fail2ban jail, outbound connection analysis (beacons, mining, DNS bypass, unauthorised scans), the host kit in `deploy/host` and the HTML report.
|
|
|
|
- **Probes, Tor and unban (1.4.1 to 1.4.8):** network probes on closed ports, backend pagination, automatic Tor lists, text Traefik logs, history-based bans, unban from the interface with operator allowances and fewer egress false positives.
|
|
|
|
- **Incident management (1.5.0 to 1.5.7):** tickets from egress findings with status, comments, history and suppression, and mobile fixes.
|
|
|
|
- **Forge browsing, verified crawlers and coverage (1.6.0):** repository pages are not attacks, crawlers confirmed by reverse DNS are never banned, our own bans no longer feed the score, honest blocklist coverage and a slow-attacker policy; phone tables as cards (1.5.8, shipped inside 1.6.0).
|
|
|
|
- **Hub and probes (2.0.0):** the hub no longer reads files; a probe of a few MB (own image, no open port) on each server sends the logs over HTTPS with a disk spool and receives the second firewall decisions; per-probe tokens stored as hashes, the Sources page to create, edit and revoke probes, per-probe location and egress settings, incidents qualified by host (`host/INC-n`) and `urutau import` to bring 1.x data directories in without loss. Breaking: the peer federation and the log path variables of the hub are gone ([docs/migration-2.0.md](docs/migration-2.0.md)).
|
|
|
|
## Next
|
|
|
|
- **More log sources:** other web servers and proxies (nginx, Caddy), and more daemons' auth failures.
|
|
- **Webhook alerts:** notify when an IP crosses the hostile threshold.
|
|
- **Prometheus metrics:** `/metrics` with counters per category and per source.
|
|
|
|
## Later
|
|
|
|
- **IP reputation enrichment:** optional lookups, off by default, to respect the local-first rule.
|
|
- **Per-user tokens:** more than one access token with separate revocation.
|
|
|
|
## Non-Goals
|
|
|
|
- Active scanning, counterattack or any traffic sent to the listed IPs.
|
|
- Mandatory cloud services, analytics telemetry or hosted accounts.
|
|
- Packet capture or an agent on the network path.
|
|
- A general SIEM: Urutau stays small and focused on the edge of one server.
|