Various bug fixes and small additions

IMPORTANT:
This commit contains new config options.
Make sure your local config file is up to date with config.example.toml to avoid issues.

CHANGELOG:
- Fix crash exploit caused by abnormally long WebSocket messages
- Added config option for limiting the maximum amount of active connections from the same IP
- Made per-IP turn limiter configurable
- Fixed an issue where vote updates were not sent to clients in some cases
- Added warning about using qmpSockDir on Windows hosts
- Updated dependencies
- Removed unused code/imports
This commit is contained in:
MDMCK10
2023-09-12 00:25:57 +02:00
parent d80d2c8ed9
commit 43fddbc521
10 changed files with 85 additions and 43 deletions

View File

@@ -10,19 +10,19 @@
"author": "Elijah R",
"license": "GPL-3.0",
"dependencies": {
"@types/node": "^18.11.18",
"@types/node": "^20.6.0",
"@types/sharp": "^0.31.1",
"@types/ws": "^8.5.4",
"@types/ws": "^8.5.5",
"async-mutex": "^0.4.0",
"canvas": "^2.11.0",
"execa": "^6.1.0",
"canvas": "^2.11.2",
"execa": "^8.0.1",
"fs": "^0.0.1-security",
"jimp": "^0.16.2",
"jimp": "^0.22.10",
"mnemonist": "^0.39.5",
"rfb2": "github:elijahr2411/node-rfb2",
"toml": "^3.0.0",
"typescript": "^4.9.5",
"ws": "^8.12.0"
"typescript": "^5.2.2",
"ws": "^8.14.1"
},
"type": "module"
}