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:
@@ -6,6 +6,7 @@ export default interface IConfig {
|
||||
proxyAllowedIps : string[];
|
||||
origin : boolean;
|
||||
originAllowedDomains : string[];
|
||||
maxConnections: number;
|
||||
};
|
||||
vm : {
|
||||
qemuArgs : string;
|
||||
@@ -24,6 +25,10 @@ export default interface IConfig {
|
||||
usernameblacklist : string[];
|
||||
maxChatLength : number;
|
||||
maxChatHistoryLength : number;
|
||||
turnlimit : {
|
||||
enabled: boolean,
|
||||
maximum: number;
|
||||
};
|
||||
automute : {
|
||||
enabled: boolean;
|
||||
seconds: number;
|
||||
|
||||
Reference in New Issue
Block a user