Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for DestinationPort (0.75 sec)

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

    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pkg/log"
    )
    
    var (
    	DestinationPort = &xds.TypedExtensionConfig{
    		Name:        "port",
    		TypedConfig: protoconv.MessageToAny(&network.DestinationPortInput{}),
    	}
    	DestinationIP = &xds.TypedExtensionConfig{
    		Name:        "ip",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/model/permission.go

    			DestinationIp: cidr,
    		},
    	}
    }
    
    func permissionDestinationPort(port uint32) *rbacpb.Permission {
    	return &rbacpb.Permission{
    		Rule: &rbacpb.Permission_DestinationPort{
    			DestinationPort: port,
    		},
    	}
    }
    
    func permissionRequestedServerName(name *matcher.StringMatcher) *rbacpb.Permission {
    	return &rbacpb.Permission{
    		Rule: &rbacpb.Permission_RequestedServerName{
    			RequestedServerName: name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/envoyfilter/listener_patch.go

    				return false
    			}
    		}
    	}
    
    	// check match for destination port within the FilterChainMatch
    	if match.DestinationPort > 0 {
    		if fc.FilterChainMatch == nil || fc.FilterChainMatch.DestinationPort == nil {
    			return false
    		} else if fc.FilterChainMatch.DestinationPort.Value != match.DestinationPort {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/listener.go

    				break
    			}
    		}
    		if !found {
    			descrs = append(descrs, fmt.Sprintf("App: %s", strings.Join(match.ApplicationProtocols, ",")))
    		}
    	}
    
    	port := ""
    	if match.DestinationPort != nil {
    		port = fmt.Sprintf(":%d", match.DestinationPort.GetValue())
    	}
    	if len(match.PrefixRanges) > 0 {
    		pf := []string{}
    		for _, p := range match.PrefixRanges {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  5. pkg/util/iptables/testing/parse_test.go

    				Chain:           iptables.Chain("KUBE-NODEPORTS"),
    				Comment:         &IPTablesValue{Value: "ns2/svc2:p80 health check node port"},
    				Protocol:        &IPTablesValue{Value: "tcp"},
    				DestinationPort: &IPTablesValue{Value: "30000"},
    				Jump:            &IPTablesValue{Value: "ACCEPT"},
    			},
    		},
    		{
    			name: "addRuleToChainRegex requires an actual rule, not just a chain name",
    			rule: `-A KUBE-NODEPORTS`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 26K bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/model/generator_test.go

              addressPrefix: 1.2.3.4
              prefixLen: 32`),
    		},
    		{
    			name:  "destPortGenerator",
    			g:     destPortGenerator{},
    			value: "80",
    			want: yamlPermission(t, `
             destinationPort: 80`),
    		},
    		{
    			name:  "connSNIGenerator",
    			g:     connSNIGenerator{},
    			value: "exact.com",
    			want: yamlPermission(t, `
             requestedServerName:
              exact: exact.com`),
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. pkg/util/iptables/testing/parse.go

    	SourcePort    *IPTablesValue `param:"--sport" negatable:"true"`
    
    	DestinationAddress *IPTablesValue `param:"-d" negatable:"true"`
    	DestinationType    *IPTablesValue `param:"--dst-type" negatable:"true"`
    	DestinationPort    *IPTablesValue `param:"--dport" negatable:"true"`
    
    	MatchSet *IPTablesValue `param:"--match-set" negatable:"true"`
    
    	Jump            *IPTablesValue `param:"-j"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_builder.go

    			// We should not allow requests to the listen port directly. Requests must be
    			// sent to some other original port and iptables redirected to 15001. This
    			// ensures we do not passthrough back to the listen port.
    			DestinationPort: &wrappers.UInt32Value{Value: uint32(push.Mesh.ProxyListenPort)},
    		},
    		Filters: append(
    			buildMetricsNetworkFilters(push, node, istionetworking.ListenerClassSidecarOutbound, nil),
    			&listener.Filter{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener_inbound.go

    	match := &listener.FilterChainMatch{}
    	match.ApplicationProtocols = opt.ApplicationProtocols
    	match.TransportProtocol = opt.TransportProtocol
    	if cc.port.TargetPort > 0 {
    		match.DestinationPort = &wrappers.UInt32Value{Value: cc.port.TargetPort}
    	}
    	return match
    }
    
    func (lb *ListenerBuilder) buildInboundHBONEListeners() []*listener.Listener {
    	routes := []*route.Route{{
    		Match: &route.RouteMatch{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. pilot/pkg/simulation/traffic.go

    func (sim *Simulation) matchFilterChain(chains []*listener.FilterChain, defaultChain *listener.FilterChain,
    	input Call, hasTLSInspector bool,
    ) (*listener.FilterChain, error) {
    	chains = filter("DestinationPort", chains, func(fc *listener.FilterChainMatch) bool {
    		return fc.GetDestinationPort() == nil
    	}, func(fc *listener.FilterChainMatch) bool {
    		return int(fc.GetDestinationPort().GetValue()) == input.Port
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top