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:
@@ -10,6 +10,8 @@ proxyAllowedIps = ["127.0.0.1"]
|
||||
origin = false
|
||||
# Origins to accept connections from.
|
||||
originAllowedDomains = ["computernewb.com"]
|
||||
# Maximum amount of active connections allowed from the same IP.
|
||||
maxConnections = 3
|
||||
|
||||
[vm]
|
||||
qemuArgs = "qemu-system-x86_64"
|
||||
@@ -32,6 +34,8 @@ moderatorEnabled = true
|
||||
usernameblacklist = []
|
||||
maxChatLength = 100
|
||||
maxChatHistoryLength = 10
|
||||
# Limit the amount of users allowed in the turn queue at the same time from the same IP
|
||||
turnlimit = {enabled = true, maximum = 1}
|
||||
# Temporarily mute a user if they send more than x messages in n seconds
|
||||
automute = {enabled = true, seconds = 5, messages = 5}
|
||||
# How long a temporary mute lasts, in seconds
|
||||
|
||||
Reference in New Issue
Block a user