Auto ban anonymous IP:
* New settings: "Ban anonymous user's IP when user is banned from a chatroom": * if enabled, every time a streamer bans an anonymous user, it will ban its IP on the chat server, * banned IPs are logged on disk, so server's admin can use them to feed fail2ban (for example), * option disabled by default, because could be used to create trapped-rooms on public servers
This commit is contained in:
@ -83,7 +83,7 @@ Please read
|
||||
private: true
|
||||
})
|
||||
|
||||
// ********** Moderation and advances customization
|
||||
// ********** Advanced channel customization
|
||||
registerSetting({
|
||||
type: 'html',
|
||||
private: true,
|
||||
@ -197,6 +197,14 @@ Please read
|
||||
descriptionHTML: loc('no_anonymous_description'),
|
||||
private: false
|
||||
})
|
||||
registerSetting({
|
||||
name: 'auto-ban-anonymous-ip',
|
||||
label: loc('auto_ban_anonymous_ip_label'),
|
||||
type: 'input-checkbox',
|
||||
default: false,
|
||||
descriptionHTML: loc('auto_ban_anonymous_ip_description'),
|
||||
private: true
|
||||
})
|
||||
|
||||
// ********** Theming
|
||||
registerSetting({
|
||||
|
Reference in New Issue
Block a user