add a global whitelist

if defined only the listed IPs/networks can access the configured
services, all other client connections will be dropped before they
even try to authenticate

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2022-03-17 22:10:52 +01:00
parent 03da7f696c
commit d9f30e7ac5
12 changed files with 196 additions and 20 deletions

View File

@@ -57,9 +57,9 @@ func handleSIGHUP() {
if err != nil {
logger.Warn(logSender, "", "error reloading telemetry cert manager: %v", err)
}
err = common.ReloadDefender()
err = common.Reload()
if err != nil {
logger.Warn(logSender, "", "error reloading defender's lists: %v", err)
logger.Warn(logSender, "", "error reloading common configs: %v", err)
}
}