You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If multiple WhitelistOnly groups are defined, then every client, which do NOT include ALL whitelists, can resolve non-whitelist items.
The reflect.DeepEqual() list now contains the check if [net_one] == [net_one, net_two], which will always return false.
Expected Behavior: Both clients are restricted to the defined whitelistOnly domains.
Behavior: None of them have whitelist enabled.
Possible solution
if groupsToCheck contains ONE whitelistOnly group, then the client can only lookup whitelisted domains (this is implemented in the PR)
if groupsToCheck groups are ALL whitelistOnly group, then the client can only lookup whitelisted domains
I changed the data type from slice to dict for performance reason.
Best regards,
c-f
The text was updated successfully, but these errors were encountered:
Problem
WhitelistOnly is only used, if no more than two whitelists are available or all clients include all whitelists.
Look at the following config snippet. Two Groups are defined, each with their own set of "whitelist" entries.
If multiple WhitelistOnly groups are defined, then every client, which do NOT include ALL whitelists, can resolve non-whitelist items.
The
reflect.DeepEqual()
list now contains the check if[net_one] == [net_one, net_two]
, which will always return false.Expected Behavior: Both clients are restricted to the defined whitelistOnly domains.
Behavior: None of them have whitelist enabled.
Possible solution
I changed the data type from slice to dict for performance reason.
Best regards,
c-f
The text was updated successfully, but these errors were encountered: