From 7b055a7c0a8a71d59029d4dcf9e2bfa64a3ee5d9 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 23 Aug 2021 16:34:21 +0200 Subject: [PATCH] Implement review suggestions --- firewall/master.go | 1 + profile/config.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/firewall/master.go b/firewall/master.go index 1687e187..a0f0540a 100644 --- a/firewall/master.go +++ b/firewall/master.go @@ -102,6 +102,7 @@ func DecideOnConnection(ctx context.Context, conn *network.Connection, pkt packe // be checked fully. if conn.Type == network.DNSRequest { conn.Accept("allowing dns request", noReasonOptionKey) + return } // Deciders did not conclude, use default action. diff --git a/profile/config.go b/profile/config.go index 5df30997..86321c4c 100644 --- a/profile/config.go +++ b/profile/config.go @@ -183,7 +183,7 @@ Additionally, you may supply a protocol and port just behind that using numbers In this case the rule is only matched if the protocol and port also match. Example: "192.168.0.1 TCP/HTTP" -Important: DNS Requests are only matched against domain and filter list rules, all others require an IP address and are checked only with the ensuing IP connection. +Important: DNS Requests are only matched against domain and filter list rules, all others require an IP address and are checked only with the following IP connection. `, `"`, "`") // Endpoint Filter List