Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network stack update #383

Closed
wants to merge 109 commits into from
Closed

Network stack update #383

wants to merge 109 commits into from

Conversation

Rans4ckeR
Copy link
Contributor

@Rans4ckeR Rans4ckeR commented Oct 9, 2022

Changes

  • Supports static V2 tunnels, single tunnel used for all players
  • Supports static V3 tunnels, single tunnel used for all players
  • Supports dynamic V3 tunnels, multiple tunnels used between players
  • Supports P2P: direct, STUN, IPv4 UPnP NAT, IPv6 UPnP firewall
  • Supports combining dynamic V3 tunnels and P2P connections
  • Parsing of IPv4 and IPv6 IP addresses from master server tunnel list*
  • Uses CnCNet tunnel ping mechanism instead of ICMP ping
  • Improved netcode using async (Value)Task, Memory, CancellationToken and I(Async)Disposable
  • Replace obsolete WebClient with HttpClient
  • Supports HTTP/1.1, HTTP/2 & HTTP/3
  • Does not require admin privileges to host LAN lobbies
  • IRC IPv6 support
  • Fix LAN lobbies broadcast/discovery with multiple network interfaces
  • Tunnel server IPv6 support*

Configuration

  • UserINISettings Multiplayer UseLegacyTunnels (switches between V2 and V3, default false)
  • UserINISettings Multiplayer UseDynamicTunnels (default true)
  • UserINISettings Multiplayer UseP2P (default false)
  • ChatBoxCommand /DYNAMICTUNNELS (host only, toggles between on and off)
  • ChatBoxCommand /P2P (toggles between on and off)

Related

@github-actions
Copy link

github-actions bot commented Oct 9, 2022

Nightly build for this pull request:

@Rans4ckeR Rans4ckeR force-pushed the networkstack branch 2 times, most recently from 9ac9238 to ce7bdaa Compare November 19, 2022 12:00
This was linked to issues Nov 19, 2022
@Rans4ckeR Rans4ckeR force-pushed the networkstack branch 6 times, most recently from ab2c062 to 6ac78ba Compare November 26, 2022 21:45
@Rans4ckeR Rans4ckeR marked this pull request as draft November 29, 2022 12:56
@Rans4ckeR Rans4ckeR marked this pull request as ready for review December 3, 2022 16:18
@Rans4ckeR Rans4ckeR force-pushed the networkstack branch 7 times, most recently from dd6f904 to 600a03b Compare December 9, 2022 09:14
@Rans4ckeR Rans4ckeR force-pushed the networkstack branch 2 times, most recently from 863adc9 to d007922 Compare December 30, 2022 13:49
@Rans4ckeR Rans4ckeR linked an issue Jan 1, 2023 that may be closed by this pull request
@Rans4ckeR Rans4ckeR force-pushed the networkstack branch 2 times, most recently from bbd359e to 2766b26 Compare January 29, 2023 00:41
@Rans4ckeR Rans4ckeR force-pushed the networkstack branch 2 times, most recently from 97c35ae to 2c6eeed Compare February 18, 2023 14:38
@Metadorius
Copy link
Member

image
Sorry but that's not reviewable. Please split the PR if you want any reviewing work to be done in the foreseeable future.

@Rans4ckeR Rans4ckeR closed this Oct 19, 2023
@Rans4ckeR Rans4ckeR deleted the networkstack branch November 16, 2023 20:00
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.

Network Stack Upgrade P2P & V3 tunnel support Requests not using https
3 participants