Move LMS scoring from nameserver to firewall
This commit is contained in:
@@ -85,9 +85,9 @@ var (
|
||||
|
||||
func registerConfiguration() error {
|
||||
// Default Filter Action
|
||||
// permit - blacklist mode: everything is permitted unless blocked
|
||||
// permit - blocklist mode: everything is permitted unless blocked
|
||||
// ask - ask mode: if not verdict is found, the user is consulted
|
||||
// block - whitelist mode: everything is blocked unless permitted
|
||||
// block - allowlist mode: everything is blocked unless permitted
|
||||
err := config.Register(&config.Option{
|
||||
Name: "Default Filter Action",
|
||||
Key: CfgOptionDefaultActionKey,
|
||||
|
||||
@@ -23,7 +23,7 @@ type reason struct {
|
||||
func (r *reason) String() string {
|
||||
prefix := "endpoint in blocklist: "
|
||||
if r.Permitted {
|
||||
prefix = "endpoint in whitelist: "
|
||||
prefix = "endpoint in allowlist: "
|
||||
}
|
||||
|
||||
return prefix + r.description + " " + r.Value
|
||||
|
||||
Reference in New Issue
Block a user