Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ServerNames (0.27 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
              val parameters = sslSocket.sslParameters
              val sni = parameters.serverNames
              Log.d("CustomSSLSocketFactory", "old SNI: $sni")
              parameters.serverNames = mutableListOf<SNIServerName>(SNIHostName("cloudflare-dns.com"))
              sslSocket.sslParameters = parameters
            }
    
            return sslSocket
          }
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/listener.go

    		match = &listener.FilterChainMatch{}
    	}
    	// filterChaince also has SuffixLen, SourceType, SourcePrefixRanges which are not rendered.
    
    	descrs := []string{}
    	if len(match.ServerNames) > 0 {
    		descrs = append(descrs, fmt.Sprintf("SNI: %s", strings.Join(match.ServerNames, ",")))
    	}
    	if len(match.TransportProtocol) > 0 {
    		descrs = append(descrs, fmt.Sprintf("Trans: %s", match.TransportProtocol))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    							PortValue: 80,
    						},
    					},
    				},
    			},
    			FilterChains: []*listener.FilterChain{
    				{
    					FilterChainMatch: &listener.FilterChainMatch{
    						ServerNames: []string{"match.com", "*.foo.com"},
    					},
    					Filters: []*listener.Filter{
    						{
    							Name: wellknown.HTTPConnectionManager,
    							ConfigType: &listener.Filter_TypedConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  4. pilot/test/xdstest/validate.go

    			continue
    		}
    		if m.TransportProtocol == xdsfilters.TLSTransportProtocol {
    			t.Errorf("transport protocol set, but missing tls inspector: %v", Dump(t, l))
    		}
    		if m.TransportProtocol == "" && len(m.ServerNames) > 0 {
    			t.Errorf("server names set, but missing tls inspector: %v", Dump(t, l))
    		}
    		// This is a bit suspect; I suspect this could be done with just http inspector without tls inspector,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/envoyfilter/listener_patch.go

    		if match.Name != fc.Name {
    			return false
    		}
    	}
    	if match.Sni != "" {
    		if fc.FilterChainMatch == nil || len(fc.FilterChainMatch.ServerNames) == 0 {
    			return false
    		}
    		sniMatched := false
    		for _, sni := range fc.FilterChainMatch.ServerNames {
    			if sni == match.Sni {
    				sniMatched = true
    				break
    			}
    		}
    		if !sniMatched {
    			return false
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  6. pilot/pkg/simulation/traffic.go

    			}
    		}
    		f, err := ranger.Contains(net.ParseIP(input.Address))
    		if err != nil {
    			sim.t.Fatalf("cidr containers %v failed: %v", input.Address, err)
    		}
    		return f
    	})
    	chains = filter("ServerNames", chains, func(fc *listener.FilterChainMatch) bool {
    		return fc.GetServerNames() == nil
    	}, func(fc *listener.FilterChainMatch) bool {
    		sni := host.Name(input.Sni)
    		for _, s := range fc.GetServerNames() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_test.go

    		if fc.FilterChainMatch == nil {
    			t.Fatalf("expected filter chain match for chain %s to be set, found nil", fc.Name)
    		}
    		if len(fc.FilterChainMatch.ServerNames) == 0 {
    			t.Fatalf("expected SNI to be set, found %v", fc.FilterChainMatch.ServerNames)
    		}
    	}
    	log.Printf("Listeners: %v", listeners)
    }
    
    func TestOutboundListenerConfigWithSidecarHTTPProxy(t *testing.T) {
    	sidecarConfig := &config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener.go

    				break
    			}
    		}
    		if !fullWildcardFound {
    			chain.sniHosts = append([]string{}, chain.sniHosts...)
    			sort.Stable(sort.StringSlice(chain.sniHosts))
    			match.ServerNames = chain.sniHosts
    		}
    	}
    	if len(chain.destinationCIDRs) > 0 {
    		chain.destinationCIDRs = append([]string{}, chain.destinationCIDRs...)
    		sort.Stable(sort.StringSlice(chain.destinationCIDRs))
    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