Skip to content

Add private network traffic blocking feature#5262

Draft
love-code-yeyixiao wants to merge 2 commits intosandboxie-plus:masterfrom
love-code-yeyixiao:BlockLocalNet
Draft

Add private network traffic blocking feature#5262
love-code-yeyixiao wants to merge 2 commits intosandboxie-plus:masterfrom
love-code-yeyixiao:BlockLocalNet

Conversation

@love-code-yeyixiao
Copy link
Contributor

WFP_PROCESS 结构体中新增 BlockPrivateNet 字段,
并实现 WFP_isPrivateNet 函数用于判断 IP 是否属于私有网络。
更新 WFP_UpdateProcess 函数以读取该配置,并在 WFP_classify 中检查流量来源。 增加对私有网络 IP 范围的判断逻辑,确保符合 10.0.0.0/8、172.16.0.0/12 和 192.168.0.0/16 的标准。

Thank you for your contribution to the Sandboxie repository.

Translators are encouraged to look at the localization notes and tips: https://git.io/J9G19

在 `WFP_PROCESS` 结构体中新增 `BlockPrivateNet` 字段,
并实现 `WFP_isPrivateNet` 函数用于判断 IP 是否属于私有网络。
更新 `WFP_UpdateProcess` 函数以读取该配置,并在 `WFP_classify` 中检查流量来源。
增加对私有网络 IP 范围的判断逻辑,确保符合 10.0.0.0/8、172.16.0.0/12 和 192.168.0.0/16 的标准。
@offhub offhub added the Feature: Network Network related issues label Feb 28, 2026
@love-code-yeyixiao love-code-yeyixiao changed the title 添加私有网络流量阻止功能 Add private network traffic blocking feature Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature: Network Network related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants