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

Request an authentication token only at join, and using the GETTOKEN action instead of the LIST action. #351

Open
wants to merge 3 commits into
base: 2.4
Choose a base branch
from

Conversation

blast007
Copy link
Member

Previously, we've used the LIST action to request a player authentication token. This was often wasteful because it requested the entire list of servers as well. We could use the token that was provided along with the server list when joining a game server, so it did at times consolidate two requests down to one. However, we're now aiming to restrict a game token to a specific game server host/port instead of the player's IP address so that we can handle CGNAT.

This change causes the token to only be requested during the join process. Additionally, when paired with the new bzfls3, no token will be generated during the LIST action.

@blast007 blast007 added this to the 2.4.28 milestone May 19, 2024
Generating a token no longer fetches the entire server list. This also
instructs the list server to not generate a token for the LIST action,
since we're now trying to restrict tokens to a specific server host/port
instead of the player IP.
@blast007 blast007 marked this pull request as ready for review August 17, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant