Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for udp (0.24 sec)

  1. cni/pkg/iptables/iptables.go

    	)
    
    	// CLI: -A ISTIO_OUTPUT ! -o lo -p udp -m udp --dport 53 -j REDIRECT --to-port 15053
    	//
    	// DESC: If this is a UDP DNS request to a non-localhost resolver, send it to ztunnel DNS proxy port
    	if redirectDNS {
    		iptablesBuilder.AppendRule(
    			iptableslog.UndefinedCommand, ChainInpodOutput, iptablesconstants.NAT,
    			"!", "-o", "lo",
    			"-p", "udp",
    			"-m", "udp",
    			"--dport", "53",
    			"-j", "REDIRECT",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  2. istioctl/pkg/validate/validate_test.go

              port: 80
              protocol: TCP
    kind: List
    metadata:
      resourceVersion: ""`
    	udpService = `
    kind: Service
    metadata:
      name: hello
    spec:
      ports:
        -
          protocol: udp`
    	skippedService = `
    kind: Service
    metadata:
      name: hello
      namespace: istio-system
    spec:
      ports:
        -
          name: http
          port: 9080`
    	validPortNamingSvc = `
    apiVersion: v1
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

       '--filename=rsrc.json'`)
    
    	validFields = map[string]struct{}{
    		"apiVersion": {},
    		"kind":       {},
    		"metadata":   {},
    		"spec":       {},
    		"status":     {},
    	}
    
    	serviceProtocolUDP = "UDP"
    
    	fileExtensions = []string{".json", ".yaml", ".yml"}
    )
    
    type validator struct{}
    
    func checkFields(un *unstructured.Unstructured) error {
    	var errs error
    	for key := range un.Object {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    				Port:     80,
    			},
    			expectedProtocol: "auto-detect",
    		},
    		{
    			port: corev1.ServicePort{
    				Protocol: corev1.ProtocolUDP,
    				Port:     80,
    			},
    			expectedProtocol: "UDP",
    		},
    	}
    
    	for _, tc := range cases {
    		protocol := findProtocolForPort(&tc.port)
    		if protocol != tc.expectedProtocol {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    func printService(writer io.Writer, svc corev1.Service, pod *corev1.Pod) {
    	fmt.Fprintf(writer, "Service: %s\n", kname(svc.ObjectMeta))
    	for _, port := range svc.Spec.Ports {
    		if port.Protocol != "TCP" {
    			// Ignore UDP ports, which are not supported by Istio
    			continue
    		}
    		// Get port number
    		nport, err := pilotcontroller.FindPort(pod, &port)
    		if err == nil {
    			protocol := findProtocolForPort(&port)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top