Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Location interface is not removed on Linux when defguard-service restarts

未关闭
#1,201 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
linux, rust

调研方向

Reproduce the restart and stop cases with sudo systemctl restart defguard-service and sudo systemctl stop defguard-service on AlmaLinux 10 or Ubuntu 24.04, then trace the defguard-service lifecycle and Linux tunnel handling. Done means wg0 is removed on restart and stop, a replacement uses the expected interface, and client updates do not leave the old tunnel active.

由索引模型根据 Issue 内容生成。

描述

bug
Description
  • Software version: 2.1.0 - 2.1.2
  • Deployment method: apt/dnf install .deb / .rpm
  • OS: AlmaLinux 10, Ubuntu 24.04

Tested on defguard-client with provisioned service location / regular location

1. Restart service

sudo systemctl restart defguard-service

Expected Actual
wg0 should be destroyed and a new wg0 should be spawned to take it's place. wg0 remains and a new instance of the exact same tunnel is spawned as wg1. This causes routing to go haywire and connectivity loss.
2. Stop service

sudo systemctl stop defguard-service

Expected Actual
wg0 should be destroyed and no tunnel should take it's place. wg0 remains and stays connected/operational instead of disconnecting.
3. Client update

Update client from 2.1.0 → 2.1.2 and relaunch client.

Expected Actual
wg0 should be destroyed and a new wg0 should be spawned to take it's place. wg0 remains and a new instance of the exact same tunnel is spawned as wg1. This causes routing to go haywire and connectivity loss.
主要语言
Rust
星标
371
派生
41
平均合并
16 小时 18 分钟
30 天内合并 PR
40

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DefGuard/client 的其他 Issue

查看 DefGuard/client 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。