feat: add experimental IP filtering for domains and update related settings
This commit is contained in:
1 parent
23e5132e21
commit
0008d2e3a0
4 files changed
+13
-8
No files matched your search
@@ -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"},
|
||||
|
||||
Reference in new issue
Block a user