Commit Graph

109 Commits

Author SHA1 Message Date
c2e91bd20c docs: document TLS cert expiry and manual regeneration procedure 2025-08-22 12:57:48 -07:00
25229d6b03 cargo fmt 2025-08-22 12:49:12 -07:00
290e2a8fb2 fix for expired certificate 2025-08-22 12:46:01 -07:00
30d263c71e agent: dynamic self-signed cert validity (~397d from now) to avoid immediate expiry 2025-08-22 12:43:48 -07:00
9b177f3206 cargo fmt 2025-08-22 11:55:41 -07:00
8a6ae3fcd7 increment version 2025-08-22 11:53:27 -07:00
5b8ec7efc1 agent: add --version / -V flag 2025-08-22 11:52:51 -07:00
155c420a1a cargo fmt all check ins 2025-08-22 11:10:11 -07:00
d3fa55e572 chore: ignore .vscode and remove from repo 2025-08-22 11:09:33 -07:00
faf2861b29 cargo fmt 2025-08-22 10:53:47 -07:00
59432ab1d3 agent: fix rcgen usage for self-signed cert generation 2025-08-22 10:48:01 -07:00
d1c8a64418 agent: replace openssl self-signed cert generation with rcgen (pure Rust) 2025-08-22 10:46:29 -07:00
8def4b2d06 Publish: include proto in each crate and fix build.rs paths 2025-08-22 10:44:56 -07:00
a42ca71a9f update version prior to cargo publish 2025-08-22 10:41:17 -07:00
9f675fa804
Merge pull request #4 from jasonwitty/feature/connection-profiles
Feature/connection profiles
2025-08-22 09:31:28 -07:00
3ac03c07ba enable GPU polling only when GPU is present 2025-08-22 09:27:05 -07:00
e53d0ab98d Add TLS / Token, polling interval indicators. 2025-08-21 17:38:26 -07:00
2ca51adc61 tui: refine header icons (crossed TLS when disabled, spacing fix) 2025-08-21 17:28:21 -07:00
67ecf36883 feat(tui): header shows TLS/token status and polling intervals 2025-08-21 17:24:41 -07:00
9a35306340 cargo fmt 2025-08-21 16:19:49 -07:00
a4bb6f170a feat(client): configurable metrics/process intervals with profile persistence; docs updated 2025-08-21 16:18:41 -07:00
384953d5d5
Merge pull request #3 from jasonwitty/feature/connection-profiles
Feature/connection profiles
2025-08-21 16:17:49 -07:00
f9114426cc add unit tests for profile creation and update readme 2025-08-21 14:42:15 -07:00
8ee2a03a2c chore(client): clean up demo mode integration and add stop log line 2025-08-21 13:55:02 -07:00
0275b1871d cargo fmt 2025-08-21 13:49:36 -07:00
9491dc50a8 feat(client): demo mode (--demo or select demo) auto-spawns local agent on 3231 2025-08-21 13:47:28 -07:00
e7eb3e6557 cargo fmt 2025-08-21 13:18:36 -07:00
a596acfb72 chore(client): refactor profile overwrite logic to satisfy clippy 2025-08-21 13:17:53 -07:00
b727e54589 feat(client): prompt for URL/CA when specifying a new profile name 2025-08-21 12:56:11 -07:00
2af08c455a fix(client): correct profile overwrite prompt logic (only save on confirm or --save) 2025-08-21 12:48:53 -07:00
d049846564 docs: add connection profiles section to README 2025-08-21 12:41:46 -07:00
97308f9d15 feat(client): connection profiles (--profile/-P, --save) with JSON persistence 2025-08-21 12:39:21 -07:00
4cef273e57
Merge pull request #2 from jasonwitty/feature/protobuf-processes
Feature/protobuf processes
2025-08-21 11:50:27 -07:00
660474a6ce ci cleanup 2025-08-20 20:36:49 -07:00
93dd14967d try/fix windows again ! 2025-08-20 16:32:51 -07:00
923a3872fe add logging to help debug windows problems 2025-08-20 15:47:28 -07:00
5f10e34341 windows try/fix 2025-08-20 15:20:07 -07:00
b80d322650 cargo fmt 2025-08-20 11:29:22 -07:00
fff386f9d5 fixing windows build problems. i hate windows !
Agent:
Added GET /healthz that returns 200 immediately.
File: main.rs (router now includes /healthz).
CI workflow:
Start agent from target/release on both OSes.
Set SOCKTOP_ENABLE_SSL=0 explicitly.
Ubuntu: wait on curl http://127.0.0.1:3000/healthz (60s), log tail and ss/netstat on failure.
Windows: wait on Invoke-WebRequest to /healthz (60s), capture stdout/stderr, print netstat on failure.
File: .github/workflows/ci.yml.
2025-08-20 11:26:09 -07:00
93f4e1feea fix windows build after ssl feature and optimize build 2025-08-20 10:24:24 -07:00
97255b42fb fix windows build 2025-08-20 00:14:21 -07:00
554a2c349f protobuff Process list
BREAKING: Process list over WS is now Protocol Buffers; client required.
Agent: returns all processes (no server-side top-k); large payloads gzip-compressed.
Client: decodes protobuf (gz/raw), moves sorting/pagination to TUI.
Build: add prost/prost-build with vendored protoc; enable thin LTO, panic=abort, strip symbols.
Cleanup: cfg-gate Linux-only code; fix Clippy across platforms; tests updated (ws probe TLS CA).
2025-08-19 23:24:36 -07:00
10501168c5 clippy fixes. 2025-08-19 15:52:30 -07:00
d346c61c28
Merge pull request #1 from jasonwitty/feature/wss-selfsigned
SSL Support
2025-08-19 15:33:50 -07:00
7652095109 cargo fmt 2025-08-19 15:33:11 -07:00
6b58ac67f6
Merge branch 'master' into feature/wss-selfsigned 2025-08-19 15:31:10 -07:00
3ad1d52fe2 fix windows build.
Some checks failed
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
Gate Linux-specific imports and fields to avoid Windows dead-code/unused warnings.
Ensure Linux-only proc CPU tracker is not referenced on non-Linux builds.
2025-08-16 17:42:18 -07:00
2e8cc24e81 remove dead code and increment version 2025-08-16 17:31:32 -07:00
36e73fd9ed cargo fmt 2025-08-16 01:25:03 -07:00
3d14e4a370 SSL Support
Add WSS/TLS (self‑signed) with client cert pinning; auto ws→wss on --tls-ca/-t; add -p/-t flags; harden TLS test; fix clippy; update README.

feat: WSS/TLS support (self‑signed + pinning), auto ws→wss when CA provided, new -p/-t flags; tests + clippy cleanup; docs updated.

Add TLS: self‑signed certs on agent, client pin via --tls-ca/-t (auto‑upgrade to wss), CLI/tests/README updates, clippy fixes.

12 files changed
Cargo.toml
README.md
Cargo.tomlsocktop_agent
main.rssocktop_agent/src
tls.rssocktop_agent/src
cli_args.rssocktop_agent/tests
Add Context...
README.md
2025-08-16 01:23:20 -07:00