Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for excludeInboundPorts (0.14 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    	redir.excludeInboundPorts = strings.TrimSpace(redir.excludeInboundPorts)
    	if len(redir.excludeInboundPorts) > 0 && redir.excludeInboundPorts[len(redir.excludeInboundPorts)-1] != ',' {
    		redir.excludeInboundPorts += ","
    	}
    	redir.excludeInboundPorts += "15020,15021,15090"
    	redir.excludeInboundPorts = strings.Join(dedupPorts(splitPorts(redir.excludeInboundPorts)), ",")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_test.go

    		t.Fatal("expected nsenterFunc to be called")
    	}
    	r := mockIntercept.lastRedirect[len(mockIntercept.lastRedirect)-1]
    	if r.excludeInboundPorts != "15020,15021,15090" {
    		t.Fatalf("expect excludeInboundPorts is \"15090\", actual %v", r.excludeInboundPorts)
    	}
    }
    
    func TestCmdAddTwoContainersWithExplictExcludeInboundPort(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. cni/pkg/plugin/sidecar_iptables_linux.go

    	cfg.ProxyUID = rdrct.noRedirectUID
    	cfg.ProxyGID = rdrct.noRedirectGID
    	cfg.InboundInterceptionMode = rdrct.redirectMode
    	cfg.OutboundIPRangesInclude = rdrct.includeIPCidrs
    	cfg.InboundPortsExclude = rdrct.excludeInboundPorts
    	cfg.InboundPortsInclude = rdrct.includeInboundPorts
    	cfg.ExcludeInterfaces = rdrct.excludeInterfaces
    	cfg.OutboundPortsExclude = rdrct.excludeOutboundPorts
    	cfg.OutboundPortsInclude = rdrct.includeOutboundPorts
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Jun 29 01:24:47 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. cni/README.md

    - redirectMode allows TPROXY may to be set, required envoy has extra permissions. Default is redirect.
    - includeIPCidr, excludeIPCidr
    - includeInboudPorts, excludeInboundPorts
    - includeOutboutPorts, excludeOutboundPorts
    - excludeInterfaces
    - kubevirtInterfaces
    - ISTIO_META_DNS_CAPTURE env variable on the proxy - enables dns redirect
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top