feat: Urutau 1.0.0, lightweight threat intelligence and web analytics
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 1m29s
CI / Tests (Linux, race detector) (push) Failing after 1m48s
CI / Dependency audit (push) Successful in 21s
Release / ci (push) Failing after 1m50s
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped

Always-on Go service (stdlib only) that follows the Traefik JSON access
log, the sshd log and the fail2ban log of a host, classifies attacks,
scores sources, keeps bounded aggregates with snapshots, and serves an
embedded dashboard with live updates, offline geolocation (DB-IP Lite),
privacy-friendly traffic analytics, an exportable blocklist and
token-authenticated federation between instances.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-14 16:13:34 -03:00
commit b4a2c2c9ec
99 files changed
+15403

No files matched your search

+49
View File
@@ -0,0 +1,49 @@
# Variables read by docker-compose.yml. Other URUTAU_* settings need a line in
# the compose `environment` block (see docs/configuration.md).
# Image tag: latest (last release), X.Y.Z / X.Y (pinned), or edge (main).
URUTAU_VERSION=latest
# Container image repository.
URUTAU_IMAGE=git.lucasrguerra.dev.br/ciberfauna/urutau
# Host address and port of the dashboard. Keep it on loopback unless a reverse
# proxy with TLS sits in front of it.
URUTAU_PUBLISH=127.0.0.1:8790
# Access token for the dashboard and the API (required: 32+ characters, ~128 bits of
# entropy. `openssl rand -base64 48` is recommended; `-hex 32` also works).
# To keep it out of the environment, set URUTAU_TOKEN_FILE in the compose file.
URUTAU_TOKEN=
# Name of this instance in the dashboard.
URUTAU_NAME=urutau
# Token shared between a hub and its peers (same rules as URUTAU_TOKEN, and
# different from it). It only opens /api/v1/peer/export. Empty: no export (a
# hub with peers needs a token for each: this one, or URUTAU_PEER_TOKEN_<NAME>
# added to the compose environment).
URUTAU_PEER_TOKEN=
# Source CIDRs allowed to call the export (e.g. the hub's address). Empty: any
# source that has the token.
URUTAU_PEER_ALLOW=
# Reverse proxies whose X-Forwarded-For is trusted (login rate limit, peer allow).
# The compose file puts the service on the urutau-edge network (10.250.0.0/24)
# and trusts only that; connect the proxy to it (see docs/docker.md).
URUTAU_TRUSTED_PROXY=10.250.0.0/24
# SSH users whose successful logins keep their IP out of the blocklist for 24 h
# (comma separated). Empty: no admin immunity.
URUTAU_ADMIN_USERS=
# Peers this instance aggregates (hub mode), comma separated name=https://url.
URUTAU_PEERS=
# Your own servers and monitors: their events are dropped entirely
# (comma separated CIDRs or IPs). Private, link-local and CGNAT ranges are
# already dropped (see --ignore).
URUTAU_TRUSTED=
# How often to check for a newer DB-IP Lite geolocation database (Go duration);
# 0 disables the download.
URUTAU_GEO_UPDATE=24h
# Analytics domain allowlist, exact names or *.example.com. Empty: every domain
# that answers 2xx.
# Recommended (in practice required) when a backend answers 2xx for any Host.
URUTAU_DOMAINS=
# CIDRs the monitoring User-Agents come from. When set, the monitor User-Agent
# only counts from them. Empty: only `ok` answers are filtered.
URUTAU_MONITOR_FROM=
# Time zone of the host: fail2ban.log timestamps are local time.
TZ=UTC