Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for DestinationPort (0.3 sec)

  1. pilot/pkg/security/authz/builder/testdata/http/extended-single-policy-out.yaml

                    - urlPath:
                        path:
                          exact: rule[0]-to[0]-path[2]
                - orRules:
                    rules:
                    - destinationPort: 9001
                    - destinationPort: 9002
                - orRules:
                    rules:
                    - destinationIp:
                        addressPrefix: 10.10.10.10
                        prefixLen: 32
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/builder/testdata/http/extended-allow-full-rule-out.yaml

                - orRules:
                    rules:
                    - destinationPort: 80
                    - destinationPort: 90
                - notRule:
                    orRules:
                      rules:
                      - destinationPort: 8000
                      - destinationPort: 9000
                - orRules:
                    rules:
                    - destinationIp:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 39K bytes
    - Viewed (0)
  3. pilot/pkg/security/authz/builder/testdata/http/allow-full-rule-out.yaml

                - orRules:
                    rules:
                    - destinationPort: 80
                    - destinationPort: 90
                - notRule:
                    orRules:
                      rules:
                      - destinationPort: 8000
                      - destinationPort: 9000
                - orRules:
                    rules:
                    - destinationIp:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/builder/testdata/http/extended-multiple-policies-out.yaml

                - any: true
          ns[foo]-policy[httpbin-4]-rule[0]:
            permissions:
            - andRules:
                rules:
                - orRules:
                    rules:
                    - destinationPort: 80
                    - destinationPort: 90
            principals:
            - andIds:
                ids:
                - any: true
          ns[foo]-policy[httpbin-5]-rule[0]:
            permissions:
            - andRules:
                rules:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    					Listener: &networking.EnvoyFilter_ListenerMatch{
    						Name: model.VirtualInboundListenerName,
    						FilterChain: &networking.EnvoyFilter_ListenerMatch_FilterChainMatch{
    							DestinationPort: 6380,
    							Filter: &networking.EnvoyFilter_ListenerMatch_FilterMatch{
    								Name: "network-filter-to-be-replaced",
    							},
    						},
    					},
    				},
    			},
    			Patch: &networking.EnvoyFilter_Patch{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top