ddnet/src
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
..
android More vector naming format 2022-06-15 19:37:37 +02:00
antibot Merge pull request #3961 from fokkonaut/pr-antibot 2021-12-19 19:33:56 +01:00
base Add str_has_cc to check for control characters in strings 2022-09-11 23:39:16 +02:00
engine Add HTTPS map download URL field for game servers 2022-09-15 02:08:35 +02:00
game Improve message on failed load 2022-09-13 20:30:30 +02:00
macos Huge variable naming format 2022-07-08 18:01:29 +02:00
mastersrv mastersrv: Small convenience function 2022-06-13 17:00:54 +02:00
steam Huge variable naming format 2022-07-08 18:01:29 +02:00
test Add sv_sql_bindaddr (fixes #5830) 2022-09-13 17:09:53 +02:00
tools Remove all references to memset 2022-09-02 14:32:39 +02:00