Pulse/pkg
rcourtman f2fe81bf97 fix: route local-network API connections through subprocess to bypass Tailscale NECP
The Tailscale system extension on macOS applies an NECP policy that captures
the Pulse process outbound Go TCP connections, routing them through utun4.
RFC 1918 addresses (192.168.0.x) fail with EHOSTUNREACH; Tailscale CGNAT
addresses (100.x.x.x) work normally. exec.Command subprocesses bypass NECP.

Add a subprocessConn type (subprocess_conn.go) that wraps nc stdin/stdout
as a net.Conn with real deadline enforcement (closes the connection on
timeout). Modify DialContextWithCache (dnscache.go) to route RFC 1918
addresses through the subprocess relay on macOS, while Tailscale IPs and
public IPs continue using the normal dialer.

Result: pbs-docker and pi Proxmox/PBS nodes now connect at the transport
layer. Remaining pi poll timeouts are caused by a pre-existing server-side
reverse DNS lookup delay (3s per HTTPS request); fix is NO_RESOLVE=1 in
/etc/default/pveproxy on each Proxmox node.
2026-06-26 22:13:22 +01:00
..
agents Add macOS thermal state reporting 2026-06-14 11:07:47 +01:00
aicontracts backend and governance: MCP contract, agent capabilities, API, and release-control 2026-06-23 17:26:15 +01:00
audit Harden audit log store failures 2026-05-28 13:44:20 +01:00
auth Clear all errcheck and gofmt violations so make lint gates on real findings 2026-06-09 21:42:21 +01:00
cloudauth fix(hosted): preserve direct handoff membership continuity 2026-03-26 23:40:02 +00:00
db feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
discovery Pin discovery HTTP probes to captured TLS peers 2026-03-29 19:32:56 +01:00
extensions backend and governance: MCP contract, agent capabilities, API, and release-control 2026-06-23 17:26:15 +01:00
fsfilters Improve Machines disk summaries 2026-06-03 11:09:58 +01:00
licensing backend and governance: MCP contract, agent capabilities, API, and release-control 2026-06-23 17:26:15 +01:00
metrics test(go): skip perf-budget overruns on contended local hosts, enforce in CI 2026-06-11 13:12:59 +01:00
pbs Fix PBS job task history filters 2026-05-13 17:09:45 +01:00
pmg Harden outbound URLs and file-backed storage 2026-03-29 12:47:55 +01:00
proxmox Fix Proxmox tag color style propagation 2026-06-25 17:14:00 +01:00
pulsecli Dedupe internal/api handler families behind shared flows and generics 2026-06-10 10:52:05 +01:00
reporting fix(reporting): resolve report subjects through the canonical unified view and paginate the metric card grid 2026-06-10 22:02:48 +01:00
securityutil fix: block SSRF bypass through HTTP proxy in restricted outbound client 2026-06-26 13:05:23 +01:00
server backend and governance: MCP contract, agent capabilities, API, and release-control 2026-06-23 17:26:15 +01:00
tlsutil fix: route local-network API connections through subprocess to bypass Tailscale NECP 2026-06-26 22:13:22 +01:00