Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,201 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, rust

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Rust
Star
371
Fork
41
Merge trung bình
19 giờ 16 phút
Pull request đã merge (30 ngày)
40

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DefGuard/client

Tất cả issue của DefGuard/client

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.