Skip to content

feat: add cross-platform socket diagnostics - #688

Open
domcyrus wants to merge 9 commits into
mainfrom
feat/socket-diagnostics
Open

domcyrus wants to merge 9 commits into
mainfrom
feat/socket-diagnostics

Conversation

@domcyrus

@domcyrus domcyrus commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Add Summary-first diagnostics to Details and Host, with shared JSON evidence:

  • Linux: one TCP iterator, procfs queues/UDP drops, optional Host-only drop reasons.
  • Windows: EStats Path RTT/retransmissions. macOS/FreeBSD: TCP byte queues through lsof/netstat.
  • Source-aware findings, stale/reset handling, conservative socket matching and explicit unavailable fields.
  • Host shows findings and coverage first, process names and clear queue labels. Press a to show empty queues; internal IDs stay in Details.

No new runtime dependencies or helpers. WFP, DropTap, PFLOG and connection-level reasoned-drop correlation remain deferred. Native scans remain best effort under rapid socket reuse.

Validation: latest UI update passes 1,345 macOS tests (3 ignored), formatting, Clippy, audit and release build. Earlier native CI covered Linux capability dropping and nonzero retransmissions, macOS Seatbelt, FreeBSD ordinary-user queues, and Windows x86/x64 elevated/standard-user behavior. CI for the latest update is pending.

FreeBSD CI extension: domcyrus/rustnet-bsd#34

Related: #680 and #246. Supersedes #678.

@domcyrus
domcyrus marked this pull request as ready for review October 18, 2026 15:26
@domcyrus domcyrus changed the title feat: add socket diagnostics with Linux collectors feat: add cross-platform socket diagnostics Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant