The network is too small to accomodate all existing devices
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- rust
- 领域
- backend, networking
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Rust
- 星标
- 2.9k
- 派生
- 121
- 平均合并
- 19 小时 6 分钟
- 30 天内合并 PR
- 83
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DefGuard/defguard 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Unclear toggle titles可能已有人在做 @Va1ter 于 8 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 65/100
DefGuard/defguard#3530 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 48/100
维护者通常 1 天内回复
查看 DefGuard/defguard 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
ScoopInstaller/Extras#19275 ·
维护者通常 1 天内回复
-
area:plugins kind:bug priority:p2 ready
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
bug priority: medium ui
难度 2/5 1-3 小时 新手友好度 62/100
storytold/gridcraft#3496 · 1 条评论 ·
维护者通常 1 天内回复
-
bip39: Mnemonic::new_from_phrase rejects phrases with extra or non-space whitespace可能已有人在做 @chukwudiikeh 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复