- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ParseInterceptFilter (0.32 sec)
-
tools/istio-iptables/pkg/config/types.go
for _, s := range strs { if s == "" { continue } filtered = append(filtered, s) } return filtered } type InterceptFilter struct { Values []string Except bool } func ParseInterceptFilter(include, exclude string) InterceptFilter { if include == "*" { excludes := Split(exclude) return InterceptAllExcept(excludes...) } includes := Split(include) return InterceptOnly(includes...) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 25 15:43:38 UTC 2022 - 1.4K bytes - Viewed (0) -
tools/istio-iptables/pkg/config/validation.go
// // Most common Linux distributions allow no more than 128-1200 // match expressions per rule. maxOwnerGroupsInclude = 64 ) func ValidateOwnerGroups(include, exclude string) error { filter := ParseInterceptFilter(include, exclude) if !filter.Except && len(filter.Values) > maxOwnerGroupsInclude { return fmt.Errorf("number of owner groups whose outgoing traffic "+ "should be redirected to Envoy cannot exceed %d, got %d: %v",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 11 02:38:28 UTC 2024 - 2K bytes - Viewed (0) -
tools/istio-clean-iptables/pkg/cmd/cleanup.go
// Remove the old DNS UDP rules if cfg.RedirectDNS { ownerGroupsFilter := types.ParseInterceptFilter(cfg.OwnerGroupsInclude, cfg.OwnerGroupsExclude) common.HandleDNSUDP(common.DeleteOps, builder.NewIptablesRuleBuilder(nil), ext, iptV, ipt6V, cfg.ProxyUID, cfg.ProxyGID,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 15:51:15 UTC 2024 - 5.1K bytes - Viewed (0)