fix: 1.4.8 egress false positives (non-SYN replies, IMDS on host, Akamai/Telegram)
Release / Publish tags (push) Successful in 13s
Release / Plan (reuse the published image?) (push) Successful in 5s
Release / ci (push) Successful in 1m20s
Release / Build image (amd64) (push) Successful in 24s
Release / Build image (arm64) (push) Successful in 1m11s
Release / Gitea release (push) Skipped
CI / Format and vet (push) Successful in 51s
CI / Tests (Linux, race detector) (push) Successful in 50s
CI / Dependency audit (push) Successful in 29s
CI / Docker image (build and smoke test) (push) Skipped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-15 08:51:42 -03:00
1 parent 873219416f
commit 3ae72e27d6
8 files changed
+175 -13

No files matched your search

+4 -2
View File
@@ -96,7 +96,9 @@ type SourceInfo struct {
State string `json:"state"`
Lines uint64 `json:"lines"`
Malformed uint64 `json:"malformed"`
Last int64 `json:"last"`
// NonSYNDropped counts TCP lines without a pure SYN (old kit); not malformed.
NonSYNDropped uint64 `json:"non_syn_dropped"`
Last int64 `json:"last"`
}
// Info reports the source state (state "disabled" when no source is attached).
@@ -106,5 +108,5 @@ func (e *Engine) Info() SourceInfo {
if f := e.stateFn.Load(); f != nil {
st = (*f)()
}
return SourceInfo{State: st, Lines: l, Malformed: m, Last: last}
return SourceInfo{State: st, Lines: l, Malformed: m, NonSYNDropped: e.nonSYN.Load(), Last: last}
}