Commit Graph

352 Commits

Author SHA1 Message Date
dependabot[bot] 1eaf333057 build(deps): bump opus2 from 0.3.3 to 0.4.0 (#1204) 2026-04-07 22:49:28 +09:00
Greg Lamberson c70d38a9f1 build: upgrade sspi to 0.19, picky to rc.22, fix NTLM fallback (#1188) 2026-04-01 08:15:18 +09:00
Greg Lamberson 2515470fdb feat(server): add auto-detect RTT measurement (#1177)
Adds server-side RTT measurement using the protocol-standard auto-detect
mechanism (MS-RDPBCGR 2.2.14).
2026-03-31 17:42:09 +00:00
dependabot[bot] d92dd382b3 build(deps): bump criterion from 0.5.1 to 0.8.1 (#1184) 2026-03-24 02:39:42 +00:00
dependabot[bot] b588004956 build(deps): bump the patch group across 1 directory with 2 updates (#1183) 2026-03-24 09:34:49 +09:00
Mota-Link 306da0fee2 test(rdpsnd): add client state machine tests (#1169)
Add comprehensive tests for the Rdpsnd client SvcProcessor, covering
state transitions, error paths, and renegotiation.

- Error-path tests: invalid PDU in Start/WaitingForTraining → Stop
- Happy-path tests: Ready state silent PDUs, training confirm,
renegotiation (V5/V6), repeated renegotiation stability
- Terminal state: Stop ignores all PDU types
2026-03-17 23:05:27 +09:00
Greg Lamberson 5e316bba1c feat(egfx): add openh264 feature-gated H.264 decoder (#1104) 2026-03-17 16:47:18 +09:00
dependabot[bot] ecc0504644 build(deps): bump the patch group across 1 directory with 3 updates (#1170) 2026-03-17 12:14:09 +09:00
dependabot[bot] ed0c26ca6a build(deps): bump reqwest from 0.12.26 to 0.12.28 (#1171) 2026-03-17 12:12:12 +09:00
dependabot[bot] 7fc3d8d6c8 build(deps): bump the patch group across 1 directory with 11 updates (#1141) 2026-03-13 16:26:55 +00:00
Benoît Cortier a67b1aace7 feat: add ironrdp-str crate with typed wire-aware RDP string primitives (#1159)
Introduces `ironrdp-str`, a new crate providing lazily-validated string
types covering all RDP UTF-16LE field shapes:

- `FixedString<N>`: fixed-size fields (e.g. `clientName`, `fileName`),
zero-padded on encode, trailing-null stripped on decode.
- `PrefixedString<P, N>`: length-prefixed fields with configurable
`LengthPrefix` (`CchU16`, `CchU32`, `CbU16`) and `NullTerminatorPolicy`
(`NullCounted`, `NullUncounted`, `NoNull`) type parameters.
- `UnframedString`: externally-lengthed fields whose length comes from a
sibling field in the containing message.
- `MultiSzString`: `MULTI_SZ` string lists (e.g. `HardwareIds` in
MS-RDPEUSB §2.2.4.2), with a `u32 cch` prefix counting all null
terminators including the final sentinel.

**Key design invariant**: wire bytes are stored as `Vec<u16>` and never
eagerly converted to Rust strings, enabling single-allocation decode and
zero-cost decode→encode passthrough for proxy use cases. Conversion is
deferred to explicit `to_native()` / `to_native_lossy()` calls.

Uses `bytemuck` for zero-copy LE→u16 reinterpretation on little-endian
targets; falls back to per-element byte-swap on big-endian.
2026-03-10 15:27:47 +00:00
Benoît Cortier 79869f9a76 chore: upgrade toolchain to 1.89.0 and migrate to Rust edition 2024 (#1153)
- Bump pinned toolchain from 1.88.0 to 1.89.0 in rust-toolchain.toml
- Migrate all workspace crates from edition 2021 to edition 2024
- Run `cargo fix --edition` to auto-migrate source code for edition 2024
compatibility (unsafe in unsafe fn, tail expr drop order, etc.)
- Replace all `expr_2021` macro fragment specifiers with `expr` now that
the workspace is fully on edition 2024
- Remove `keyword_idents_2024` lint (now enforced by the edition itself)
- Remove removed `clippy::string_to_string` lint (covered by
implicit_clone)
- Fix new clippy lints from 1.93.0: `manual_is_multiple_of`,
`useless_let_if_seq`, `manual_map`, `derivable_impls`,
`redundant_imports`, `unused_crate_dependencies` (but didn’t bump MSRV)
- Drop `core::future::Future` unnecessary qualifications (Future is now
in the Rust 2024 prelude)
- Remove direct `bytes` deps from ironrdp-futures and ironrdp-tokio
(re-exported by ironrdp-async)
2026-03-09 14:32:53 +00:00
Greg Lamberson 02b9f4efbb fix(acceptor): send RDP_NEG_FAILURE on security protocol mismatch (#1152)
When the client and server have no common security protocol, the
acceptor now sends a proper `RDP_NEG_FAILURE` PDU before returning an
error, instead of dropping the TCP connection.
2026-03-06 15:04:07 +00:00
Plaban Roy ff2b5671b5 chore: bootstrap crate ironrdp-rdpeusb (#1151) 2026-03-05 12:28:32 +00:00
dependabot[bot] e406559e0d build(deps): bump uuid from 1.20.0 to 1.21.0 (#1119) 2026-02-24 14:27:47 +09:00
Benoît Cortier 39364dbf3b test(echo): move echo tests to ironrdp-testsuite-core (#1114) 2026-02-18 08:52:29 -05:00
Marc-André Moreau 6f6496ad29 feat: implement ECHO virtual channel (#1109) 2026-02-18 21:01:24 +09:00
glamberson 4ba696c266 feat(server): add EGFX server integration with DVC bridge (#1099) 2026-02-18 03:24:24 +09:00
dependabot[bot] 0cca23fbdc build(deps): bump the patch group across 2 directories with 13 updates (#1105) 2026-02-18 03:16:09 +09:00
glamberson 300f9a3ea5 feat(egfx): add MS-RDPEGFX Graphics Pipeline Extension (#1057)
Co-authored-by: lamco-office <office@lamco.io>
2026-02-12 23:30:09 +09:00
Marc-André Moreau 9c987bcb40 feat: Add DVC COM plugin loader for native Windows DVC client plugins
Implements support for loading and using native Windows Dynamic Virtual
Channel (DVC) client plugin DLLs through the COM-based IWTSPlugin API.
This enables IronRDP to leverage existing Windows DVC plugins such as
webauthn.dll for hardware security key support via RDP.

New crate: ironrdp-dvc-com-plugin
- Implements IWTSVirtualChannelManager and IWTSVirtualChannel COM interfaces
- Manages plugin lifecycle on dedicated COM worker thread
- Handles channel open/close/reopen cycles with per-instance write callbacks
- Properly bridges between COM synchronous calls and IronRDP's async runtime

Client integration:
- Add --dvc-plugin CLI argument to ironrdp-client
- Load plugins in both TCP and WebSocket connection paths
- Windows-only conditional compilation for cross-platform builds

Additional fixes:
- Fix pre-existing crash in ironrdp-tokio KDC handler on 64-bit Windows
  (usize to u32 conversion in reqwest.rs)
- Add proper error handling using try_from instead of unsafe as casts
- All changes pass cargo fmt and cargo clippy with strict pedantic lints

Tested with: C:\Windows\System32\webauthn.dll
2026-02-10 16:46:08 -05:00
Marc-André Moreau ebf5da5f33 feat(rdp): add bulk compression and wire negotiation
- add ironrdp-bulk crate with MPPC/NCRUSH/XCRUSH, bitstream, benches, and metrics
- advertise compression in Client Info and plumb compression_type through connector
- decode compressed FastPath/ShareData updates using BulkCompressor
- update CLI to numeric compression flags (enabled by default, level 0-3)
- extend screenshot example with compression options and negotiated logging
- refresh tests, FFI/web configs, typos, and Cargo.lock
2026-02-09 15:22:51 -05:00
dependabot[bot] 50168c8693 build(deps): bump uuid from 1.19.0 to 1.20.0 (#1087) 2026-02-03 20:31:35 +09:00
dependabot[bot] 6afe86f2de build(deps): bump time from 0.3.45 to 0.3.46 in the patch group across 1 directory (#1084) 2026-01-28 22:26:08 +09:00
dependabot[bot] e92135dc0d build(deps): bump nix from 0.30.1 to 0.31.1 (#1085) 2026-01-28 22:10:58 +09:00
dependabot[bot] b099279424 build(deps): bump whoami from 1.6.1 to 2.0.2 (#1081) 2026-01-20 15:52:03 +00:00
dependabot[bot] 5680b593d9 build(deps): bump the patch group across 1 directory with 6 updates (#1080) 2026-01-20 09:50:33 -05:00
Benoît Cortier bedff7ebb7 build(deps): bump sspi from 0.18.6 to 0.18.7 (#1079) 2026-01-19 20:06:49 +00:00
dependabot[bot] 71245d58cc build(deps): bump cpal from 0.16.0 to 0.17.1 (#1071) 2026-01-13 16:45:56 +00:00
dependabot[bot] 313e7d6cb9 build(deps): bump sspi from 0.18.5 to 0.18.6 in the patch group across 1 directory (#1070) 2026-01-13 10:29:02 -05:00
Benoît Cortier 35e8753075 chore: clean up workflow config and remove unused npm dependencies (#1059)
- Clean up permissions and remove unnecessary fetch-depth settings from
release workflow.
- Clean up unused peer dependency entries from package-lock.json files.
2026-01-07 19:25:35 +00:00
dependabot[bot] 22bea60496 build(deps): bump the patch group across 1 directory with 4 updates (#1068) 2026-01-07 13:32:57 -05:00
devolutionsbot 87f8d073c8 chore(release): prepare for publishing (#1020) 2025-12-20 11:42:23 +00:00
dependabot[bot] b50b648344 build(deps): bump the patch group across 1 directory with 3 updates (#1055) 2025-12-16 02:09:49 -05:00
dependabot[bot] 113284a053 build(deps): bump uuid from 1.18.1 to 1.19.0 (#1056) 2025-12-16 02:09:12 -05:00
dependabot[bot] 0903c9ae75 build(deps): bump the patch group across 1 directory with 4 updates (#1051) 2025-12-09 00:18:06 -05:00
dependabot[bot] f31af061b9 build(deps): bump rstest from 0.25.0 to 0.26.1 (#1052) 2025-12-09 00:17:45 -05:00
dependabot[bot] cf978321d3 build(deps): bump the patch group across 1 directory with 6 updates (#1044) 2025-12-03 07:52:21 +00:00
dependabot[bot] b303ae3a90 build(deps): bump criterion from 0.7.0 to 0.8.0 (#1045)
Bumps [criterion](https://github.com/criterion-rs/criterion.rs) from
0.7.0 to 0.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/criterion-rs/criterion.rs/releases">criterion's
releases</a>.</em></p>
<blockquote>
<h2>criterion-plot-v0.8.0</h2>
<p>No release notes provided.</p>
<h2>criterion-v0.8.0</h2>
<h3>BREAKING</h3>
<ul>
<li>Drop async-std support</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump MSRV to 1.86, stable to 1.91.1</li>
</ul>
<h3>Added</h3>
<ul>
<li>Add ability to plot throughput on summary page.</li>
<li>Add support for reporting throughput in elements and bytes -
<code>Throughput::ElementsAndBytes</code> allows the text summary to
report throughput in both units simultaneously.</li>
<li>Add alloca-based memory layout randomisation to mitigate memory
effects on measurements.</li>
<li>Add doc comment to benchmark runner in criterion_group macro
(removes linter warnings)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix plotting NaN bug</li>
</ul>
<h3>Other</h3>
<ul>
<li>Remove Master API Docs links temporarily while we restore the docs
publishing.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md">criterion's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/criterion-rs/criterion.rs/compare/criterion-v0.7.0...criterion-v0.8.0">0.8.0</a>
- 2025-11-29</h2>
<h3>BREAKING</h3>
<ul>
<li>Drop async-std support</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump MSRV to 1.86, stable to 1.91.1</li>
</ul>
<h3>Added</h3>
<ul>
<li>Add ability to plot throughput on summary page.</li>
<li>Add support for reporting throughput in elements and bytes -
<code>Throughput::ElementsAndBytes</code> allows the text summary to
report throughput in both units simultaneously.</li>
<li>Add alloca-based memory layout randomisation to mitigate memory
effects on measurements.</li>
<li>Add doc comment to benchmark runner in criterion_group macro
(removes linter warnings)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix plotting NaN bug</li>
</ul>
<h3>Other</h3>
<ul>
<li>Remove Master API Docs links temporarily while we restore the docs
publishing.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/criterion-rs/criterion.rs/commit/b49ade728c064f49cb2a70b0368658a15cf21833"><code>b49ade7</code></a>
chore: release v0.8.0</li>
<li>See full diff in <a
href="https://github.com/criterion-rs/criterion.rs/compare/criterion-plot-v0.7.0...criterion-v0.8.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=criterion&package-manager=cargo&previous-version=0.7.0&new-version=0.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-03 02:36:06 -05:00
dependabot[bot] 742607240c build(deps): bump clap from 4.5.52 to 4.5.53 in the patch group across 1 directory (#1039) 2025-11-25 04:13:45 -05:00
dependabot[bot] 866a6d8674 build(deps): bump bytesize from 2.2.0 to 2.3.0 (#1040) 2025-11-25 04:13:24 -05:00
Allan Zhang 5bd319126d build(deps): bump picky and sspi (#1028)
This fixes build issues with some dependencies.
2025-11-19 14:08:42 +00:00
dependabot[bot] 79e71c4f90 build(deps): bump windows from 0.61.3 to 0.62.1 (#1010)
Co-authored-by: Vladyslav Nikonov <mail@pacmancoder.xyz>
2025-11-10 14:12:28 -05:00
irvingouj@Devolutions d3e0cb17e1 feat(ffi): expose RDCleanPath (#1014)
Add RDCleanPath support for Devolutions.IronRDP .NET package
2025-10-30 16:38:41 +00:00
dependabot[bot] bbdecc2aa9 build(deps): bump clap from 4.5.49 to 4.5.50 in the patch group across 1 directory (#1023) 2025-10-21 05:04:36 -04:00
Alex Yusiuk e87048c19b refactor: get rid of lazy_static (#1022) 2025-10-20 15:07:19 -04:00
dependabot[bot] 52225cca3e build(deps): bump the patch group across 1 directory with 3 updates (#1017) 2025-10-14 05:25:35 -04:00
dependabot[bot] d24dbb1e2c build(deps): bump tokio-tungstenite from 0.27.0 to 0.28.0 (#1009) 2025-10-08 04:19:40 -04:00
dependabot[bot] a24a1fa9e8 build(deps): bump bytemuck from 1.23.2 to 1.24.0 (#1008) 2025-10-07 09:43:36 -04:00
devolutionsbot c6b5487559 chore(release): prepare for publishing (#1002) 2025-10-02 03:34:02 +00:00