Skip to content

fix(core): avoid enumerating authorized IP subnets - #13851

Merged
wanghe-fit2cloud merged 1 commit into
dev-v2from
fix/authorized-ip-cidr-cpu
Sep 17, 2026
Merged

wanghe-fit2cloud merged 1 commit into
dev-v2from
fix/authorized-ip-cidr-cpu

Conversation

@ssongliu

Copy link
Copy Markdown
Member

No description provided.

Use net.IPNet.Contains to check CIDR membership directly and remove the address increment loop. Large authorized subnets no longer cause per-request address enumeration and excessive CPU usage.
@wanghe-fit2cloud
wanghe-fit2cloud merged commit 3814525 into dev-v2 Sep 17, 2026
3 checks passed
@wanghe-fit2cloud
wanghe-fit2cloud deleted the fix/authorized-ip-cidr-cpu branch September 17, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants