Files
harpia/docs/support.md
T
Lucas Guerra 2298117c47
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and clippy (push) Failing after 9s
CI / Dependency audit (push) Failing after 11s
CI / Tests (Linux) (push) Successful in 9m25s
Release / ci (push) Failing after 9m26s
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
feat(scan): implement raw-socket SYN engine; fix Docker build and cross-container permissions; full v1.0 docs
- scan::syn_scan: raw TCP SYN half-open scanning (CAP_NET_RAW), validated
  end-to-end against a real target through the actual hardened Docker
  Compose stack (scanner uid 0 restricted to NET_RAW, xexeu uid 10001 zero
  capabilities). Automatic fallback to nativo-sem-raw, engine actually used
  recorded in every sweep manifest.
- caps::has_net_raw: CAP_NET_RAW detection via /proc/self/status, shared by
  the scan engine selection and `xexeu doctor`.
- Fix: Dockerfile never copied apps/ or logo.png, so the image never
  actually built until this was caught by a real `docker build`.
- Fix: sweep batches were written 0600 by scanner (uid 0); xexeu (uid 10001)
  couldn't read them through the read-only xexeu-sweeps mount. Now written
  0644/0755 explicitly.
- Fix: group names from the config CRUD API weren't validated as safe path
  components until a sweep tried to write a batch for them; now rejected
  immediately.
- Fix: CSV exports had no CSV/formula-injection guard; cells starting with
  =, +, -, @ or a tab are now prefixed to force plain-text interpretation.
- docs/: full EN/PT-BR set (architecture rewritten to match the real
  implementation — SQLite not DuckDB, include_str!/include_bytes! not
  rust-embed; new cli.md, configuration.md, docker.md, interface.md,
  support.md) with real dashboard/report screenshots.
- README, ROADMAP, CHANGELOG, SECURITY, CONTRIBUTING (EN/PT-BR): updated to
  reflect actual v1.0-candidate state instead of the initial-scaffolding
  status they still described.
2026-11-02 11:08:51 -03:00

48 lines
2.6 KiB
Markdown

# Support
**English** · [Português](pt-BR/suporte.md)
Xexéu is distributed as a two-container Docker Compose stack. The fastest
way to get help is opening an issue in the Gitea repository.
## Before opening an issue
1. Run `docker exec xexeu xexeu doctor --json` (or `xexeu doctor --json` on
the host binary) and attach the output.
2. Confirm the version with `xexeu --version`.
3. Run `xexeu config check --config <path>` to rule out a configuration
problem before reporting a scanning one.
4. Review [`configuration.md`](configuration.md), [`architecture.md`](architecture.md)
and [`docker.md`](docker.md) — especially the `CAP_NET_RAW` section if the
issue looks scan-engine related.
## What to include
- Host OS, architecture (`uname -m`) and Xexéu version/tag.
- The exact `docker-compose.yml` (or CLI invocation) used.
- Full container logs: `docker compose logs scanner xexeu`.
- The `motor` actually used for the affected sweep — check the batch
manifest or `/api/status`, since `nativo` silently falls back to
`nativo-sem-raw` without `CAP_NET_RAW`, which changes what's expected.
- A redacted `xexeu.toml` (never share real authorized-scope ranges or
`responsavel` contact details if they're sensitive).
Only ever audit networks you own or are explicitly authorized to test. Do
not attach captures or findings from systems outside that scope.
## Security issues
Do not include exploit details in a public issue. Follow
[SECURITY.md](../SECURITY.md) and request a private communication channel.
## Common situations
| Symptom | What to check |
|---|---|
| `scanner` container exits immediately | Confirm `cap_add: [NET_RAW]` and `user: "0:0"` are both set — `nativo` without the capability should fall back, not crash; a crash means a different problem |
| Every sweep uses `nativo-sem-raw` even with `NET_RAW` granted | Check `xexeu doctor`'s capability report; on a `--userns-remap` host, verify the remap maps the container's `uid 0` correctly |
| `serve` is unreachable from another host | Binds to `127.0.0.1:8788` by default (`XEXEU_PUBLISH` in `.env`); verify reverse proxy configuration |
| `feeds sync` fails | Check network connectivity to the NVD and CISA KEV APIs; fall back to `feeds import` with a manually downloaded dump for isolated networks |
| Dashboard shows Portuguese | `Auto` follows the browser language; select English in Settings |
| A group added from the dashboard isn't scanned yet | `scanner` reloads the config on its next tick by file `mtime`, not instantly — wait one tick, or check its logs for a reload warning if the config was invalid |