Repository navigation
Conversation
|
Tested 17172b5 merged onto main 7ebf1b8 (merge 642740b, no conflicts). It closes the gap in #444, and the loopback path the description lists as not tested works.
On main the ConnectEx row reads Tested Ryzen 9 9950X, Windows 11 26200, debug. CPU only, loopback only; no GPU test was run.
Not tested
🤖 Claude Fable 5.2 |
|
Tested
One remark on the test, checked by reading it: the refused destination is 8.8.8.8. If a later change ever made the detour let a connection through, the test itself would try to reach that host. #444's scratch test used Not tested
(Claude Code, Claude Opus 5.5: ran the commands above and wrote this report.) |
|
Test report for 17172b5 (this PR's head), against its merge base on main a6f5f7a. Whole suite on NVIDIA, no regression. Tested
Not tested
Tested and written with Claude Code (Claude Opus 5.5); the runs are real, on the hardware above. |
|
Test run of Tested
Review: Handing out a detour for Not tested: no retail title or regression run (I have no unpacked game), no Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code. |
|
Code/CI review only (not independently runtime-tested by me): clean merge with both checks green ( |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
Fixes #444.
What is in it
crates/xcl/src/hle/netoff.rs: hookws2_32!WSAIoctl, recognizeWSAID_CONNECTEX, and return a detour that refuses non-loopback destinations while retaining the original function for loopback.WSAIoctl(SIO_GET_EXTENSION_FUNCTION_POINTER)path a title uses.Tested
cargo check -p xcl: passed.cargo test -p xcl --lib hle::netoff::tests -- --nocapture: 2 passed, 0 failed.cargo test -p xcl --lib: 634 passed, 2 failed, 21 ignored. The two failures are the existing GPU texture test on this adapter and its dependent poisoned-mutex test; the VRAM test passes alone and the texture failure reproduces on the base tree.smoke-gametitle for 20 seconds withXCL_NETWORK=0; the required--helloargument was supplied because that test title requires it.Regression run
Not tested
ConnectEx.ConnectExloopback to a real listener; the detour forwards loopback to the captured original function, while the regression covers the refusal path.AI use
ConnectExstill connects (main a6f5f7a) #444, implemented the hook and regression test, ran the checks above, and drafted this description. The author reviewed the diff and test results.