Follow-up Comment #3, task #5576 (project wormux):

I think the index browser should be comparable to what most games offer:
- name of the game (string entered by user when creating it)
- not sure about hostname (meaningless information, except to understand
where a game is hosted)
- version of the game (might be irrelevant as we consider each version
incompatible)
- I think ping is irrelevant because wormux isn't realtime
- number of players max, and if possible the current number (probably
requires change to wormux itself, so as to continuously send this information
to the index server)
- maybe game mode (classic and in the future blitz)
- some other information about the current game setup (characters per team,
currently selected map, ...)

Make sure you check throughout the code (both game and index server) that the
strings received or sent are of limited size. We don't want exploitable buffer
overflows.

Those changes are incompatible with anything 0.8beta4 and below, so:
- index server should try to reject meaningfully any client requesting the
index with such a version; client should be modified to handle such refusal
- if possible, maybe serving versions depending on the client version (for
instance, not returning the available games that are not supported by the
client, etc)

Maybe more is needed, but that's all I'm thinking of at the moment.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/task/?5576>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to