feat: add experimental IP filtering for domains and update related settings

This commit is contained in:
CaIon
2025-09-18 13:40:52 +08:00
parent 23e5132e21
commit 0008d2e3a0
4 changed files with 13 additions and 8 deletions

View File

@@ -16,8 +16,8 @@ type FetchSetting struct {
var defaultFetchSetting = FetchSetting{
EnableSSRFProtection: true, // 默认开启SSRF防护
AllowPrivateIp: false,
DomainFilterMode: true,
IpFilterMode: true,
DomainFilterMode: false,
IpFilterMode: false,
DomainList: []string{},
IpList: []string{},
AllowedPorts: []string{"80", "443", "8080", "8443"},