XCL_NETWORK=0: WSAConnectByList refuses all but loopback #815

Open
mastrr9 wants to merge 1 commit from upstream-pr/821 into main
mastrr9 commented 2026-11-24 06:02:23 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mastrr9 on 2026-11-24T06:02:23Z.


With XCL_NETWORK=0, WSAConnectByList was hooked neither in the title's import table nor in ws2_32.dll, and connects without passing through the hooked connect or WSAConnect. On Windows 11 with install_system_hooks() active, calling WSAConnectByList with 192.0.2.1:80 bypassed every hook and attempted a live TCP connect until WSAETIMEDOUT (10060) after 21.04 s. (WSAConnectByNameW and WSAConnectByNameA are already blocked because they call the hooked GetAddrInfoExW internally and fail in microseconds with WSAHOST_NOT_FOUND.)

What is in it

  • crates/xcl/src/hle/netoff.rs:
    • Hooks WSAConnectByList in both table() and install_system_hooks() (using a dedicated trampoline O_WSA_CONNECT_BY_LIST, placed after the main hook array to avoid textual conflicts with #807/#808/#462/#570/#612/#619).
    • Parses the x64 SOCKET_ADDRESS_LIST layout (count at offset 0, 16-byte SOCKET_ADDRESS entries from offset 8): refuses lists with no loopback entry (FALSE + WSAENETUNREACH), passes loopback-only lists through unchanged, and filters mixed lists to a copy containing only the loopback entries in order.
    • Regression test wsa_connect_by_list_refuses_all_but_loopback verifying both title-side import and system GetProcAddress("WSAConnectByList") behavior on non-loopback, mixed, and loopback-only lists.

Tested

  • Environment: NVIDIA GeForce RTX 5080 (16 GB, wave32, driver 617.42 / 32.0.16.1742), Windows 11 Pro 25H2 (26200.9974), D3D12 debug layer installed (d3d12SDKLayers.dll), rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC, DXC from Windows SDK 10.0.26100.0, debug build.
  • Negative control (unmodified main d208e14): empirical Windows 11 probe with install_system_hooks() confirmed WSAConnectByList(192.0.2.1:80) bypassed all hooks and timed out with WSAETIMEDOUT (10060) after 21.04 s.
  • Command (at head fdabe7392327c5472ddad9cbfccbbdb07a135f69): cargo build --workspace && cargo test --workspace -- --test-threads=4
  • Result: 714 passed, 0 failed, 41 ignored (0 new warnings).
    • hle::netoff::tests::wsa_connect_by_list_refuses_all_but_loopback — ok
  • SKIPPED (2): gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask (no wave64), gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware (no wave64).

Regression run
Smoke run by @Toons29 in comment below: https://github.com/xcl-dev/xcl/pull/821#issuecomment-7151529062
Contributed by a community tester; the PR author did not run it. Both blocks are pasted as posted.

main:

xcl-smoke v1
commit: 4178e888c0b5be50a2887eda45cdb832763b68a4
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1618 (PresentX 1618)
presents per 2 s (last 3): 61 60 60
device removals: 0
crashes: 0
peak commit: 14831 MB

PR:

xcl-smoke v1
commit: f9ef76857b281b1502c7b9b21f093c72d26e4426
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1613 (PresentX 1613)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14814 MB

Tester's setup and limits: AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, cargo build --release -p xcl, 60 s, XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.

Tester's AI use: Claude Code (Claude Opus 5.5) built both trees and ran scripts/smoke.ps1; the tester checked the blocks before posting.

Not tested

  • By the author: AMD/wave64 hardware, and release build.
  • Whether the community regression run above reaches the code this PR changes.

AI use

  • Claude Opus 5.5 (via Claude Duet / Claude Code) flagged the WSAConnectByList lead and wrote the hook implementation and unit test.
  • Antigravity (Gemini 4 Neon & Gemini 4 Hydrogen) empirically confirmed the Windows 11 bypass (and verified WSAConnectByNameW/A were already blocked), audited the x64 SOCKET_ADDRESS_LIST layout, ran the full Windows RTX 5080 MSVC + D3D12 debug-layer workspace suite, and drafted this PR description.
  • Claude Code (Claude Sonnet 5.5) added the community regression run to this description and updated the lines that it made out of date or that the PR check requires.
<!-- greyfinch-sync:ivall/xcl:issue:5466997332 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/821). Originally posted by [mastrr9](https://github.com/mastrr9) on 2026-11-24T06:02:23Z. --- With `XCL_NETWORK=0`, `WSAConnectByList` was hooked neither in the title's import table nor in `ws2_32.dll`, and connects without passing through the hooked `connect` or `WSAConnect`. On Windows 11 with `install_system_hooks()` active, calling `WSAConnectByList` with `192.0.2.1:80` bypassed every hook and attempted a live TCP connect until `WSAETIMEDOUT` (`10060`) after 21.04 s. (`WSAConnectByNameW` and `WSAConnectByNameA` are already blocked because they call the hooked `GetAddrInfoExW` internally and fail in microseconds with `WSAHOST_NOT_FOUND`.) **What is in it** - `crates/xcl/src/hle/netoff.rs`: - Hooks `WSAConnectByList` in both `table()` and `install_system_hooks()` (using a dedicated trampoline `O_WSA_CONNECT_BY_LIST`, placed after the main hook array to avoid textual conflicts with #807/#808/#462/#570/#612/#619). - Parses the x64 `SOCKET_ADDRESS_LIST` layout (count at offset 0, 16-byte `SOCKET_ADDRESS` entries from offset 8): refuses lists with no loopback entry (`FALSE` + `WSAENETUNREACH`), passes loopback-only lists through unchanged, and filters mixed lists to a copy containing only the loopback entries in order. - Regression test `wsa_connect_by_list_refuses_all_but_loopback` verifying both title-side import and system `GetProcAddress("WSAConnectByList")` behavior on non-loopback, mixed, and loopback-only lists. **Tested** - **Environment:** NVIDIA GeForce RTX 5080 (16 GB, wave32, driver `617.42` / `32.0.16.1742`), Windows 11 Pro 25H2 (`26200.9974`), D3D12 debug layer installed (`d3d12SDKLayers.dll`), `rustc 1.100.0 (0ef1bc386 2026-11-09)` MSVC, DXC from Windows SDK `10.0.26100.0`, debug build. - **Negative control (unmodified `main` `d208e14`):** empirical Windows 11 probe with `install_system_hooks()` confirmed `WSAConnectByList(192.0.2.1:80)` bypassed all hooks and timed out with `WSAETIMEDOUT` (`10060`) after 21.04 s. - **Command (at head `fdabe7392327c5472ddad9cbfccbbdb07a135f69`):** `cargo build --workspace && cargo test --workspace -- --test-threads=4` - **Result:** **714 passed, 0 failed, 41 ignored** (0 new warnings). - `hle::netoff::tests::wsa_connect_by_list_refuses_all_but_loopback` — `ok` - **SKIPPED (2):** `gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask` (`no wave64`), `gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware` (`no wave64`). **Regression run** Smoke run by @Toons29 in comment below: https://github.com/xcl-dev/xcl/pull/821#issuecomment-7151529062 Contributed by a community tester; the PR author did not run it. Both blocks are pasted as posted. main: ``` xcl-smoke v1 commit: 4178e888c0b5be50a2887eda45cdb832763b68a4 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1618 (PresentX 1618) presents per 2 s (last 3): 61 60 60 device removals: 0 crashes: 0 peak commit: 14831 MB ``` PR: ``` xcl-smoke v1 commit: f9ef76857b281b1502c7b9b21f093c72d26e4426 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1613 (PresentX 1613) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14814 MB ``` Tester's setup and limits: AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, `cargo build --release -p xcl`, 60 s, `XCL_NETWORK=0`. This is a regression check only: it does not show whether the run reaches the code this PR changes. Tester's AI use: Claude Code (Claude Opus 5.5) built both trees and ran `scripts/smoke.ps1`; the tester checked the blocks before posting. **Not tested** - By the author: AMD/wave64 hardware, and release build. - Whether the community regression run above reaches the code this PR changes. **AI use** - Claude Opus 5.5 (via Claude Duet / Claude Code) flagged the `WSAConnectByList` lead and wrote the hook implementation and unit test. - Antigravity (Gemini 4 Neon & Gemini 4 Hydrogen) empirically confirmed the Windows 11 bypass (and verified `WSAConnectByNameW/A` were already blocked), audited the x64 `SOCKET_ADDRESS_LIST` layout, ran the full Windows RTX 5080 MSVC + D3D12 debug-layer workspace suite, and drafted this PR description. - Claude Code (Claude Sonnet 5.5) added the community regression run to this description and updated the lines that it made out of date or that the PR check requires.
SlopTart commented 2026-11-24 07:06:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-24T06:40:07Z.


2|
3|AMD/wave64 + release-build datapoint, plus a Wine caveat: the new unit test cannot run under Wine at all.
4|
5|Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Wine = Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust 1.100.0 cross x86_64-pc-windows-gnu, release profile, XCL_NETWORK=0, native wave64. Same rig as my Linux rows in #42 / #718.
6|
7|Merged state: head fdabe7392 onto main beaa245, clean merge.
8|
9|Full suite, cargo test --workspace --release --no-fail-fast -- --test-threads=4: 703 passed, 11 failed, 41 ignored (17 suites). 10 of the 11 are known: this rig's 7 stable Wine-lane failures (my #42 row) + the #718 flaky trio (~2/5 rate at threads=4, PR-independent). The 11th is yours:
10|
11|- hle::netoff::tests::wsa_connect_by_list_refuses_all_but_loopback fails under Wine: it panics at netoff.rs:403 on .expect("export") — GetProcAddress(ws2_32.dll, "WSAConnectByList") returns NULL under Proton Experimental (wine-11.0). Wine's ws2_32 does not export WSAConnectByList, so the test's system-address lookup dies before any assertion. Your sibling test the_systems_own_network_functions_refuse passes here, so the netoff lane itself is fine; it is specifically the WSAConnectByList binding. If the function genuinely does not exist in Wine, a Wine-visible skip (#[cfg]-style or a runtime GetProcAddress-NULL skip) would keep the suite green on Linux/Wine lanes like mine — but if titles running under Wine call it through some other path, worth checking what that means for the hook.
12|
13|Your the_systems_own_network_functions_refuse unit test passes here.
14|
15|Not tested: retail titles / scripts/smoke.ps1 (none here), Windows, MSVC.
16|Counts only, no game data.
17|AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7124169120 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/821#issuecomment-7124169120). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-24T06:40:07Z. --- 2| 3|AMD/wave64 + release-build datapoint, plus a Wine caveat: the new unit test cannot run under Wine at all. 4| 5|**Machine:** RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Wine = Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust 1.100.0 cross `x86_64-pc-windows-gnu`, **release** profile, `XCL_NETWORK=0`, native wave64. Same rig as my Linux rows in #42 / #718. 6| 7|**Merged state:** head `fdabe7392` onto main `beaa245`, clean merge. 8| 9|**Full suite, `cargo test --workspace --release --no-fail-fast -- --test-threads=4`:** **703 passed, 11 failed, 41 ignored** (17 suites). 10 of the 11 are known: this rig's 7 stable Wine-lane failures (my #42 row) + the #718 flaky trio (~2/5 rate at threads=4, PR-independent). The 11th is yours: 10| 11|- `hle::netoff::tests::wsa_connect_by_list_refuses_all_but_loopback` **fails under Wine**: it panics at `netoff.rs:403` on `.expect("export")` — `GetProcAddress(ws2_32.dll, "WSAConnectByList")` returns NULL under Proton Experimental (wine-11.0). Wine's ws2_32 does not export `WSAConnectByList`, so the test's system-address lookup dies before any assertion. Your sibling test `the_systems_own_network_functions_refuse` passes here, so the netoff lane itself is fine; it is specifically the `WSAConnectByList` binding. If the function genuinely does not exist in Wine, a Wine-visible skip (`#[cfg]`-style or a runtime `GetProcAddress`-NULL skip) would keep the suite green on Linux/Wine lanes like mine — but if titles running under Wine call it through some other path, worth checking what that means for the hook. 12| 13|Your `the_systems_own_network_functions_refuse` unit test passes here. 14| 15|**Not tested:** retail titles / `scripts/smoke.ps1` (none here), Windows, MSVC. 16|Counts only, no game data. 17|AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
mastrr9 commented 2026-11-24 07:06:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mastrr9 on 2026-11-24T07:06:11Z.


Thanks for the Wine/Proton catch! Squashed a fix into 28fd53d829a5c4d9dd0b43b952c7f4493a57c146:

  • When GetProcAddress(ws2_32.dll, "WSAConnectByList") returns None (Wine/Proton), the test still verifies that our wsa_connect_by_list detour refuses non-loopback with WSAENETUNREACH and returns cleanly instead of panicking on .expect("export").
  • On native Windows where WSAConnectByList is exported, both the title import and system detour continue to be exercised in full.

Re-tested on native Windows 11 + NVIDIA RTX 5080 (28fd53d829a5c4d9dd0b43b952c7f4493a57c146, driver 617.42, rustc 1.100.0): cargo build --workspace clean, cargo test --workspace -- --test-threads=4: 714 passed, 0 failed, 41 ignored (SKIPPED: only the 2 no wave64 tests).

(Assisted-by: Antigravity / Gemini 4 Neon + Claude Sonnet 5.5)

<!-- greyfinch-sync:ivall/xcl:comment:7124618297 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/821#issuecomment-7124618297). Originally posted by [mastrr9](https://github.com/mastrr9) on 2026-11-24T07:06:11Z. --- Thanks for the Wine/Proton catch! Squashed a fix into `28fd53d829a5c4d9dd0b43b952c7f4493a57c146`: - When `GetProcAddress(ws2_32.dll, "WSAConnectByList")` returns `None` (Wine/Proton), the test still verifies that our `wsa_connect_by_list` detour refuses non-loopback with `WSAENETUNREACH` and returns cleanly instead of panicking on `.expect("export")`. - On native Windows where `WSAConnectByList` is exported, both the title import and system detour continue to be exercised in full. **Re-tested on native Windows 11 + NVIDIA RTX 5080** (`28fd53d829a5c4d9dd0b43b952c7f4493a57c146`, driver `617.42`, `rustc 1.100.0`): `cargo build --workspace` clean, `cargo test --workspace -- --test-threads=4`: **714 passed, 0 failed, 41 ignored** (`SKIPPED`: only the 2 `no wave64` tests). *(Assisted-by: Antigravity / Gemini 4 Neon + Claude Sonnet 5.5)*
dcastell1 commented 2026-11-24 08:03:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by dcastell1 on 2026-11-24T07:09:24Z.


Verified on Windows 11 10.0.26300, NVIDIA GeForce RTX 5090 (driver 621.24), Rust 1.100.0 MSVC 14.44.35207, debug build, on main@beaa245:

patch -p1 < this PR            # clean, no fuzz
cargo test --workspace -- --test-threads=4
exit 0; 0 failed

XCL_NETWORK=0 and WSAConnectByList is green here and the workspace keeps its verdict (737 passed on main on this box). Tree restored afterwards; hardware adapter, no Wine, no game data.

AI-assisted (opencode): applied the patch to a built tree, ran the suite, reverted it.

<!-- greyfinch-sync:ivall/xcl:comment:7124680876 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/821#issuecomment-7124680876). Originally posted by [dcastell1](https://github.com/dcastell1) on 2026-11-24T07:09:24Z. --- Verified on Windows 11 10.0.26300, NVIDIA GeForce RTX 5090 (driver 621.24), Rust 1.100.0 MSVC 14.44.35207, debug build, on `main@beaa245`: ``` patch -p1 < this PR # clean, no fuzz cargo test --workspace -- --test-threads=4 exit 0; 0 failed ``` XCL_NETWORK=0 and WSAConnectByList is green here and the workspace keeps its verdict (737 passed on `main` on this box). Tree restored afterwards; hardware adapter, no Wine, no game data. AI-assisted (opencode): applied the patch to a built tree, ran the suite, reverted it.
OrangeCrane1738 commented 2026-11-24 17:06:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by OrangeCrane1738 on 2026-11-24T16:48:22Z.


Test report for f9ef768 on the retail title: one 120 s smoke run without this PR and one with it.

Tested

  • Windows 11 Pro, NVIDIA GeForce RTX 5060 Ti, release builds, scripts/smoke.ps1 -Seconds 120 on the retail title, no input.
  • This PC has no Gaming Services, so plain main dies early on the XAsync routing that #235 fixes. Both builds therefore include #235: main 930e8b4 + #235, and the same + this PR (f9ef768). Their commits are local merges, so the blocks below can't stand in for the main / PR-head pair the PR check needs.
  • The title: line is the game folder's name, shortened.
  • Nothing visible in 120 s, as expected: the title doesn't call WSAConnectByList in that time.
  • The new hook installs in the real process: with this PR the log still shows XCL_NETWORK=0: the system's WinHTTP, WinINet and Winsock refuse the network for the whole process, which XCL prints only when every system hook went in.
  • Otherwise the same: DirectStorage 9,767 requests / 650 MB / 0 failed in both runs, the same 6 refused online-ticket requests, frames and memory within run-to-run noise, no crashes and no device removals.

Smoke runs

main 930e8b4 + #235

xcl-smoke v1
commit: fcc0a9ff026dedb611e32d3619fb374c67f87af0
gpu: NVIDIA GeForce RTX 5060 Ti
title: GTA6.Xbox.v1.0.2.1
seconds: 120
exit: 0x0
frames shown: 1140 (PresentX 1140)
presents per 2 s (last 3): 25 26 26
device removals: 0
crashes: 0
peak commit: 16514 MB

main 930e8b4 + #235 + #821 (f9ef768)

xcl-smoke v1
commit: 75c4d1b89050bef7936501cc23d263364de1106e
gpu: NVIDIA GeForce RTX 5060 Ti
title: GTA6.Xbox.v1.0.2.1
seconds: 120
exit: 0x0
frames shown: 1212 (PresentX 1212)
presents per 2 s (last 3): 24 24 24
device removals: 0
crashes: 0
peak commit: 15550 MB

Not tested

  • Runs of main and of this PR's head as they are (no Gaming Services here, see above).
  • A title that calls WSAConnectByList.
  • AMD; the cargo test suite (not run for this report).

AI use

  • Claude Opus 5.5 (in the Claude app): set up the test script, read the logs and wrote this report. The runs were made on my own machine with my own copy; nothing from the game is attached.
<!-- greyfinch-sync:ivall/xcl:comment:7138234530 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/821#issuecomment-7138234530). Originally posted by [OrangeCrane1738](https://github.com/OrangeCrane1738) on 2026-11-24T16:48:22Z. --- Test report for f9ef768 on the retail title: one 120 s smoke run without this PR and one with it. **Tested** - Windows 11 Pro, NVIDIA GeForce RTX 5060 Ti, release builds, `scripts/smoke.ps1 -Seconds 120` on the retail title, no input. - This PC has no Gaming Services, so plain `main` dies early on the XAsync routing that #235 fixes. Both builds therefore include #235: `main` 930e8b4 + #235, and the same + this PR (f9ef768). Their commits are local merges, so the blocks below can't stand in for the main / PR-head pair the PR check needs. - The `title:` line is the game folder's name, shortened. - Nothing visible in 120 s, as expected: the title doesn't call `WSAConnectByList` in that time. - The new hook installs in the real process: with this PR the log still shows `XCL_NETWORK=0: the system's WinHTTP, WinINet and Winsock refuse the network for the whole process`, which XCL prints only when every system hook went in. - Otherwise the same: DirectStorage 9,767 requests / 650 MB / 0 failed in both runs, the same 6 refused online-ticket requests, frames and memory within run-to-run noise, no crashes and no device removals. **Smoke runs** main 930e8b4 + #235 ``` xcl-smoke v1 commit: fcc0a9ff026dedb611e32d3619fb374c67f87af0 gpu: NVIDIA GeForce RTX 5060 Ti title: GTA6.Xbox.v1.0.2.1 seconds: 120 exit: 0x0 frames shown: 1140 (PresentX 1140) presents per 2 s (last 3): 25 26 26 device removals: 0 crashes: 0 peak commit: 16514 MB ``` main 930e8b4 + #235 + #821 (f9ef768) ``` xcl-smoke v1 commit: 75c4d1b89050bef7936501cc23d263364de1106e gpu: NVIDIA GeForce RTX 5060 Ti title: GTA6.Xbox.v1.0.2.1 seconds: 120 exit: 0x0 frames shown: 1212 (PresentX 1212) presents per 2 s (last 3): 24 24 24 device removals: 0 crashes: 0 peak commit: 15550 MB ``` **Not tested** - Runs of `main` and of this PR's head as they are (no Gaming Services here, see above). - A title that calls `WSAConnectByList`. - AMD; the cargo test suite (not run for this report). **AI use** - Claude Opus 5.5 (in the Claude app): set up the test script, read the logs and wrote this report. The runs were made on my own machine with my own copy; nothing from the game is attached.
Toons29 commented 2026-11-25 03:05:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Toons29 on 2026-11-25T03:02:23Z.


Regression run of f9ef7685 on the retail title, for this PR's Regression run section. Both blocks are from scripts/smoke.ps1 as printed, not edited: main on 4178e888, this PR on its head commit with no uncommitted changes, same title and time.

xcl-smoke v1
commit: 4178e888c0b5be50a2887eda45cdb832763b68a4
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1618 (PresentX 1618)
presents per 2 s (last 3): 61 60 60
device removals: 0
crashes: 0
peak commit: 14831 MB
xcl-smoke v1
commit: f9ef76857b281b1502c7b9b21f093c72d26e4426
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1613 (PresentX 1613)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14814 MB

Against the limits in CONTRIBUTING.md: 100 % of main's frames, 100 % of its peak commit, no crash, no device removal.

AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, cargo build --release -p xcl, 60 s, XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.

AI use: Claude Code (Claude Opus 5.5) built both trees and ran scripts/smoke.ps1; I checked the blocks before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7151529062 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/821#issuecomment-7151529062). Originally posted by [Toons29](https://github.com/Toons29) on 2026-11-25T03:02:23Z. --- Regression run of `f9ef7685` on the retail title, for this PR's **Regression run** section. Both blocks are from `scripts/smoke.ps1` as printed, not edited: `main` on `4178e888`, this PR on its head commit with no uncommitted changes, same title and time. ``` xcl-smoke v1 commit: 4178e888c0b5be50a2887eda45cdb832763b68a4 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1618 (PresentX 1618) presents per 2 s (last 3): 61 60 60 device removals: 0 crashes: 0 peak commit: 14831 MB ``` ``` xcl-smoke v1 commit: f9ef76857b281b1502c7b9b21f093c72d26e4426 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1613 (PresentX 1613) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14814 MB ``` Against the limits in CONTRIBUTING.md: 100 % of `main`'s frames, 100 % of its peak commit, no crash, no device removal. AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, `cargo build --release -p xcl`, 60 s, `XCL_NETWORK=0`. This is a regression check only: it does not show whether the run reaches the code this PR changes. AI use: Claude Code (Claude Opus 5.5) built both trees and ran `scripts/smoke.ps1`; I checked the blocks before posting.
DavidM1911 commented 2026-11-25 11:09:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T10:48:18Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7160195675 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/821#issuecomment-7160195675). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T10:48:18Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
github-actions[bot] commented 2026-11-29 20:41:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T20:41:13Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7262277637 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/821#issuecomment-7262277637). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T20:41:13Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 04:12:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:12:29Z.


Triage (#1607) – head f9ef768

No open or merged PR hooks WSAConnectByList. Main's netoff.rs does not touch it, and the other open netoff PRs (#462 ConnectEx, #570 bind, #807 WSASendTo, #808 local_name) change different functions. The SOCKET_ADDRESS_LIST layout used (count at 0, 16-byte entries from 8 on x64) is right, and the filtered copy keeps only the loopback entries.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7300489973 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/821#issuecomment-7300489973). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:12:29Z. --- **Triage (#1607)** – head f9ef768 No open or merged PR hooks `WSAConnectByList`. Main's netoff.rs does not touch it, and the other open netoff PRs (#462 ConnectEx, #570 bind, #807 WSASendTo, #808 local_name) change different functions. The SOCKET_ADDRESS_LIST layout used (count at 0, 16-byte entries from 8 on x64) is right, and the filtered copy keeps only the loopback entries. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
fromthemoonx commented 2026-12-02 22:02:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-12-02T22:02:19Z.


merge-check
base: 5ad98adbc3
head: f9ef76857b
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 3006 passed, 0 failed, 52 ignored; SKIPPED: 25 (22 no wave64, 2 no heap windows, 1 no GPU_UPLOAD heaps); failing: none
review: read the whole diff (1 file, +110). No problem found.

  • The shipped test only uses an invalid socket, so I made real connections in a scratch test (not pushed): local IPv4 and IPv6 listeners, and the system's WSAConnectByList found through GetProcAddress.

    list hooks not installed hooks installed
    127.0.0.1 connects connects
    192.0.2.1 and 127.0.0.1, in either order WSAETIMEDOUT after 21 s connects in under 1 ms
    ::1 connects connects
    2001:db8::1, then ::1 connects connects
    192.0.2.1 only WSAETIMEDOUT after 21 s WSAENETUNREACH at once

    Where it connected, 4 bytes went through, the remote address returned was the loopback entry, and the caller's list was not changed.

  • The hook is only installed with XCL_NETWORK=0. I did not run it with a title.

  • This head shows no Build and test (Windows, no GPU) run. It needs one before a merge.
    performance: none by default.
    verdict: safe to merge
    hardware / tool and model: RTX 3060 12 GB (610.88), Ryzen 7 5700X, Windows 11 Pro 26300 / Claude Code (Claude Opus 5.5)

<!-- greyfinch-sync:ivall/xcl:comment:7360136407 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/821#issuecomment-7360136407). Originally posted by [fromthemoonx](https://github.com/fromthemoonx) on 2026-12-02T22:02:19Z. --- merge-check base: 5ad98adbc360225ac8a57ad9661e16fe8df9d8dd head: f9ef76857b281b1502c7b9b21f093c72d26e4426 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 3006 passed, 0 failed, 52 ignored; SKIPPED: 25 (22 no wave64, 2 no heap windows, 1 no GPU_UPLOAD heaps); failing: none review: read the whole diff (1 file, +110). No problem found. - The shipped test only uses an invalid socket, so I made real connections in a scratch test (not pushed): local IPv4 and IPv6 listeners, and the system's `WSAConnectByList` found through `GetProcAddress`. | list | hooks not installed | hooks installed | |---|---|---| | 127.0.0.1 | connects | connects | | 192.0.2.1 and 127.0.0.1, in either order | WSAETIMEDOUT after 21 s | connects in under 1 ms | | ::1 | connects | connects | | 2001:db8::1, then ::1 | connects | connects | | 192.0.2.1 only | WSAETIMEDOUT after 21 s | WSAENETUNREACH at once | Where it connected, 4 bytes went through, the remote address returned was the loopback entry, and the caller's list was not changed. - The hook is only installed with `XCL_NETWORK=0`. I did not run it with a title. - This head shows no `Build and test (Windows, no GPU)` run. It needs one before a merge. performance: none by default. verdict: safe to merge hardware / tool and model: RTX 3060 12 GB (610.88), Ryzen 7 5700X, Windows 11 Pro 26300 / Claude Code (Claude Opus 5.5)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/821:upstream-pr/821'
git switch 'upstream-pr/821'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/821'
git switch 'upstream-pr/821'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/821'
git switch 'upstream-pr/821'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/821'
git switch 'main'
git merge --squash 'upstream-pr/821'
git switch 'main'
git merge --ff-only 'upstream-pr/821'
git switch 'main'
git merge 'upstream-pr/821'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!815
No description provided.