Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 642 for tproxy (0.14 sec)

  1. tools/istio-clean-iptables/pkg/cmd/cleanup_test.go

    			func(cfg *config.Config) {
    				cfg.RedirectDNS = true
    				cfg.OwnerGroupsExclude = "888,ftp"
    			},
    		},
    		{
    			"inbound-interception-mode",
    			func(cfg *config.Config) {
    				cfg.InboundInterceptionMode = "TPROXY"
    				cfg.InboundTProxyMark = "1337"
    			},
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			cfg := constructTestConfig()
    			tt.config(cfg)
    
    			ext := &dep.DependenciesStub{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. tools/istio-clean-iptables/pkg/cmd/root.go

    		&cfg.CaptureAllDNS)
    
    	flag.BindEnv(fs, constants.InboundInterceptionMode, "m",
    		"The mode used to redirect inbound connections to Envoy, either \"REDIRECT\" or \"TPROXY\".",
    		&cfg.InboundInterceptionMode)
    
    	flag.BindEnv(fs, constants.InboundTProxyMark, "t", "", &cfg.InboundTProxyMark)
    }
    
    func GetCommand(logOpts *log.Options) *cobra.Command {
    	cfg := config.DefaultConfig()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. tools/istio-clean-iptables/pkg/config/config.go

    	fmt.Println("")
    }
    
    func (c *Config) Validate() error {
    	return types.ValidateOwnerGroups(c.OwnerGroupsInclude, c.OwnerGroupsExclude)
    }
    
    var envoyUserVar = env.Register(constants.EnvoyUser, "istio-proxy", "Envoy proxy username")
    
    func (c *Config) FillConfigFromEnvironment() {
    	// Fill in env-var only options
    	c.OwnerGroupsInclude = constants.OwnerGroupsInclude.Get()
    	c.OwnerGroupsExclude = constants.OwnerGroupsExclude.Get()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. pkg/kube/inject/validate.go

    	case meshconfig.ProxyConfig_TPROXY.String():
    	case string(model.InterceptionNone): // not a global mesh config - must be enabled for each sidecar
    	default:
    		return fmt.Errorf("interceptionMode invalid, use REDIRECT,TPROXY,NONE: %v", mode)
    	}
    	return nil
    }
    
    // ValidateIncludeIPRanges validates the includeIPRanges parameter
    func ValidateIncludeIPRanges(ipRanges string) error {
    	if ipRanges != "*" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. tools/istio-clean-iptables/pkg/cmd/cleanup.go

    	chains = []string{constants.ISTIOINBOUND, constants.ISTIODIVERT, constants.ISTIOTPROXY}
    	flushAndDeleteChains(ext, iptV, constants.MANGLE, chains)
    
    	if cfg.InboundInterceptionMode == constants.TPROXY {
    		DeleteRule(ext, iptV, constants.MANGLE, constants.PREROUTING,
    			"-p", constants.TCP, "-m", "mark", "--mark", cfg.InboundTProxyMark, "-j", "CONNMARK", "--save-mark")
    		DeleteRule(ext, iptV, constants.MANGLE, constants.OUTPUT,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 15:51:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. tools/istio-iptables/pkg/config/config.go

    		return err
    	}
    	return ValidateIPv4LoopbackCidr(c.HostIPv4LoopbackCidr)
    }
    
    var envoyUserVar = env.Register(constants.EnvoyUser, "istio-proxy", "Envoy proxy username")
    
    func (c *Config) FillConfigFromEnvironment() error {
    	// Fill in env-var only options
    	c.OwnerGroupsInclude = constants.OwnerGroupsInclude.Get()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/cmd/root.go

    		&cfg.ProxyUID)
    
    	flag.BindEnv(fs, constants.ProxyGID, "g",
    		"Specify the GID of the user for which the redirection is not applied (same default value as -u param).",
    		&cfg.ProxyGID)
    
    	flag.BindEnv(fs, constants.InboundInterceptionMode, "m",
    		"The mode used to redirect inbound connections to Envoy, either \"REDIRECT\" or \"TPROXY\".",
    		&cfg.InboundInterceptionMode)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/addons/proxy/proxy.go

    )
    
    const (
    	// KubeProxyServiceAccountName describes the name of the ServiceAccount for the kube-proxy addon
    	KubeProxyServiceAccountName = "kube-proxy"
    
    	// KubeProxyConfigMapRoleName sets the name of ClusterRole for ConfigMap
    	KubeProxyConfigMapRoleName = "kube-proxy"
    )
    
    // EnsureProxyAddon creates the kube-proxy addons
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 13:23:44 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  9. pkg/envoy/proxy.go

    	Concurrency   int32
    
    	// For unit testing, in combination with NoEnvoy prevents agent.Run from blocking
    	TestOnly    bool
    	AgentIsRoot bool
    }
    
    // NewProxy creates an instance of the proxy control commands
    func NewProxy(cfg ProxyConfig) Proxy {
    	// inject tracing flag for higher levels
    	var args []string
    	logLevel, componentLogs := splitComponentLog(cfg.LogLevel)
    	if logLevel != "" {
    		args = append(args, "-l", logLevel)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. cluster/gce/manifests/kube-proxy.manifest

    # Please keep kube-proxy configuration in-sync with:
    # cluster/addons/kube-proxy/kube-proxy-ds.yaml
    apiVersion: v1
    kind: Pod
    metadata:
      name: kube-proxy
      namespace: kube-system
      labels:
        tier: node
        component: kube-proxy
    spec:
      priorityClassName: system-node-critical
      priority: 2000001000
      hostNetwork: true
      tolerations:
      - operator: "Exists"
        effect: "NoExecute"
      - operator: "Exists"
        effect: "NoSchedule"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 11:08:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top