Implement review suggestions
This commit is contained in:
@@ -102,6 +102,7 @@ func DecideOnConnection(ctx context.Context, conn *network.Connection, pkt packe
|
|||||||
// be checked fully.
|
// be checked fully.
|
||||||
if conn.Type == network.DNSRequest {
|
if conn.Type == network.DNSRequest {
|
||||||
conn.Accept("allowing dns request", noReasonOptionKey)
|
conn.Accept("allowing dns request", noReasonOptionKey)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deciders did not conclude, use default action.
|
// Deciders did not conclude, use default action.
|
||||||
|
|||||||
@@ -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.
|
In this case the rule is only matched if the protocol and port also match.
|
||||||
Example: "192.168.0.1 TCP/HTTP"
|
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
|
// Endpoint Filter List
|
||||||
|
|||||||
Reference in New Issue
Block a user