automatically disable inactive users based on VPN activity
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- authentication, security
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 2.9k
- Fork
- 121
- Merge trung bình
- 20 giờ 19 phút
- Pull request đã merge (30 ngày)
- 76
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DefGuard/defguard
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Unclear toggle titlesCó thể đã có người làm @Va1ter đã nhận 9 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
DefGuard/defguard#3530 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[rehearsal] dev: release rehearsal failedCó thể đã có người làm @t-aleksander đã nhận hôm nay. Đang mởrelease-blocker
DefGuard/defguard#4012 · 5 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DefGuard/defguard
Issue tương tự
-
ai_p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
ClickHouse/ClickHouse#130006 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
horizon-rust/horizon#12071 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
storytold/photocraft#12183 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area:render needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
bherbruck/solvecraft#13138 ·
-
testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100