fix: back to all hosts in the filter; release 2.2.0
CI / Format and vet (push) Successful in 1m9s
CI / Dependency audit (push) Successful in 38s
CI / Tests (Linux, race detector) (push) Successful in 2m6s
Release / Plan (reuse the published image?) (push) Successful in 7s
Release / ci (push) Skipped
Release / Build hub image (amd64) (push) Skipped
Release / Build probe image (amd64) (push) Skipped
Release / Build hub image (arm64) (push) Skipped
Release / Build probe image (arm64) (push) Skipped
Release / Publish tags (hub) (push) Successful in 17s
Release / Publish tags (probe) (push) Successful in 16s
Release / Gitea release (push) Successful in 5s
CI / Format and vet (push) Successful in 1m9s
CI / Dependency audit (push) Successful in 38s
CI / Tests (Linux, race detector) (push) Successful in 2m6s
Release / Plan (reuse the published image?) (push) Successful in 7s
Release / ci (push) Skipped
Release / Build hub image (amd64) (push) Skipped
Release / Build probe image (amd64) (push) Skipped
Release / Build hub image (arm64) (push) Skipped
Release / Build probe image (arm64) (push) Skipped
Release / Publish tags (hub) (push) Successful in 17s
Release / Publish tags (probe) (push) Successful in 16s
Release / Gitea release (push) Successful in 5s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
551b0ebc40
commit
c2bee81bc1
4 files changed
+28
-1
No files matched your search
@@ -6,6 +6,18 @@ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versio
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [2.2.0] - 2026-11-16
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- IP analysis: an address that never attacked but is an egress destination (for example the IP of an egress incident) now opens a "Destination" view: which hosts and workloads connected to it, ports, connections, ASN/country, findings and linked incidents. New endpoint `GET /api/v1/ip/{ip}/egress`. When nothing exists the page says definitively that the IP was never seen; if it was seen inbound outside the period it shows the last date and a 30-day button.
|
||||||
|
- Global host filter: several probes can be selected at once (`host=oracle,hostinger` in the URL and the API); selecting all of them, or "All hosts", means every probe.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Traffic: the hub dropped Traefik lines after every copytruncate rotation of `access.log` (it compared only inode and offset and ignored the head fingerprint the probe sends), so legitimate traffic on the Oracle host vanished for hours after each rotation. Regression test `TestSameHeadCopytruncate`.
|
||||||
|
- Global host filter: going back to "All hosts" did nothing, because the URL without `host=` kept the previous host.
|
||||||
|
|
||||||
## [2.1.2] - 2026-11-16
|
## [2.1.2] - 2026-11-16
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -6,6 +6,18 @@ Formato baseado no [Keep a Changelog](https://keepachangelog.com/pt-BR/1.1.0/);
|
|||||||
|
|
||||||
## [Não lançado]
|
## [Não lançado]
|
||||||
|
|
||||||
|
## [2.2.0] - 2026-11-16
|
||||||
|
|
||||||
|
### Adicionado
|
||||||
|
|
||||||
|
- Análise de IP: um endereço que nunca atacou mas é destino de saída (por exemplo o IP de um incidente de egress) agora abre a vista "Destino de saída": quais hosts e cargas de trabalho se conectaram, portas, conexões, ASN/país, achados e incidentes ligados. Endpoint novo `GET /api/v1/ip/{ip}/egress`. Quando não há nada, a página diz de forma definitiva que o IP nunca foi visto; se foi visto como origem fora do período, mostra a última data e um botão de 30 dias.
|
||||||
|
- Filtro global de host: várias sondas podem ser selecionadas ao mesmo tempo (`host=oracle,hostinger` na URL e na API); marcar todas, ou "Todos os hosts", significa todas as sondas.
|
||||||
|
|
||||||
|
### Corrigido
|
||||||
|
|
||||||
|
- Tráfego: o hub descartava linhas do Traefik depois de cada rotação copytruncate do `access.log` (comparava só inode e offset e ignorava a impressão digital do início que a sonda envia), então o tráfego legítimo do host Oracle sumia por horas após cada rotação. Teste de regressão `TestSameHeadCopytruncate`.
|
||||||
|
- Filtro global de host: voltar para "Todos os hosts" não fazia nada, porque a URL sem `host=` mantinha o host anterior.
|
||||||
|
|
||||||
## [2.1.2] - 2026-11-16
|
## [2.1.2] - 2026-11-16
|
||||||
|
|
||||||
### Corrigido
|
### Corrigido
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ package app
|
|||||||
|
|
||||||
// Version is the release version (SemVer). Release builds may override it with
|
// Version is the release version (SemVer). Release builds may override it with
|
||||||
// -ldflags "-X .../internal/app.Version=...".
|
// -ldflags "-X .../internal/app.Version=...".
|
||||||
var Version = "2.1.2"
|
var Version = "2.2.0"
|
||||||
@@ -1863,6 +1863,9 @@
|
|||||||
function setShell(over) {
|
function setShell(over) {
|
||||||
var sl = { range: state.range, from: state.from, to: state.to, host: state.host };
|
var sl = { range: state.range, from: state.from, to: state.to, host: state.host };
|
||||||
Object.keys(over).forEach(function (k) { sl[k] = over[k]; });
|
Object.keys(over).forEach(function (k) { sl[k] = over[k]; });
|
||||||
|
// "all" leaves host= out of the URL and readSlice keeps the current host when the key is absent:
|
||||||
|
// apply the host here so going back to every probe works
|
||||||
|
if (over.host !== undefined) { state.host = hostJoin(hostList(over.host)); lsSet('urutau.host', state.host); }
|
||||||
var q = Object.assign({}, state.params.query); delete q.p; // a new period or host starts at page 1
|
var q = Object.assign({}, state.params.query); delete q.p; // a new period or host starts at page 1
|
||||||
var id = current ? current.id : 'overview', hash = buildHash(id, state.params.segments, q, sl);
|
var id = current ? current.id : 'overview', hash = buildHash(id, state.params.segments, q, sl);
|
||||||
if (hash !== location.hash) history.pushState(null, '', hash);
|
if (hash !== location.hash) history.pushState(null, '', hash);
|
||||||
|
|||||||
Reference in new issue
Block a user