Skip to content

feat(launcher): add IPv6 connectivity via local UDP proxy for SA:MP compatibility#387

Open
Knogle wants to merge 31 commits intoopenmultiplayer:masterfrom
Knogle:wip/ipv6-omp-like-20260305
Open

feat(launcher): add IPv6 connectivity via local UDP proxy for SA:MP compatibility#387
Knogle wants to merge 31 commits intoopenmultiplayer:masterfrom
Knogle:wip/ipv6-omp-like-20260305

Conversation

@Knogle
Copy link

@Knogle Knogle commented Mar 7, 2026

Ahoy, hope you guys are doing fine.

This PR adds practical IPv6 support to the launcher flow, including compatibility with the samp.dll layer that is still IPv4-only.

  • Adds an internal local UDP proxy in the launcher (src-tauri) for IPv6 targets.
  • On IPv6 connect, the launcher now:
    • starts a local IPv4 endpoint (<local-ip>:<random-port>),
    • passes that local endpoint to gta_sa.exe / samp.dll,
    • relays traffic to the real remote IPv6 server.
  • Integrates proxy start/stop in both:
    • normal launcher flow (UI connect),
    • CLI launch flow.
  • Includes packet translation logic for SA:MP/RakNet compatibility, including legacy cipher/port remap handling where needed.

Why

omp-launcher can already resolve/query IPv6, but actual connect failed because samp.dll only uses an IPv4 stack.
This proxy bridge keeps the client-side behavior IPv4-local while enabling real IPv6 transport externally.

Result

  • First real IPv6 connect through launcher + client stack is working end-to-end.
  • Expected behavior: in some places the client may display the local proxy IP/port instead of the remote IPv6 endpoint.

Notes

  • This is an initial/preliminary implementation focused on reliable connectivity.
  • Additional hardening (strict loopback binding, stronger endpoint locking, timeout/abort refinements) can follow in a separate PR.

Also see:

openmultiplayer/RakNet#31

sampmoder and others added 30 commits February 14, 2026 14:02
I have added the 'ko.json' file with complete translations to improve accessibility for Korean players.

Changes:
- Added assets/locales/ko.json
- Registered 'ko' in the language selection list

Please review and merge this when you have time. Thanks!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants