Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FilterCipherSuites (0.3 sec)

  1. pkg/config/security/security.go

    }
    
    func IsValidECDHCurve(cs string) bool {
    	if cs == "" {
    		return true
    	}
    	return ValidECDHCurves.Contains(cs)
    }
    
    // FilterCipherSuites filters out invalid cipher suites which would lead Envoy to NACKing.
    func FilterCipherSuites(suites []string) []string {
    	if len(suites) == 0 {
    		return nil
    	}
    	ret := make([]string, 0, len(suites))
    	validCiphers := sets.New[string]()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_inbound.go

    				continue
    			}
    
    			if i.Tls != nil && features.EnableTLSOnSidecarIngress {
    				// User provided custom TLS settings
    				cc.tlsSettings = i.Tls.DeepCopy()
    				cc.tlsSettings.CipherSuites = security.FilterCipherSuites(cc.tlsSettings.CipherSuites)
    				cc.port.Protocol = cc.port.Protocol.AfterTLSTermination()
    			}
    
    			chainsByPort[port.TargetPort] = cc
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/gateway.go

    	if server.Tls == nil || gateway.IsPassThroughServer(server) {
    		return nil // We don't need to setup TLS context for passthrough mode
    	}
    
    	server.Tls.CipherSuites = security.FilterCipherSuites(server.Tls.CipherSuites)
    	return BuildListenerTLSContext(server.Tls, proxy, mesh, transportProtocol, gateway.IsTCPServerWithTLSTermination(server))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
Back to top