mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Fix for #2956 this is achieved by refreshing access to every resource every 5 minutes. There's still an open question for this PR: When the gateway resolves an ip the gateway allows access to a DNS resource it resolves the address and allow access to that ip for that client. Right now, until the access for that resource doesn't expire that access isn't revoked. We could change it so that we require the client to refresh such access(with this PR those refresh queries are already being made every 5 minutes) every x minutes on top of the `expires_at` or we can keep `expires_at` as to mean "allow access until `expires_at` for whatever this resource resolves to". cc @jamilbk @AndrewDryga