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

Make txt files from master server public over HTTP #38

Open
illwieckz opened this issue Apr 1, 2024 · 1 comment
Open

Make txt files from master server public over HTTP #38

illwieckz opened this issue Apr 1, 2024 · 1 comment

Comments

@illwieckz
Copy link
Member

illwieckz commented Apr 1, 2024

Those 3 files are now public and retrievable using HTTP/HTTPS:

Sharing the first two makes easier to sync ignore list and feature list with secondary master servers.

Sharing the third one makes easier to implement third-party server lists. For example XQF can query master servers using either the good old Quake3 UDP protocol or by downloading such list through HTTP.

The two first ones are written by hand by the master server operator, the third one is automatically written by the master server itself.

We may do the same for motd.txt, but we have none for the moment.

The public.txt file is only used to map private IP addresses/subnets with public IP addresses so it doesn't make sense to share it neither to make it public.

Right now the master2.unvanquished.net secondary master server doesn't share those files over HTTP because there is no HTTP server for it yet.

@illwieckz illwieckz changed the title Make txt files from master server public over http. Make txt files from master server public over HTTP Apr 1, 2024
@illwieckz
Copy link
Member Author

The secondary master server now automatically syncs the featured and ignore lists from the primary one and rereads the files when a change happens.

That means adding servers to the featured or ignore lists of the master server would automatically propagate the changes to the secondary master server after a short time.

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

No branches or pull requests

1 participant