wip(hook): preserve local FIFA17 configurable-server redirect + hook refactors

Preserved uncommitted openfut-hook WIP from the feat/launcher-arming checkout so the
canonical launcher can move to the reconciled merge ca7ce26 without losing it. This is
WORK-IN-PROGRESS (not production-polished): a configurable OpenFUT-server redirect for the
injected hook — new src/server.rs (server::set / sin_addr / dest_port_nbo_from_source_nbo,
referenced by lib.rs + connect_hook + connectex_hook) plus supporting changes to config.rs,
connect_hook.rs, connectex_hook.rs, hooks.rs, iat.rs, lib.rs, origin_spy.rs, ssl_patch.rs,
tls_bypass.rs, Cargo.{toml,lock}.

NOTE: this overlaps (same files, different approach) the SBC-tracing lineage's openfut-hook
changes now merged in ca7ce26; reconciling the two hook variants is a separate, deliberate
task. This commit only PRESERVES the local WIP on a dedicated branch.
This commit is contained in:
funman300
2026-08-13 15:10:12 +00:00
parent 13339c1478
commit 4e44a3792f
12 changed files with 464 additions and 191 deletions
+4
View File
@@ -7,6 +7,10 @@ edition = "2021"
crate-type = ["cdylib"]
[dependencies]
# Shared, dependency-free source of truth for the OpenFUT destination
# (host + ports) and the sockaddr byte-order helpers. Keeps all three hooks
# consistent and keeps this logic host-testable outside WinSock.
openfut-common = { path = "../openfut-common" }
windows-sys = { version = "0.59", features = [
"Win32_Foundation",
"Win32_System_LibraryLoader",