ostp/ostp-gui/src-tauri
ospab ee38b15402 Fix tun-helper IPC encryption mismatch and unify log format
tun-helper: the GUI encrypts all IPC commands with ChaCha20Poly1305 and
sends them as hex, but the helper was reading plain JSON — every command
was silently dropped and the tunnel core was never started. Fix by:
- Moving IpcCrypto + derive_key into ostp-client/src/ipc_crypto.rs as a
  shared module so GUI and helper always use identical crypto logic.
- Rewriting tun-helper/src/main.rs to hex-decode and decrypt every
  incoming line before JSON-parsing, and to encrypt + hex-encode every
  outgoing HelperMsg before sending.
- Replacing the custom log_to_file() helper with tracing::info/warn/error
  so all helper output goes through the standard tracing pipeline.
- Adding tracing and hex to ostp-tun-helper Cargo.toml; dropping chrono
  (no longer needed after removing log_to_file).

logging: unify output format across all OSTP binaries to match the
standard tracing-subscriber style:
  2026-06-21T19:11:18.643226Z  INFO ostp_server: message
- Enable the `time` feature in tracing-subscriber and set UTC RFC-3339
  timer on both file and stderr layers in init_tracing.
- Remove with_line_number(true) — line numbers are not part of the
  desired format and bloat the target field.
- Replace println! in runner.rs with tracing::info!.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 22:38:29 +03:00
..
capabilities fix: declare and grant custom Tauri v2 command permissions for GUI 2026-05-17 18:59:44 +03:00
icons docs: remove useless ostp-wiki folder from root 2026-06-19 14:42:45 +03:00
permissions docs: remove useless ostp-wiki folder from root 2026-06-19 14:42:45 +03:00
src Fix tun-helper IPC encryption mismatch and unify log format 2026-06-21 22:38:29 +03:00
.gitignore feat(gui): add fully native tauri windows gui with premium mobile layout, real-time statistics polling, in-app config editor, and graceful exit cleanup 2026-05-15 22:01:20 +03:00
Cargo.lock Add DNS Tunneling example to client init config 2026-06-19 23:21:39 +03:00
Cargo.toml docs: remove useless ostp-wiki folder from root 2026-06-19 14:42:45 +03:00
build.rs feat(gui): privileged TUN helper architecture - GUI runs unprivileged, UAC prompt shown only for TUN mode via ostp-tun-helper.exe IPC 2026-05-15 23:08:14 +03:00
tauri.conf.json Restore Session import for Windows compatibility and fix Flutter build 2026-06-19 18:24:51 +03:00