Remove default incoming rules
This commit is contained in:
@@ -292,7 +292,6 @@ Important: DNS Requests are only matched against domain and filter list rules, a
|
|||||||
cfgStringArrayOptions[CfgOptionEndpointsKey] = cfgOptionEndpoints
|
cfgStringArrayOptions[CfgOptionEndpointsKey] = cfgOptionEndpoints
|
||||||
|
|
||||||
// Service Endpoint Filter List
|
// Service Endpoint Filter List
|
||||||
defaultIncomingRulesValue := []string{"+ LAN"}
|
|
||||||
err = config.Register(&config.Option{
|
err = config.Register(&config.Option{
|
||||||
Name: "Incoming Rules",
|
Name: "Incoming Rules",
|
||||||
Key: CfgOptionServiceEndpointsKey,
|
Key: CfgOptionServiceEndpointsKey,
|
||||||
@@ -300,7 +299,7 @@ Important: DNS Requests are only matched against domain and filter list rules, a
|
|||||||
Help: rulesHelp,
|
Help: rulesHelp,
|
||||||
Sensitive: true,
|
Sensitive: true,
|
||||||
OptType: config.OptTypeStringArray,
|
OptType: config.OptTypeStringArray,
|
||||||
DefaultValue: defaultIncomingRulesValue,
|
DefaultValue: []string{},
|
||||||
ExpertiseLevel: config.ExpertiseLevelExpert,
|
ExpertiseLevel: config.ExpertiseLevelExpert,
|
||||||
Annotations: config.Annotations{
|
Annotations: config.Annotations{
|
||||||
config.StackableAnnotation: true,
|
config.StackableAnnotation: true,
|
||||||
@@ -342,7 +341,7 @@ Important: DNS Requests are only matched against domain and filter list rules, a
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
cfgOptionServiceEndpoints = config.Concurrent.GetAsStringArray(CfgOptionServiceEndpointsKey, defaultIncomingRulesValue)
|
cfgOptionServiceEndpoints = config.Concurrent.GetAsStringArray(CfgOptionServiceEndpointsKey, []string{})
|
||||||
cfgStringArrayOptions[CfgOptionServiceEndpointsKey] = cfgOptionServiceEndpoints
|
cfgStringArrayOptions[CfgOptionServiceEndpointsKey] = cfgOptionServiceEndpoints
|
||||||
|
|
||||||
// Filter list IDs
|
// Filter list IDs
|
||||||
|
|||||||
Reference in New Issue
Block a user