Repository navigation
Orbic-Rayhunter v0.6.0
Adds orx backup, the first orx device operation and the write-gate every later command depends on. It ports the proven Python backup to native Rust on the Sprint 4.1 transport (streaming tar + inline SHA-256), and is validated end-to-end on the device. orx-cli stays zero-dependency; 33 unit tests.
Added
-
orx backup(T-OR-034, Sprint 4.2): archives every writable device filesystem over the root
shell withtar, streamed to a0600<fs>.taron the host while hashing inline, and writes
aMANIFEST.txtin the exact format the write-gate reads. Each archive's state isok, or
ok-live(only with--allow-live, for a writable fs whose tar exits non-zero); a sub-1 KiB
result is rejected so a failed tar cannot masquerade as a backup. The device-correct busybox
tarinvocation (-C <mp> <--exclude> -cf - . 2>/dev/null, no--ignore-failed-read) and the
nested-mount excludes are unit-tested against the fake shell, and the command was validated
end-to-end on the unit: root.tar 86.7 MB, data/usrdata/cache allok, the inline SHA-256
matching an independentsha256sum.
Output files are written to anO_EXCLtemp (fresh0600, no symlink follow) and renamed
over the target, so a backup of device data (which can contain IMEI/IMSI) is never written
through a planted symlink (flagged by the automated security review). -
transport: a streamingShell::run_to(command, sink)that writes a command's output to a
writer as it arrives (never buffering), for atar-of-filesystem that would not fit in memory.
Its core is a unit-testedMarkerSplitterthat separates the payload from the trailing
exit-status marker correctly across any chunk boundary (including a marker split mid-sequence),
so the end marker can never corrupt a streamed backup. Foundation fororx backup/pull-logs.
Release assets
| Asset | Target / role | Size | SHA-256 |
|---|---|---|---|
orx-x86_64-linux |
host CLI (orx), x86_64 Linux |
627656 B | acfef7249b1fce65b882427c18591c75772b5126f12e9f55066fe63ea6a91694 |
rayhunter-daemon |
device daemon, armv7 musleabihf | 6110020 B | 304af782a1262b0a996e797dd43740bf90d5d6faed3a92d86d85443af3b63ec7 |
rootshell |
device root helper, armv7 musleabihf | 399700 B | bd913c4634f16a82f5b41854b5f77c424e3bca4bdf590de1f8b5d75e7e2b9298 |
SHA256SUMS lists these hashes; verify with sha256sum -c SHA256SUMS in the download directory.
Build provenance
- Tagged commit:
1b01ff0fce2c811b0df9326c251f58843c8b5df9 - Upstream pin: EFForg/rayhunter
cd462a1(cd462a1) - Rust toolchain:
1.98.0 - Daemon profile:
firmware(pq-tls, stripped, opt-level z, fat LTO), built in
messense/rust-musl-cross:armv7-musleabihf-- reproduces the upstream release
daemon to within a few hundred bytes (seere/notes/reproducible-build.md). - Built by
.github/workflows/release.ymlon ubuntu-24.04.
Pointers
- Install, scope and current state:
INSTALL.md,PROJECT-STATUS.mdat this tag. - Backup/recovery and device safety:
docs/BACKUP-AND-RECOVERY.md,docs/SECURITY-MODEL.md. - Full change history:
CHANGELOG.md.