Current design

master servers are directory of game servers

they store IP addresses only

client fetches those servers info individually (concurrently I guess)

there are 4 master servers, 3 in one datacenter, 1 in other

there is no redundancy

4 master servers are for sharding (approx 75 game servers per master server)

Problems with current design

messages from master server to a game server can be spoofed for DoS 0.6 protocol only

client is doing too much work

search and filtering is not implemented on master server

there is no redundancy

https or SSL is not used

Proposed solutions

To add a secondary protocol. It could be RESTful API one

It's based on HTTPS so it will not be spoofed

We can add server info to this protocol as it will be JSON

Development

stalled:

HTTPS master · Issue #1703 · teeworlds/teeworlds