From 8e6a99ba14fdfaa6ae199897de59da5d75b89fd3 Mon Sep 17 00:00:00 2001 From: Patrick Pacher Date: Wed, 27 Mar 2024 13:56:16 +0100 Subject: [PATCH] Fix logging in firewall api for allowed-clients --- service/firewall/api.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/service/firewall/api.go b/service/firewall/api.go index f5f0db0f..244ec2b8 100644 --- a/service/firewall/api.go +++ b/service/firewall/api.go @@ -168,10 +168,7 @@ func authenticateAPIRequest(ctx context.Context, pktInfo *packet.Info) (retry bo // check if the client has been allowed by flag if slices.Contains(allowedClients, realPath) { - log.Infof("filter: access to portmaster api allowed for configured client: %s", realPath) return false, nil - } else if len(allowedClients) > 0 { - log.Warningf("filter: process is not in the allowed clients list: %s (list=%s)", realPath, allowedClients) } if strings.HasPrefix(realPath, authenticatedPath) {