Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ALPNs (0.2 sec)

  1. src/crypto/tls/bogo_shim_test.go

    	}
    	if *noTLS13 && cfg.MaxVersion == VersionTLS13 {
    		cfg.MaxVersion = VersionTLS12
    	}
    
    	if *advertiseALPN != "" {
    		alpns := *advertiseALPN
    		for len(alpns) > 0 {
    			alpnLen := int(alpns[0])
    			cfg.NextProtos = append(cfg.NextProtos, alpns[1:1+alpnLen])
    			alpns = alpns[alpnLen+1:]
    		}
    	}
    
    	if *hostName != "" {
    		cfg.ServerName = *hostName
    	}
    
    	if *keyfile != "" || *certfile != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/status/server_test.go

    		statusCode       int
    		alpns            []string
    	}{
    		{
    			name:       "bad-path-should-be-disallowed",
    			probePath:  "bad-path-should-be-disallowed",
    			statusCode: http.StatusNotFound,
    		},
    		{
    			name:             "readyz",
    			probePath:        "app-health/hello-world/readyz",
    			statusCode:       http.StatusOK,
    			expectedProtocol: "HTTP/1.1",
    			alpns:            nil,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/gateway_test.go

    							},
    						},
    					},
    				},
    				RequireClientCertificate: proto.BoolFalse,
    			},
    		},
    		{
    			// tcp server is non-istio mtls, no istio-peer-exchange in the alpns
    			name: "tcp server with terminating (non-istio)mutual tls",
    			server: &networking.Server{
    				Hosts: []string{"httpbin.example.com", "bookinfo.example.com"},
    				Port: &networking.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  4. pkg/test/echo/proto/echo.pb.go

    	// Skip verifying peer's certificate.
    	InsecureSkipVerify bool `protobuf:"varint,19,opt,name=insecureSkipVerify,proto3" json:"insecureSkipVerify,omitempty"`
    	// List of ALPNs to present. If not set, this will be automatically be set based on the protocol
    	Alpn *Alpn `protobuf:"bytes,13,opt,name=alpn,proto3" json:"alpn,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. tests/integration/pilot/common/routing.go

    // autoPassthroughCases tests that we cannot hit unexpected destinations when using AUTO_PASSTHROUGH
    func autoPassthroughCases(t TrafficContext) {
    	// We test the cross product of all Istio ALPNs (or no ALPN), all mTLS modes, and various backends
    	alpns := []string{"istio", "istio-peer-exchange", "istio-http/1.0", "istio-http/1.1", "istio-h2", ""}
    	modes := []string{"STRICT", "PERMISSIVE", "DISABLE"}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/gateway.go

    			// First, we build the standard cluster. We match on the SNI matching the cluster name
    			// (per the spec of AUTO_PASSTHROUGH), as well as all possible Istio mTLS ALPNs. This,
    			// along with filtering out plaintext destinations in EDS, ensures that our requests will
    			// always hit an Istio mTLS filter chain on the inbound side. As a result, it should not
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener.go

    )
    
    // A set of pre-allocated variables related to protocol sniffing logic for
    // propagating the ALPN to upstreams
    var (
    	// These are sniffed by the HTTP Inspector in the outbound listener
    	// We need to forward these ALPNs to upstream so that the upstream can
    	// properly use an HTTP or TCP listener
    	plaintextHTTPALPNs = func() []string {
    		if features.HTTP10 {
    			// If HTTP 1.0 is enabled, we will match it
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top