Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 118 for logback (0.55 sec)

  1. tools/istio-iptables/pkg/config/validation_test.go

    			assert.Error(t, err)
    		})
    	}
    }
    
    func TestValidateIPv4LoopbackCidr_Valid(t *testing.T) {
    	cases := []struct {
    		name string
    		cidr string
    	}{
    		{
    			name: "valid IPv4 loopback CIDR",
    			cidr: "127.0.0.1/32",
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			err := ValidateIPv4LoopbackCidr(tc.cidr)
    			assert.NoError(t, err)
    		})
    	}
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 11 02:38:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/nettest/nettest.go

    		// Abstract unix domain sockets, a Linux-ism.
    		if address[0] == '@' && runtime.GOOS != "linux" {
    			return false
    		}
    	}
    	return true
    }
    
    // NewLocalListener returns a listener which listens to a loopback IP
    // address or local file system path.
    //
    // The provided network must be "tcp", "tcp4", "tcp6", "unix" or
    // "unixpacket".
    func NewLocalListener(network string) (net.Listener, error) {
    	stackOnce.Do(probeStack)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. cmd/consolelogger.go

    	pubsub   *pubsub.PubSub[log.Info, madmin.LogMask]
    	console  *console.Target
    	nodeName string
    	logBuf   *ring.Ring
    }
    
    // NewConsoleLogger - creates new HTTPConsoleLoggerSys with all nodes subscribed to
    // the console logging pub sub system
    func NewConsoleLogger(ctx context.Context, w io.Writer) *HTTPConsoleLoggerSys {
    	return &HTTPConsoleLoggerSys{
    		pubsub:  pubsub.New[log.Info, madmin.LogMask](8),
    		console: console.New(w),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. pkg/proxy/util/nodeport_addresses_test.go

    		},
    		{
    			name:        "ipv4 loopback",
    			cidrStrings: []string{"224.0.0.0/24", "192.168.0.0/16", "fd00:1:d::/64", "127.0.0.0/8"},
    			want:        true,
    		},
    		{
    			name:        "ipv6 loopback",
    			cidrStrings: []string{"224.0.0.0/24", "192.168.0.0/16", "fd00:1:d::/64", "::1/128"},
    			want:        false,
    		},
    		{
    			name:        "ipv4 loopback smaller range",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. pkg/proxy/util/nodeport_addresses.go

    	cidrStrings []string
    
    	cidrs                []*net.IPNet
    	containsIPv4Loopback bool
    	matchAll             bool
    }
    
    // RFC 5735 127.0.0.0/8 - This block is assigned for use as the Internet host loopback address
    var ipv4LoopbackStart = net.IPv4(127, 0, 0, 0)
    
    // NewNodePortAddresses takes an IP family and the `--nodeport-addresses` value (which is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            ConnectException connEx = new ConnectException("Connection refused: connect");
            IOException ioEx = new IOException("Unable to establish loopback connection", connEx);
            MojoExecutionException mojoEx =
                    new MojoExecutionException("Error executing Jetty: Unable to establish loopback connection", ioEx);
    
            ExceptionHandler exceptionHandler = new DefaultExceptionHandler();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 10:31:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/troubleshooting.adoc

    2021-08-12T12:01:50.771+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? true
    2021-08-12T12:01:50.771+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding loopback address /0:0:0:0:0:0:0:1%lo
    2021-08-12T12:01:50.771+0200 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding loopback address /127.0.0.1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:22:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go

    	if progVers == "(devel)" { // avoid special characters in created file names
    		progVers = "devel"
    	}
    	logBase := strings.ReplaceAll(
    		fmt.Sprintf("%s-%s-%s-%4d%02d%02d-%d.log", prog, progVers, goVers, year, month, day, os.Getpid()),
    		" ", "")
    	fname := filepath.Join(debugDir, logBase)
    	if _, err := os.Stat(fname); err == nil {
    		// This process previously called upload.Run
    		return nil, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. pkg/ctrlz/ctrlz.go

    	t.Activate(fw.NewContext(htmlRouter, jsonRouter, tmpl))
    }
    
    // getLocalIP returns a non loopback local IP of the host
    func getLocalIP() string {
    	addrs, err := net.InterfaceAddrs()
    	if err != nil {
    		return ""
    	}
    
    	for _, address := range addrs {
    		// check the address type and if it is not a loopback then return it
    		if ipnet, ok := address.(*net.IPNet); ok && !ipnet.IP.IsLoopback() {
    			if ipnet.IP.To4() != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. tools/istio-iptables/pkg/config/validation.go

    	ipp, err := netip.ParsePrefix(cidr)
    	if err != nil {
    		return fmt.Errorf("failed to parse CIDR %s: %v", cidr, err)
    	}
    
    	if !ipp.Addr().Is4() || !ipp.Addr().IsLoopback() {
    		return fmt.Errorf("expected valid IPv4 loopback address in CIDR %s; found %v", cidr, ipp.Addr())
    	}
    
    	ones := ipp.Bits()
    	if ones < 8 || ones > 32 {
    		return fmt.Errorf("expected CIDR %s to have mask in range [8, 32]; found %v", cidr, ones)
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 11 02:38:28 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top