Merge branch 'feature/KASM-2368_ip_blacklist' into 'master'
Have BlacklistThreshold 0 disable the blacklist Closes KASM-2368 See merge request kasm-technologies/internal/KasmVNC!28
This commit is contained in:
@@ -68,6 +68,9 @@ unsigned char bl_isBlacklisted(const char *addr) {
|
||||
}
|
||||
|
||||
void bl_addFailure(const char *addr) {
|
||||
if (!rfb::Blacklist::threshold)
|
||||
return;
|
||||
|
||||
if (pthread_mutex_lock(&hitmutex))
|
||||
abort();
|
||||
const unsigned num = ++hits[addr];
|
||||
|
||||
Reference in New Issue
Block a user