automatically disable inactive users based on VPN activity
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 2.9k
- フォーク
- 121
- 平均マージ
- 20時間 19分
- マージ済み PR(30日)
- 76
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DefGuard/defguard のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Unclear toggle titles対応中かも @Va1ter が 9 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
DefGuard/defguard#3530 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[rehearsal] dev: release rehearsal failed対応中かも @t-aleksander が今日担当しました。 オープンrelease-blocker
DefGuard/defguard#4012 · 担当者 5 名 ·
メンテナーはふだん 1 日以内に返信
DefGuard/defguard の issue をすべて見る
似ている issue
-
ai_p2
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ClickHouse/ClickHouse#130006 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
horizon-rust/horizon#12071 ·
メンテナーはふだん 1 日以内に返信
-
bug priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
storytold/photocraft#12183 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
area:render needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
bherbruck/solvecraft#13138 ·
-
testing
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100