Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#1,201 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
linux, rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Rust
Estrellas
371
Forks
41
Merge medio
18 h 36 min
PR fusionados (30 d)
38

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DefGuard/client

Todos los issues de DefGuard/client

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.