Package: frozen-bubble
Version: 2.212-13
Severity: important
Tags: patch

Dear Maintainer,

the Internet game of frozen-bubble does not work any more: the master
server www.frozen-bubble.org is gone. The domain was registered by
somebody else and now redirects to a gambling site (see also #1153638):

$ curl -s -o /dev/null -D - http://www.frozen-bubble.org/servers/serverlist-1
  HTTP/1.1 301 Moved Permanently
  ...
  Location: https://dafabet-thailand.net/servers/serverlist-1

Still the client fetches the server list from there (plain HTTP), the
geolocation from api.hostip.info (gone as well), and fb-server tries to
register itself there and to download its IP blacklist. So players see
no Internet servers, servers can't register, and whoever owns the domain
decides which servers the clients are offered.

I have patches that:
 - make fb-server talk to the master server with libcurl over HTTPS
   (certificate verification), with a new option -M <url>,
 - make the client use HTTP::Tiny over HTTPS for the server list and the
   geolocation, with a new option --master-server <url>,
 - use https://fb.games.uurl.cz as the default master server. I run it
   as a free service with a long-term commitment; it implements the
   original protocol (servers.php, serverlist-<proto>, blacklisted_IPs)
   and checks that a registering server is reachable. The protocol is
   documented, so another master server can replace it at any time:
https://github.com/zdenekjanis/frozen-bubble-network/blob/main/PROTOCOL.md
   Information: https://fb.games.uurl.cz/about

The patches (DEP-3, against 2.212-13, applied after the Debian ones):
https://github.com/zdenekjanis/frozen-bubble-network/tree/main/patches

Optionally (separate changes):
 - split fb-server into frozen-bubble-server-bin (program, no SDL/Perl)
   and frozen-bubble-server (systemd service with /etc config), so an
   Internet game server doesn't need the whole game,
 - fb-server reports its players (nick, approximate location, state) to
   the master server, which shows them on a world map (option -r turns
   it off).

The changes are in use since 2026-11 (packages for trixie at
https://pkg.brajan.cz/debian). I will propose them as merge requests on
salsa (three of them, the last two optional) as soon as my account there
is approved, and add the links here. They are also offered upstream:
https://github.com/kthakore/frozen-bubble/pull/86

Thank you,
Zdeněk Janiš

Reply via email to