Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetInterceptionMode (0.3 sec)

  1. pilot/pkg/networking/core/listener_inbound.go

    		} else {
    			// Otherwise, just append the filter chain to the virtual inbound chains.
    			virtualInboundFilterChains = append(virtualInboundFilterChains, chains...)
    		}
    	}
    
    	if lb.node.GetInterceptionMode() != model.InterceptionNone {
    		// Prepend virtual inbound, as long as we are using redirection.
    		listeners = append([]*listener.Listener{lb.inboundVirtualListener(virtualInboundFilterChains)}, listeners...)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_builder.go

    }
    
    func (lb *ListenerBuilder) buildVirtualOutboundListener() *ListenerBuilder {
    	if lb.node.GetInterceptionMode() == model.InterceptionNone {
    		// virtual listener is not necessary since workload is not using IPtables for traffic interception
    		return lb
    	}
    
    	var isTransparentProxy *wrappers.BoolValue
    	if lb.node.GetInterceptionMode() == model.InterceptionTproxy {
    		isTransparentProxy = proto.BoolTrue
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. pilot/pkg/model/context.go

    	// This is our default mode
    	InterceptionRedirect TrafficInterceptionMode = "REDIRECT"
    )
    
    // GetInterceptionMode extracts the interception mode associated with the proxy
    // from the proxy metadata
    func (node *Proxy) GetInterceptionMode() TrafficInterceptionMode {
    	if node == nil {
    		return InterceptionRedirect
    	}
    
    	switch node.Metadata.InterceptionMode {
    	case "TPROXY":
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster.go

    	// clusters, because there would be no corresponding inbound listeners
    	sidecarScope := proxy.SidecarScope
    	noneMode := proxy.GetInterceptionMode() == model.InterceptionNone
    	// No user supplied sidecar scope or the user supplied one has no ingress listeners
    	if !sidecarScope.HasIngressListener() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener.go

    func (lb *ListenerBuilder) buildSidecarOutboundListeners(node *model.Proxy,
    	push *model.PushContext,
    ) []*listener.Listener {
    	noneMode := node.GetInterceptionMode() == model.InterceptionNone
    
    	actualWildcards, actualLocalHosts := getWildcardsAndLocalHost(node.GetIPMode())
    
    	// For conflict resolution
    	listenerMap := make(map[listenerKey]*outboundListenerEntry)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top