Skip to content

Rtltcp proxy - #1

Closed
dlasher wants to merge 25 commits into
mainfrom
rtltcp_proxy
Closed

dlasher wants to merge 25 commits into
mainfrom
rtltcp_proxy

Conversation

@dlasher

@dlasher dlasher commented May 24, 2026

Copy link
Copy Markdown
Owner

No description provided.

github-actions Bot added 25 commits May 22, 2026 10:47
…aCha20 cipher state in control thread, EncryptedWriter for IQ writer loop
- Proxy control thread now encrypts commands with ChaCha20 write_cipher
  before forwarding upstream (fixes 'unsupported command' warnings)
- UpstreamConnection.encryption_key replaced with read_cipher/write_cipher
- connect_upstream creates ciphers from exchanged nonces directly
- Removed unused warn import, suppressed dead_code on test-only types,
  prefixed unused variables with underscore
- Bump version to 0.9.3
- New binary: rtltcp-capture — connects to RTL_TCP server, saves IQ data
  with timestamps to disk, ring-buffer with --buffer-mem
- New binary: rtltcp-replay — reads capture file, streams as RTL_TCP server
  with --speed, --loop, client command logging
- New RTLX file format in src/capture/mod.rs (magic + timestamped chunks)
- Fix: command reader thread now uses set_read_timeout instead of polling
  cmd_quit before read_exact (discarded buffered commands)
- Fix: --loop-mode renamed to --loop (per spec REQ-012)
- Fix: tracing output redirected from stdout to stderr
- 8 integration tests in tests/capture_test.rs (magic+data, disconnect,
  command logging, missing file, corrupted file, empty file, invalid args,
  connection failure)
- 4 unit tests in src/capture/mod.rs (roundtrip, empty chunk, buffer flush,
  invalid magic)
- All 192 tests pass, zero build warnings
- Add Default impl for AgcState to fix clippy::new_without_default
- Remove redundant use tracing_subscriber in capture.rs
- Add type alias EncryptionNonces to fix clippy::type_complexity
- Add #[allow(clippy::too_many_arguments)] on spawn_master_control_thread
  and spawn_slave_acceptor (pre-existing design)
- Change CI test commands from --all-features to --features daemon_systemd
  to exclude hardware-tests (requires RTL-SDR device)
@dlasher dlasher closed this May 24, 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