Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for DestinationPort (0.5 sec)

  1. pilot/pkg/security/authz/builder/testdata/tcp/allow-both-http-tcp-out.yaml

      rules:
        policies:
          ns[foo]-policy[httpbin-deny]-rule[3]:
            permissions:
            - andRules:
                rules:
                - orRules:
                    rules:
                    - destinationPort: 80
            principals:
            - andIds:
                ids:
                - orIds:
                    ids:
                    - authenticated:
                        principalName:
                          safeRegex:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 16:35:46 UTC 2023
    - 642 bytes
    - Viewed (0)
  2. 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)
  3. tests/fuzz/testdata/FuzzConfigValidation2/fuzz_config_validation2.dict

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 07 17:07:53 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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. 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)
Back to top