mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 01:08:56 +01:00
## Summary - Passively read established internal TCP peers from Linux `/proc/net/tcp` and `/proc/net/tcp6` in `internal/hostmetrics/socket_peers.go` (using `LISTEN` sockets to separate inbound vs outbound service ports), dropping public internet, loopback, link-local, multicast, and self-IP addresses on the host before sending and capping at 128 unique pairs. - Validate reported peers again on receipt in `internal/monitoring/host_network_peers.go` and project canonical `communicates_with` relationships in `internal/unifiedresources/host_socket_relationships.go` strictly between monitored resources with unambiguous internal IPs (unknown LAN IPs and shared ambiguous IPs are skipped). - Extract hardware accelerator labels (`GPU`, `AMD GPU`, `iGPU`, `TPU`, `NPU`, `PCIe`) from Docker `HostConfig.DeviceRequests`, `HostConfig.Devices`, and device mounts, and from existing cached Proxmox VM `hostpciN` and LXC device configuration reads with zero extra Proxmox API calls. ## Verification - `go test` passed for `pkg/agents/host`, `pkg/agents/docker`, `internal/hostmetrics`, `internal/hostagent`, `internal/dockeragent`, `internal/models`, `internal/monitoring`, and `internal/unifiedresources`. - `go vet` passed across all modified packages. - `scripts/release_control/canonical_completion_guard.py` passed.