The network is too small to accomodate all existing devices

Aperta
#4,001 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Rust
Stelle
2.9k
Fork
121
Merge medio
19h 20m
PR unite (30g)
80

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DefGuard/defguard

Tutte le issue di DefGuard/defguard

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.