Opened 6 years ago

Closed 4 years ago

#4671 closed defect (fixed)

Update lobby server, config and readme

Reported by: elexis Owned by: Itms
Priority: Should Have Milestone: Alpha 23
Component: Multiplayer lobby Keywords:
Cc: Patch: Phab:D1659

Description

Some maintenance:

  • Phab:D280 will update the existing lobby to readme markdown.
  • The readme should recommend to use the STUN module for Phab:D364
  • The readme must mention to install the sqlalchemy utils module for Phab:D628
  • We must mention that python 3.3 or later will be required (because unicode literals are required for sqlalchemy_utils but removed after python 2.7 and reintroduced with python 3.3)
  • Therefore we must update the debian outdated wheezy server so that its python 3.2 can be updated to 3.3
  • The readmegistrations with unwanted characters as in Phab:D715 (see e can recommend to disable nickchanges for visitors and prevent nick rhttps://github.com/processone/ejabberd/issues/388 ) (a JS GUI string should probably be removed then)

Change History (6)

comment:1 by elexis, 6 years ago

In 19881:

Prohibit lobby nick registration with some previously not-filtered characters between 32 and 127, in particular parentheses.

Use whitelist instead of blacklist, remove dead options and noisy unneeded gui/common/ function.
Still allow existing players with now prohibited characters to login.
This could be enforced in ejabberd too and then the now incomplete JS string can be replaced with a more general one.

Differential Revision: https://code.wildfiregames.com/D715
Refs #4671
Reviewed By: Imarok

in reply to:  description comment:2 by leper, 6 years ago

Replying to elexis:

  • Therefore we must update the debian outdated wheezy server so that its python 3.2 can be updated to 3.3

(Mentioned this in a PM with Itms about a year ago, with a few more details)

It might be worth considering upgrading to some OS that isn't as outdated (by default) that also supports some mechanism to separate processses and impose resource limits on those (eg jails, zones, chroots+cgroups). Also having something that is easier to update would be nice (that is not having to replace everything, while still being able to upgrade packages so we don't run into issues of being behind upstream ejabberd releases by about half a decade).

comment:3 by Itms, 5 years ago

Owner: set to Itms

As I already wrote elsewhere, I am currently performing the upgrade.

comment:4 by elexis, 5 years ago

Milestone: Alpha 23Work In Progress

comment:5 by elexis, 4 years ago

Milestone: Work In ProgressAlpha 23
Patch: Phab:D1659
  • Phab:D280 was committed
  • Phab:D628 declared offtopic, sqlalchemy_utils may be unneeded
  • server had been updated by Itms and user1
  • Updating config and readme done in Phab:D1659, encompassing the regex from Phab:D715
  • Jails, zones and chroots+cgroups sound good, should have written a ticket.

comment:6 by elexis, 4 years ago

Resolution: fixed
Status: newclosed

In 21925:

Complete the lobby server readme and provide a sample ejabberd configuration file.

Describe Wildfire Games undocumented, but relevant or even required configuration settings.
Add chapter on ejabberd connectivity: TLS encryption (rP21875, refs #4705), STUN (rP19703 / D364), IPv6.
Elaborate use policy configuration, add nickname restrictions from rP19881.
Brief Terms and Conditions notification (rP15019, rP21908).
Recommend to run bots without administrative access (but explain the alternative too for fans of the setting).
Explain how to configure and test 0 A.D. with new lobbies and how to distribute the settings.

Differential Revision: https://code.wildfiregames.com/D1659
Fixes #4671
Reviewed By: user1
Comments By: Dunedan

Note: See TracTickets for help on using tickets.