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

Query Passing #1420

Open
BiraruYT opened this issue Sep 2, 2024 · 4 comments
Open

Query Passing #1420

BiraruYT opened this issue Sep 2, 2024 · 4 comments
Labels
type: feature New feature or request

Comments

@BiraruYT
Copy link

BiraruYT commented Sep 2, 2024

Requested Feature

Query Passing will allow the proxy to allow the query of the backend server to pass through so example i query the proxy, with my forced host so instead of giving the proxy's query info it should give the backends query info. this could be enabled like the description passthrough

Why is this needed?

It would be helpful because if you wanted to query or for some reason wanted yours player to query your server it could be used for that

Alternative Solutions

in the query section of the config there could be a section where it was a list of servers which were allowed and if it was empty it would show the proxy's query, the servers that were not allowed would still have the proxy's query info showed

Additional Information

No response

@BiraruYT BiraruYT added the type: feature New feature or request label Sep 2, 2024
@electronicboy
Copy link
Member

query protocol does not support 'forced hosts', this would also require the PR which changes the format of how servers are defined. I just can't really see us implementing this

@BiraruYT
Copy link
Author

BiraruYT commented Sep 2, 2024

Local servers?

@electronicboy
Copy link
Member

Not sure what you mean by that, I mean that we'd only be able to proxy to 1 server, or maybe use the default try list, we cannot route the request to servers based on the hostname as that is not sent to the server in the GS4 query protocol

@astei
Copy link
Contributor

astei commented Sep 2, 2024

As @electronicboy said, the query protocol doesn't support "forced hosts", so we'd need to use the default try list for query pings.

It should be possible for support to be added, but this doesn't feel like a high-leverage thing. PRs welcome, though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants