mirror of
https://github.com/Devolutions/IronRDP.git
synced 2026-11-23 08:25:56 +00:00
fa9665501e
Pin public Wireshark RDP captures for repeatable benchmark inputs. Fetch only immutable raw URLs with curl, verify SHA-256 digests, and atomically replace corrupt cache entries. CI rejects tracked packet captures. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
834 B
834 B
IronRDP project automation
Free-form automation following cargo xtask specification.
Benchmark capture corpus
cargo xtask bench corpus-fetch
cargo xtask bench corpus-list
Both commands run the corpus-bench binary from ironrdp-bench, which owns the corpus code and its dependencies.
corpus-fetch uses curl to download the captures listed in crates/ironrdp-bench/corpus.toml from the pinned upstream commit and verifies each SHA-256 digest.
Verified captures are cached under the ignored bench-data/wireshark-rdp/<revision>/captures directory.
To update the corpus, change the manifest revision, entries, and digests together, then run cargo xtask bench corpus-fetch.
Never commit captures, TLS key material, decrypted payloads, or generated output.