Total Socket Visibility.
Zero GUI Overhead.
Native Rust terminal UI for Windows that enumerates every IPv4 & IPv6 TCP/UDP endpoint in real time. Equipped with extended TCP byte counters (EStats), kernel ETW connection tracing, a 17-field boolean query compiler, Wireshark-style row coloring, Authenticode verification, and instant SetTcpEntry socket termination.
tcpvcon with CSV (-c), JSON (-j), and --filter expressions.
4-Stage Lock-Free Collector & Render Pipeline
Click each subsystem node below to inspect the exact Win32 system calls and Rust source files powering tcptui:
Calls
netstat2::get_sockets_info(AF_INET | AF_INET6, TCP | UDP), queries Win32 GetPerTcpConnectionEStats / GetPerTcp6ConnectionEStats for raw DataBytesOut and DataBytesIn counters, enriches PIDs via sysinfo, and maps Windows Service Control Manager (SCM) services with EnumServicesStatusExW.
Deterministic State Diffing
merge_snapshots() diffs consecutive socket tables by 5-tuple identity (Proto, LocalAddr:Port, RemoteAddr:Port), preserving first_seen ages and synthesizing ghost rows for closed connections.
WinVerifyTrust Authenticode & SCM Unpacking
Inspect any socket to verify its executable's cryptographic signature via Windows WinVerifyTrust, resolve the SID token owner (DOMAIN\User), and unpack shared svchost.exe processes into exact service names.
Event Tracing for Windows (--etw)
Polling alone misses sub-second connections. With --etw in an elevated shell, tcptui opens a real-time trace session on Microsoft-Windows-Kernel-Network for true connect timestamps and transient connection logging.
Alert Triggers & Wireshark Row Styling
Write any filter expression as an Alert Rule to fire a ⚠ banner, event log entry, and terminal bell on new sockets—or create ordered Coloring Rules with custom foreground, background, bold, and underline styles.
| Process | PID | Proto | Local Address:Port | Remote Address:Port | State | SCM Service | Tx Bytes | Rx Bytes | Diff State | GeoIP |
|---|
Pause Live Updates (p) · View Profiles (P)
Pressing p freezes the live endpoint table, statistics, and bandwidth chart for undisturbed inspection while ETW connect events continue buffering in the background. Pressing Shift+P opens the Named View Profiles manager with TOML import/export.
tcpvcon.exe — CLI Output Formats
Ships alongside tcptui.exe. Supports positional process/PID filtering plus the full structured --filter expression engine in plain table, CSV, or JSON formats.
Live config.toml Synthesizer
Toggle parameters below to generate a ready-to-drop configuration file with custom alert and Wireshark coloring rules.