The network is too small to accomodate all existing devices

Abierto
#4,001 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
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust

Línea de trabajo

Start by tracing how saving an existing location validates VPN CIDR capacity and how it counts devices across locations; the issue names no files or tests. Compare the validation with the expected per-location device count, then add or update a regression test for multiple locations. Done when a location can be saved when its own devices fit the CIDR, even if the total device count across Defguard is larger.

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

Descripción

bug

Describe the bug
We have multiple locations.
When editing an existing location, I cannot save the changes when there are more devices than the defined VPN CIDR on a location allows.
But it doesn't only check the devices that apply for that location, it checks the total devices in defguard.

Error:
The network is too small to accomodate all existing devices (network capacity: 253, total devices: 259)

Expected behavior
I would expect that I cannot save the location change(s), when the total devices that use this location exceed the configured CIDR.
Otherwise we would need to set a large CIDR on all locations, even when only a small amount of the users/devices have access to it.

Version information

  • Defguard Core version: v2.1.1
Lenguaje dominante
Rust
Estrellas
2.9k
Forks
121
Merge medio
18 h 53 min
PR fusionados (30 d)
89

Preparar el entorno

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/defguard

Todos los issues de DefGuard/defguard

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.