mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
chore(gateway): include domain in "not allowed" log (#10863)
The resource could be a wildcard DNS resource. It is useful to know, which particular domain the client tried to access.
This commit is contained in:
@@ -687,7 +687,7 @@ fn handle_assigned_ips_event(
|
||||
};
|
||||
|
||||
if !peer.is_allowed(req.resource) {
|
||||
tracing::warn!(cid = %peer.id(), rid = %req.resource, "Received `AssignedIpsEvent` for resource that is not allowed");
|
||||
tracing::warn!(cid = %peer.id(), rid = %req.resource, domain = %req.domain, "Received `AssignedIpsEvent` for resource that is not allowed");
|
||||
|
||||
let packet = dns_resource_nat::domain_status(
|
||||
req.resource,
|
||||
|
||||
Reference in New Issue
Block a user