Two-repo monorepo for an offline FUT backend inspired by SPT. openfut-core: game-independent REST API backend (Axum, SQLite, SQLx) - 19 API endpoints: auth, profiles, clubs, cards, packs, squads, objectives, SBCs, match rewards, NPC market, statistics - JSON-driven card/pack/objective/SBC data (fully moddable) - SQLx migrations, weighted pack generator, SBC validation engine - 5 integration tests passing openfut-bridge: FIFA 23 traffic proxy + reverse-engineering scaffold - Catch-all HTTP proxy with request capture to captures/ - Known-route mapper (FUT paths → Core API calls) - Placeholder responses for unknown endpoints - Admin endpoints: captures, unknown endpoint list - 4 unit tests passing cargo fmt ✓ cargo clippy -D warnings ✓ cargo test ✓ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2.3 KiB
Proxy Setup Notes
Research notes for routing FIFA 23 traffic through OpenFUT Bridge.
Goal
Intercept all FUT API calls from FIFA 23 so the Bridge can:
- Log every request for reverse engineering
- Route known endpoints to OpenFUT Core
- Return placeholder responses for the rest
PC (FIFA 23 via EA App / Steam)
Option A: Windows hosts file
Redirect utas.fut.ea.com and related domains to localhost.
# C:\Windows\System32\drivers\etc\hosts
127.0.0.1 utas.fut.ea.com
127.0.0.1 utas2.fut.ea.com
127.0.0.1 ea.com
The Bridge must listen on port 443 (HTTPS) or 80 (HTTP). FIFA 23 expects HTTPS — you'll need a self-signed cert and need to trust it.
Option B: mitmproxy
- Install mitmproxy
- Set Windows system proxy to 127.0.0.1:8080
- Configure mitmproxy to forward FUT traffic to Bridge
mitmproxy --mode transparent \
--listen-host 127.0.0.1 \
--listen-port 8080
⚠️ FIFA 23 may use certificate pinning — this is unconfirmed. If pinning is active, the hosts file approach or a traffic-level redirect may be needed instead.
RPCS3 (PS3 emulator)
RPCS3 has built-in network settings:
- Open RPCS3 → Configuration → Network
- Set DNS to point to your OpenFUT Bridge IP
- Configure
PSN StatustoRPCNor custom - The Bridge intercepts DNS and HTTP/HTTPS traffic
Research needed: RPCS3 FIFA 23 title ID and specific network behavior.
Certificate Handling
EA's FUT API uses HTTPS. Options:
- Self-signed cert — generate with
openssland add to system trust store - HTTP downgrade — if the client accepts HTTP (unlikely for production)
- Traffic-level redirect — use iptables/nftables to redirect port 443 traffic
- No cert — if FIFA 23 PC doesn't verify certs (to be tested)
Generating a self-signed cert
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes \
-subj "/CN=utas.fut.ea.com"
Status
🔴 Not tested yet. All of the above is research / theoretical. The first step is to capture real FIFA 23 traffic with mitmproxy and document actual endpoints.
Next Steps
- Set up mitmproxy on a FIFA 23 PC
- Start FIFA 23 and navigate to FUT mode
- Export the mitmproxy capture
- Add real endpoints to
docs/endpoint-map.md - Add mappings to
src/mapper.rs