ddnet/src/engine/server
heinrich5991 716e8cd7f4 Add HTTPS map download URL field for game servers
This allows every game server to provide its own HTTPS server for map
downloads. Since the ingame protocol for downloading map data is very
inefficient, this is desirable. Previously, only servers hosted by DDNet
could benefit from this.

Security concerns:
- Attackers can find out whether a given HTTPS GET request matches a
  known answer.

  This isn't deemed to be problematic as no cookies for authentication
  are sent and only the whole response can be matched.

- Sending requests to honeypot URLs to get people in legal trouble.

  This seems to be already possible with HTML image embeds, so it can't
  be that bad™.

- Downloading huge files, filling up a player's disk. The players might
  cancel when seeing huge files.

  There's a generous limit of 1 GiB per map file.

- Downloading huge files transparently compressed with gzip. See above.

Fixes #5812.
2022-09-15 02:08:35 +02:00
..
databases Add sv_sql_bindaddr (fixes #5830) 2022-09-13 17:09:53 +02:00
antibot.cpp Organize engine-server includes 2022-06-17 20:32:56 +02:00
antibot.h Mark virtual function as override using a script: 2022-05-17 23:47:32 +02:00
authmanager.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
authmanager.h Use std::vector<CKey> instead of array 2022-05-27 16:31:18 +02:00
main.cpp Use GAME_NAME definition for engine initialization 2022-08-15 16:07:27 +03:00
name_ban.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
name_ban.h Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
register.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
register.h Explicitly delete game server from list on shutdown 2022-06-03 11:27:47 +02:00
server.cpp Add HTTPS map download URL field for game servers 2022-09-15 02:08:35 +02:00
server.h Remove unused DemoRecorder_IsRecording method 2022-08-25 17:57:03 +02:00
server_logger.cpp Extract server main() to its own file 2022-08-15 16:07:27 +03:00
server_logger.h Extract server main() to its own file 2022-08-15 16:07:27 +03:00
sql_string_helpers.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
sql_string_helpers.h Fix some variable name's style 2020-11-08 17:15:48 +01:00
upnp.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
upnp.h Huge variable naming format 2022-07-08 18:01:29 +02:00