feat!: Urutau 2.0.0, ultralight probes and a single analysis hub
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>
This commit is contained in:
1 parent
23a7a5963a
commit
8546d14cef
130 files changed
+9396
-3311
No files matched your search
+53
-42
@@ -10,38 +10,30 @@ Urutau has no configuration file. Everything is a flag with a `URUTAU_*` environ
|
||||
|---|---|
|
||||
| `URUTAU_TOKEN` | **Required.** Access token of the dashboard and the API: at least 32 characters and about 128 bits of estimated entropy (length times Shannon entropy; periodic or sequential tokens are refused). Generate one with `openssl rand -base64 48` (`openssl rand -hex 32` also works; `-hex 16` is refused by the entropy estimate). |
|
||||
| `URUTAU_TOKEN_FILE` | Path of a file holding the token (whitespace trimmed), instead of the variable. The variable wins when both are set. |
|
||||
| `URUTAU_PEER_TOKEN` | Optional. The server token of this instance: the only token its federation routes (see [Peers](#peers-hub-mode)) accept, and it opens nothing else. Same strength rules as `URUTAU_TOKEN` (32+ characters, about 128 bits of estimated entropy, not periodic or sequential), and it must differ from it. When this instance is a hub, it is also the fallback client token sent to peers that have no token of their own. |
|
||||
| `URUTAU_PEER_TOKEN_FILE` | Path of a file holding the general peer token. |
|
||||
| `URUTAU_PEER_TOKEN_<NAME>` and `..._<NAME>_FILE` | The client credential a hub sends to that one peer; it must equal the peer's own `URUTAU_PEER_TOKEN`. `<NAME>` is the peer name uppercased with every character other than a letter or digit turned into `_` (`my-peer` becomes `MY_PEER`). It does **not** open the local export. Two peer names that collapse to the same variable (`my-peer` and `my_peer`) are refused. A hub with a peer and no token for it refuses to start. |
|
||||
| `URUTAU_PROBE_TOKEN` | **Probe only, required.** The token of one probe (`urp_` plus 43 base64url characters), printed once by `urutau probes create` or by the Sources page. The hub keeps only its SHA-256 (`probes.json`), so a lost token is replaced, never recovered: revoke the probe and create it again. |
|
||||
| `URUTAU_PROBE_TOKEN_FILE` | Probe only. Path of a file holding the probe token, instead of the variable. The variable wins when both are set. |
|
||||
|
||||
Keep both in `.env` (never versioned) or in your orchestrator's secret store.
|
||||
The 1.x federation secrets (`URUTAU_PEER_TOKEN`, `URUTAU_PEER_TOKEN_FILE`, `URUTAU_PEER_TOKEN_<NAME>`) do not exist any more; the hub refuses to start when one is set ([migration-2.0.md](migration-2.0.md)).
|
||||
|
||||
Keep them in `.env` (never versioned) or in your orchestrator's secret store.
|
||||
|
||||
## Settings
|
||||
|
||||
Every variable below has a flag of the same meaning ([cli.md](cli.md)); the flag wins over the variable.
|
||||
Settings are split by role. The **hub** (`urutau serve`) takes the variables in the sections up to [Egress](#egress); the **probe** (`urutau probe`) takes the ones in [Probe](#probe). Every variable below has a flag of the same meaning ([cli.md](cli.md)); the flag wins over the variable.
|
||||
|
||||
### Core
|
||||
|
||||
| Variable | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `URUTAU_BIND` | `0.0.0.0:8790` | listen address |
|
||||
| `URUTAU_NAME` | container hostname | name shown in the dashboard and used by the hub |
|
||||
| `URUTAU_DATA_DIR` | `/data` | where the state lives: snapshot `urutau-state.gob`, `geo/`, `tor/`, `events/`, `incidents.json` and `enforce.json` |
|
||||
| `URUTAU_NAME` | container hostname | name of this instance **and of the primary probe**: the probe whose name equals it keeps its data in the data-dir root (exactly the 1.x layout); every other probe uses `<data-dir>/probes/<name>/` |
|
||||
| `URUTAU_DATA_DIR` | `/data` | where the state lives: snapshot `urutau-state.gob`, `geo/`, `tor/`, `events/`, `incidents.json` and `enforce.json` of the primary probe, `probes/<name>/` for the others, and `probes.json` |
|
||||
| `URUTAU_RETENTION` | `720h` | retention as a Go duration, from `1h` to `720h` (30 days); other values refuse to start |
|
||||
| `URUTAU_EVENTS_MAX` | `512MB` | size cap of the event registry (`<data-dir>/events`); a number with an optional unit (`k`, `kb`, `kib`, `m`, `mb`, `mib`, `g`, `gb`, `gib`, `b`), `0` turns it off |
|
||||
| `URUTAU_LOCATION` | empty | where this instance is on the map, `"lat,lon"` or `"lat,lon,Label"` (validated at start). It is the destination of the arcs on the Live page and is shared with the hub; empty lets the page fall back to an estimated destination |
|
||||
| `URUTAU_LOCATION` | empty | default map position of the primary probe (the others get theirs on the hub, per probe), `"lat,lon"` or `"lat,lon,Label"` (validated at start). It is the destination of the arcs on the Live page; empty lets the page fall back to an estimated destination |
|
||||
| `GOMEMLIMIT` | 256 MiB soft limit | standard Go memory limit; set it to override the default |
|
||||
| `TZ` | UTC | time zone of `fail2ban.log` timestamps, which carry no zone |
|
||||
|
||||
### Log sources
|
||||
|
||||
| Variable | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `URUTAU_TRAEFIK_LOG` | `/data/coolify/proxy/access.log` | Traefik JSON access log, empty disables |
|
||||
| `URUTAU_AUTH_LOG` | `/var/log/auth.log` | sshd log, empty disables |
|
||||
| `URUTAU_FAIL2BAN_LOG` | `/var/log/fail2ban.log` | fail2ban log, empty disables |
|
||||
| `URUTAU_PROBE_LOG` | `/logs/host/probe.log` | kernel log of new connections to ports nobody serves, written by the host kit (see [Probes](#probes-port-scans)); empty disables, a missing file just stays at `waiting` |
|
||||
|
||||
### Noise, trust and monitoring
|
||||
|
||||
| Variable | Default | Meaning |
|
||||
@@ -62,23 +54,18 @@ Every variable below has a flag of the same meaning ([cli.md](cli.md)); the flag
|
||||
| `URUTAU_TOR_AUTO` | `on` | `on`: download the official Tor exit and relay lists every 6 hours into `<data-dir>/tor`; `off`: do not download (air-gapped hosts) |
|
||||
| `URUTAU_TOR_EXITS` | empty | file of Tor exit addresses, one per line (`#` comments allowed, at most 100000 addresses, 8 MiB), reloaded every 24 h when it changes; merged with the downloaded list |
|
||||
|
||||
### Federation
|
||||
### Reverse proxy
|
||||
|
||||
| Variable | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `URUTAU_PEERS` | empty | peers to aggregate, comma separated `name=https://url` (the flag `--peer` repeats instead) |
|
||||
| `URUTAU_PEER_ALLOW` | empty | CIDRs allowed to call the federation routes; empty accepts any source that has the token |
|
||||
| `URUTAU_PEER_BLOCKLIST` | `on` | `on`: the hub's blocklist includes hostile IPs seen only by peers (score 50+ and a strong signal); `off`: only this instance's own IPs. Anything else refuses to start |
|
||||
| `URUTAU_TRUSTED_PROXY` | `127.0.0.0/8,::1` (the compose file sets `10.250.0.0/24`) | reverse proxies whose `X-Forwarded-For` is trusted (read right to left); used by the login rate limit and by `URUTAU_PEER_ALLOW` |
|
||||
| `URUTAU_TRUSTED_PROXY` | `127.0.0.0/8,::1` (the compose file sets `10.250.0.0/24`) | reverse proxies whose `X-Forwarded-For` is trusted (read right to left); used by the login rate limit and by the probe authentication limiter |
|
||||
|
||||
### Second firewall (enforce)
|
||||
|
||||
| Variable | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `URUTAU_ENFORCE` | `off` | `off`; `observe` (decides in memory and shows what it would ban, writes nothing); `on` (also appends the decisions to `URUTAU_ENFORCE_LOG` for the host fail2ban). Anything else refuses to start |
|
||||
| `URUTAU_ENFORCE_LOG` | `/logs/enforce/decisions.log` | decision file appended in `on` mode; `on` without it refuses to start |
|
||||
| `URUTAU_ENFORCE_UNBAN_LOG` | `unban.log` next to `URUTAU_ENFORCE_LOG` | file where the dashboard's Unban button writes its requests, read by the host |
|
||||
| `URUTAU_ENFORCE_SHARE` | `off` | `on`: exchange decisions and unbans with the peers every 30 s; each side applies its own exclusions. Anything else refuses to start |
|
||||
| `URUTAU_ENFORCE` | `off` | `off`; `observe` (decides in memory and shows what it would ban, sends nothing); `on` (also queues the decisions for the probe of the host, which appends them to its `URUTAU_ENFORCE_LOG` for the host fail2ban). Anything else refuses to start |
|
||||
| `URUTAU_ENFORCE_SHARE` | `off` | `on`: a decision taken for one probe is also queued for the others; each node applies its own exclusions. Anything else refuses to start |
|
||||
| `URUTAU_ENFORCE_THRESHOLD` | `5` | attack events in 10 minutes that justify a ban (1 to 1000) |
|
||||
| `URUTAU_ENFORCE_MAX_PER_MIN` | `60` | most decisions written per minute; the excess is dropped and counted (1 to 10000) |
|
||||
|
||||
@@ -88,15 +75,36 @@ An unparseable number falls back to the default; an out-of-range one refuses to
|
||||
|
||||
| Variable | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `URUTAU_EGRESS` | `auto` | `auto` (on when `URUTAU_EGRESS_LOG` exists at start), `on` or `off`; anything else refuses to start |
|
||||
| `URUTAU_EGRESS_LOG` | `/logs/host/egress.log` | kernel log of new outbound connections, written by the host kit |
|
||||
| `URUTAU_EGRESS_CONTAINERS` | `/logs/host/containers.map` | `"<ip> <container>"` map written by the host kit every minute, so workloads keep their name when the address changes on a redeploy |
|
||||
| `URUTAU_EGRESS_WORKLOADS` | empty | named workloads and their role, see [Egress analysis](#egress-analysis) |
|
||||
| `URUTAU_EGRESS_RESOLVERS` | empty | DNS resolvers that are allowed, comma separated IPs; empty means the usual public ones (Cloudflare, Google, Quad9...) plus the nameservers of `/etc/resolv.conf` and `/logs/host/resolv.conf` |
|
||||
| `URUTAU_EGRESS_ALLOW` | empty | environment only, no flag: CIDRs or IPs of legitimate periodic pollers that must not raise beaconing findings. The peers' addresses, `URUTAU_TRUSTED` and the server's own public addresses are always allowed |
|
||||
| `URUTAU_EGRESS` | `auto` | `auto` (on for a probe that sends an egress log), `on` or `off`; anything else refuses to start |
|
||||
| `URUTAU_EGRESS_WORKLOADS` | empty | default for the primary probe; every probe can have its own on the Sources page. Named workloads and their role, see [Egress analysis](#egress-analysis) |
|
||||
| `URUTAU_EGRESS_RESOLVERS` | empty | DNS resolvers that are allowed, comma separated IPs; empty means the usual public ones (Cloudflare, Google, Quad9...) plus the nameservers of the `resolv.conf` each probe sends |
|
||||
| `URUTAU_EGRESS_ALLOW` | empty | environment only, no flag: CIDRs or IPs of legitimate periodic pollers that must not raise beaconing findings. The probes' addresses, `URUTAU_TRUSTED` and the server's own public addresses are always allowed |
|
||||
| `URUTAU_EGRESS_PROVIDER_ASN` | empty | environment only, no flag: AS numbers of your hosting provider, comma separated, so traffic to it is not reported as unusual |
|
||||
|
||||
In the container image the log paths default to `/logs/traefik/access.log`, `/logs/host/auth.log` and `/logs/host/fail2ban.log` (the compose file mounts the host logs there); the probe, egress and container map files are in the same `/logs/host` directory. The compose file adds `URUTAU_VERSION` (image tag), `URUTAU_IMAGE` and `URUTAU_PUBLISH` (host address and port), see `.env.example`. It passes only some variables to the container ([docker.md](docker.md)); add any other `URUTAU_*` variable, such as the `URUTAU_ENFORCE_*` and `URUTAU_EGRESS_*` ones, to its `environment` block.
|
||||
### Probe
|
||||
|
||||
The probe has only these variables (flags in [cli.md](cli.md#urutau-probe)). A path turns a source on, empty turns it off, and a file that does not exist yet just stays at `waiting`.
|
||||
|
||||
| Variable | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `URUTAU_HUB` | required | hub URL: `https://...`, or `http://` only for loopback and private addresses (for example `http://urutau:8790` on the `urutau-edge` network) |
|
||||
| `URUTAU_PROBE_NAME` | required | name registered on the hub (lowercase letters, digits and `-`, up to 32) |
|
||||
| `URUTAU_PROBE_TOKEN`, `URUTAU_PROBE_TOKEN_FILE` | required | see [Secrets](#secrets) |
|
||||
| `URUTAU_STATE_DIR` | `/state` | spool, read positions and liveness mark; keep it on a volume |
|
||||
| `URUTAU_TRAEFIK_LOG` | `/logs/traefik/access.log` | Traefik JSON access log |
|
||||
| `URUTAU_AUTH_LOG` | `/logs/host/auth.log` | sshd log |
|
||||
| `URUTAU_FAIL2BAN_LOG` | `/logs/host/fail2ban.log` | fail2ban log |
|
||||
| `URUTAU_PROBE_LOG` | `/logs/host/probe.log` | kernel log of connections to unserved ports, written by the host kit (see [Probes](#probes-port-scans)) |
|
||||
| `URUTAU_EGRESS_LOG` | `/logs/host/egress.log` | kernel log of new outbound connections, written by the host kit |
|
||||
| `URUTAU_EGRESS_CONTAINERS` | `/logs/host/containers.map` | `"<ip> <container>"` map written by the host kit every minute, so workloads keep their name when the address changes on a redeploy; sent whole when it changes |
|
||||
| `URUTAU_RESOLV` | `/etc/resolv.conf` of the host (mounted) | resolvers of the host, sent whole when it changes |
|
||||
| `URUTAU_ENFORCE_LOG` | `/logs/enforce/decisions.log` | file where the ban decisions of the hub are appended, read by the host jail; empty ignores ban commands and counts them as errors |
|
||||
| `URUTAU_ENFORCE_UNBAN_LOG` | `/logs/enforce/unban.log` | file where unban requests are appended, read by the host; empty ignores them |
|
||||
| `URUTAU_PROBE_SPOOL_MAX` | `64MiB` | spool cap while the hub is unreachable; the oldest batches are dropped, counted, and shown on the Sources page |
|
||||
| `URUTAU_LOCATION` | empty | `"lat,lon,Label"`; the setting on the hub prevails |
|
||||
| `TZ` | UTC | time zone of the host: `fail2ban.log` timestamps carry no zone and the hub parses them, so it must be the same on the probe and on the hub |
|
||||
|
||||
The probe image defaults to the paths above because the compose file in `deploy/probe` mounts the host logs there.
|
||||
|
||||
## Noise and monitoring
|
||||
|
||||
@@ -113,14 +121,17 @@ The geolocation databases are checked every 24 hours (`--geo-update`), but DB-IP
|
||||
|
||||
The Traffic page needs no setting. `URUTAU_DOMAINS` restricts which domains it tracks (exact names or `*.example.com`); a domain only gets a slot after a 2xx answer and inactive domains are pruned, so forged `Host` headers cannot fill the analytics. Top pages normalize token-looking path segments (ids, hashes, long random strings) to `:id`. It uses the Traefik log, counts unique visitors by a daily-salted hash and never persists the IP address of a legitimate visitor. See [SECURITY.md](../SECURITY.md).
|
||||
|
||||
## Peers (hub mode)
|
||||
## Probes (hub mode)
|
||||
|
||||
A hub with nothing else to configure accepts no probe until you create one:
|
||||
|
||||
```
|
||||
URUTAU_PEERS=web1=https://urutau.web1.example,db1=https://urutau.db1.example
|
||||
URUTAU_PEER_TOKEN=<shared secret>
|
||||
urutau probes create web1 # prints the token once
|
||||
```
|
||||
|
||||
On each peer, set the same `URUTAU_PEER_TOKEN` (or one `URUTAU_PEER_TOKEN_<NAME>` per peer on the hub). The peer token opens only the federation routes: `GET /api/v1/peer/export` (the hub asks every 15 seconds for `1h`, `24h`, `7d` and `30d`), `GET /api/v1/peer/stream` (live events), `GET /api/v1/peer/period` (the study of a period or an IP), `GET /api/v1/peer/egress` and, when `URUTAU_ENFORCE_SHARE=on`, `GET`/`POST /api/v1/peer/decisions` and `POST /api/v1/peer/unban`. Peer URLs must be `https` (plain `http` is accepted only for loopback): the peer token travels in a header. To restrict who may call these routes, set `URUTAU_PEER_ALLOW` on the peer to the hub's address; when the peer sits behind a proxy, also set `URUTAU_TRUSTED_PROXY` so the real client address is the one compared. Peer names must be unique and cannot be `all` or the hub's own name. With `URUTAU_PEER_BLOCKLIST=off` the hub's blocklist lists only its own IPs.
|
||||
On the server of that probe, set `URUTAU_HUB`, `URUTAU_PROBE_NAME=web1` and `URUTAU_PROBE_TOKEN` and start `deploy/probe/docker-compose.yml` ([docker.md](docker.md#probe)). The hub stores only the SHA-256 of the token; a wrong token gets a bare 401 under an attempt limiter. Revoking a probe (`urutau probes revoke web1` or the Sources page) refuses it from then on and keeps its data. The location on the map and the egress settings (workloads, resolvers, allowed destinations) of each probe are edited on the Sources page and kept in `probes.json`; `URUTAU_LOCATION`, `URUTAU_EGRESS_WORKLOADS`, `URUTAU_EGRESS_RESOLVERS` and `URUTAU_EGRESS_ALLOW` are the defaults of the primary probe.
|
||||
|
||||
If the 1.x variables `URUTAU_PEERS`, `URUTAU_PEER_TOKEN*`, `URUTAU_PEER_ALLOW` or `URUTAU_PEER_BLOCKLIST` are set, or the log path variables on the hub, it stops at start: see [migration-2.0.md](migration-2.0.md).
|
||||
|
||||
## Snapshot and retention
|
||||
|
||||
@@ -136,7 +147,7 @@ Tickets opened from egress findings (and their status: open, false positive, ben
|
||||
|
||||
## Probes (port scans)
|
||||
|
||||
Connections to ports nobody serves are not visible in the application logs. The host kit ([docker.md](docker.md#host-kit)) logs them from the kernel to `/var/log/urutau/probe.log`; Urutau reads that file as `URUTAU_PROBE_LOG`, turns each line into a scanner event and keeps at most one event per address, port and protocol per minute. Without the kit the source stays at `waiting` and nothing else changes.
|
||||
Connections to ports nobody serves are not visible in the application logs. The host kit ([docker.md](docker.md#host-kit)) logs them from the kernel to `/var/log/urutau/probe.log`; the probe sends that file (`URUTAU_PROBE_LOG`) and the hub turns each line into a scanner event and keeps at most one event per address, port and protocol per minute. Without the kit the source stays at `waiting` and nothing else changes.
|
||||
|
||||
## Tor
|
||||
|
||||
@@ -144,18 +155,18 @@ Urutau marks addresses that are Tor exits or relays. By default (`URUTAU_TOR_AUT
|
||||
|
||||
## Second firewall (enforce)
|
||||
|
||||
Optional and off by default. Urutau never gets privileges: it only decides which addresses deserve a ban and appends one line per decision to a file, and a fail2ban jail on the host applies it.
|
||||
Optional and off by default. Neither Urutau process gets privileges: the hub decides which addresses deserve a ban and queues one line per decision for the probe of that host, the probe checks that the line has exactly the expected shape and appends it to a file, and a fail2ban jail on the host applies it.
|
||||
|
||||
- `URUTAU_ENFORCE=observe` decides in memory and shows in the dashboard what it would ban; nothing is written. Use it first.
|
||||
- `URUTAU_ENFORCE=on` appends `<time> urutau decision=ban ip=<ip> reason=<slug> score=<n> ttl=<s> host=<name> src=<local|peer>` to `URUTAU_ENFORCE_LOG`. The host side is the `urutau` jail and the `urutau-allports` action installed by `install.sh --enforce` ([docker.md](docker.md#host-kit)). The jail uses the host's own `ignoreip`, so trusted addresses stay protected there too. Decisions wait until the log backfill finishes at start.
|
||||
- `URUTAU_ENFORCE=on` appends `<time> urutau decision=ban ip=<ip> reason=<slug> score=<n> ttl=<s> host=<name> src=<local|peer:NAME>` to the `URUTAU_ENFORCE_LOG` of the probe. The host side is the `urutau` jail and the `urutau-allports` action installed by `install.sh --probe --enforce` ([docker.md](docker.md#host-kit)). The jail uses the host's own `ignoreip`, so trusted addresses stay protected there too. Decisions wait until the log backfill finishes at start.
|
||||
|
||||
A ban needs one of these inside the window: two critical events (RCE, traversal, `.env`/credentials, VCS, webshell, SQL injection, Log4Shell), `URUTAU_ENFORCE_THRESHOLD` attack events in 10 minutes (doubled for a visitor with a legitimate visit), 5 SSH failures in 10 minutes, 10 distinct ports probed in 10 minutes, a known attacker, 10 SSH failures or 20 web events in 24 hours, 10 SSH failures or 10 web events without a legitimate visit in 7 days (an `ssh-probe` counts half), or one event from an address of a /24 (IPv4) or /64 (IPv6) where 3 or more addresses were banned in the last 24 hours (`neighbor-campaign`). The advisory TTL grows with repeat offences: 1 h, 6 h, 24 h, 7 d. Never banned: trusted and private addresses (`URUTAU_TRUSTED`, `URUTAU_IGNORE`), verified crawlers (forward-confirmed reverse DNS), addresses with an operator allow, infrastructure and peers' own hosts, Cloudflare addresses, and decisions from a peer the local instance cannot confirm. Bans of the `urutau` jail and of `recidive` do not count as evidence of the address's own behaviour. Reasons are a fixed list: `scanner-flood`, `exploit-flood`, `web-bruteforce`, `wp-bruteforce`, `ssh-bruteforce`, `rce`, `path-traversal`, `env-probe`, `vcs-probe`, `webshell`, `sqli`, `log4shell`, `port-scan`, `known-attacker`, `neighbor-campaign`.
|
||||
|
||||
The dashboard's Unban button (`POST /api/v1/enforce/unban`) drops the active ban, writes `<time> urutau unban ip=<ip> allow=<seconds>` to the unban file and, with `URUTAU_ENFORCE_SHARE=on`, tells the peers. On the host `urutau-unban.path` runs `urutau-unban`, which unbans the address in every jail and, with `allow` above 0, ignores it for that many seconds (useful for authorized pentests). `urutau doctor` reports the mode, the file and whether it is writable (`fail` in `on` mode when it is not), and warns when Traefik logs Cloudflare addresses as clients (set `forwardedHeaders.trustedIPs` to the Cloudflare ranges so the real client is seen).
|
||||
The dashboard's Unban button (`POST /api/v1/enforce/unban`) drops the active ban, queues `<time> urutau unban ip=<ip> allow=<seconds>` for the probe (you choose the host, or all), which appends it to the unban file, and with `URUTAU_ENFORCE_SHARE=on` tells the other nodes. On the host `urutau-unban.path` runs `urutau-unban`, which unbans the address in every jail and, with `allow` above 0, ignores it for that many seconds (useful for authorized pentests). `urutau doctor` reports the mode, the file and whether it is writable (`fail` in `on` mode when it is not), and warns when Traefik logs Cloudflare addresses as clients (set `forwardedHeaders.trustedIPs` to the Cloudflare ranges so the real client is seen).
|
||||
|
||||
## Egress analysis
|
||||
|
||||
Analyses what leaves the server: new outbound connections of the host and of the containers, logged by the host kit to `/var/log/urutau/egress.log`. It finds beaconing, mining pools, spam, unauthorized scans, DNS that bypasses the allowed resolvers, and destinations known as hostile or Tor exits. With `URUTAU_EGRESS=auto` it turns on by itself when the log exists. Findings can become tickets (see Incidents).
|
||||
Analyses what leaves the server: new outbound connections of the host and of the containers, logged by the host kit to `/var/log/urutau/egress.log` and sent by the probe. It finds beaconing, mining pools, spam, unauthorized scans, DNS that bypasses the allowed resolvers, and destinations known as hostile or Tor exits. With `URUTAU_EGRESS=auto` it turns on by itself for a probe that sends the log. Findings can become tickets (see Incidents).
|
||||
|
||||
`URUTAU_EGRESS_WORKLOADS` names the origins and gives each one a role, so expected behaviour is not reported (a scanner scans, a mail server talks on port 25):
|
||||
|
||||
|
||||
Reference in new issue
Block a user