automatically disable inactive users based on VPN activity
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- authentication, security
Línea de trabajo
Start by tracing how successful VPN authentications and WireGuard handshakes are recorded, then find where Core Settings are defined and how user accounts are disabled and reactivated. The issue names no files or tests, so identify the relevant entry points and existing audit logging before estimating the work. Done means an opt-in configurable inactivity policy uses the latest activity across a user's devices, records automatic deactivations, and permits manual reactivation.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Feature request
Description
Add an option in Defguard Core to automatically disable user accounts after a configurable period of VPN inactivity.
This would improve security by ensuring that unused VPN accounts do not remain active indefinitely.
Expected behavior
- Default inactivity period: 30 days
- Configurable threshold: Allow administrators to configure the inactivity period (e.g. 7, 30, 60, 90 days).
- Automatic deactivation: Disable users who have had no successful VPN authentication or WireGuard handshake within the configured period.
- Activity tracking: Both successful VPN authentications and WireGuard handshakes should reset the inactivity counter.
- Multiple devices: Activity on any registered device should reset the inactivity counter for the entire user account.
- Audit logging: Log automatic deactivations with a timestamp and reason.
- Manual reactivation: Allow administrators to reactivate disabled accounts.
Suggested implementation
Add a global setting under Core Settings:
Automatically disable inactive users
- Enabled / disabled (disabled by default)
- Inactivity threshold: 30 days (default)
- Optional: Exclude specific users or groups from automatic deactivation
A user should be considered active whenever:
- They successfully authenticate to the VPN.
- Any of their registered devices completes a successful WireGuard handshake.
The inactivity period should be calculated from the most recent of these events.
Optional enhancement: device-level inactivity
Extend the same functionality to individual devices.
For example, a device that has not successfully authenticated or completed a WireGuard handshake for 30 days could automatically be disabled without affecting the user's other devices.
Device-level inactivity thresholds could be configured independently from user-level settings.
Benefits
- Reduces the number of unused active VPN accounts.
- Prevents active VPN users from being incorrectly deactivated.
- Improves security by limiting access through abandoned accounts and devices.
- Reduces manual administrative effort.
- Helps enforce access lifecycle and security policies.
- Lenguaje dominante
- Rust
- Estrellas
- 2.9k
- Forks
- 121
- Merge medio
- 20 h 19 min
- PR fusionados (30 d)
- 76
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DefGuard/defguard
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Unclear toggle titlesPosiblemente ocupada @Va1ter la tomó hace 9 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
DefGuard/defguard#3530 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[rehearsal] dev: release rehearsal failedPosiblemente ocupada @t-aleksander la tomó hoy. Abiertorelease-blocker
DefGuard/defguard#4012 · 5 asignados ·
Los mantenedores suelen responder en 1 día
Todos los issues de DefGuard/defguard
Issues similares
-
ai_p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ClickHouse/ClickHouse#130006 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
horizon-rust/horizon#12071 ·
Los mantenedores suelen responder en 1 día
-
bug priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
storytold/photocraft#12183 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
area:render needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
bherbruck/solvecraft#13138 ·
-
testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100