Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 448 for IPV4 (0.04 sec)

  1. cmd/kube-proxy/app/server_test.go

    		extraConfig        string
    	}{
    		{
    			name:               "iptables mode, IPv4 all-zeros bind address",
    			mode:               "iptables",
    			bindAddress:        "0.0.0.0",
    			clusterCIDR:        "1.2.3.0/24",
    			healthzBindAddress: "1.2.3.4:12345",
    			metricsBindAddress: "2.3.4.5:23456",
    		},
    		{
    			name:               "iptables mode, non-zeros IPv4 config",
    			mode:               "iptables",
    			bindAddress:        "9.8.7.6",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. src/net/hosts_test.go

    			{"localhost", []string{"fe80::1%lo0"}},
    		},
    	},
    	{
    		"testdata/singleline-hosts", // see golang.org/issue/6646
    		[]staticHostEntry{
    			{"odin", []string{"127.0.0.2"}},
    		},
    	},
    	{
    		"testdata/ipv4-hosts",
    		[]staticHostEntry{
    			{"localhost", []string{"127.0.0.1", "127.0.0.2", "127.0.0.3"}},
    			{"localhost.localdomain", []string{"127.0.0.3"}},
    		},
    	},
    	{
    		"testdata/ipv6-hosts", // see golang.org/issue/8996
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. pkg/util/node/node_test.go

    			},
    			expectIPs: nil,
    		},
    		{
    			name: "IPv4-only, simple",
    			addresses: []v1.NodeAddress{
    				{Type: v1.NodeInternalIP, Address: "1.2.3.4"},
    				{Type: v1.NodeExternalIP, Address: "4.3.2.1"},
    				{Type: v1.NodeExternalIP, Address: "4.3.2.2"},
    			},
    			expectIPs: []net.IP{netutils.ParseIPSloppy("1.2.3.4")},
    		},
    		{
    			name: "IPv4-only, external-first",
    			addresses: []v1.NodeAddress{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 23:24:38 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. hack/verify-netparse-cve.sh

    # find files using net.ParseIP()
    netparseip_matches=$(find_files | xargs grep -nE "net.ParseIP\(.*\)" 2>/dev/null) || true
    if [[ -n "${netparseip_matches}" ]]; then
      echo "net.ParseIP reject leading zeros in the dot-decimal notation of IPv4 addresses since golang 1.17:" >&2
      echo "${netparseip_matches}" >&2
      echo >&2
      echo "Use k8s.io/utils/net ParseIPSloppy() to parse IP addresses. Kubernetes #100895" >&2
      echo >&2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

      )
    
      /**
       * Callback to receive results from the DNS Queries.
       */
      @ExperimentalOkHttpApi
      interface Callback {
        /**
         * Return addresses for a dns query for a single class of IPv4 (A) or IPv6 (AAAA).
         * May be an empty list indicating that the host is unreachable.
         */
        fun onResponse(
          hostname: String,
          addresses: List<InetAddress>,
        )
    
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. pkg/proxy/conntrack/conntrack_test.go

    		}
    	}
    }
    
    func TestClearEntriesForIP(t *testing.T) {
    	testCases := []struct {
    		name string
    		ip   string
    
    		expectCommand string
    	}{
    		{
    			name: "IPv4",
    			ip:   "10.240.0.3",
    
    			expectCommand: "conntrack -D --orig-dst 10.240.0.3 -p udp",
    		},
    		{
    			name: "IPv6",
    			ip:   "2001:db8::10",
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. pkg/proxy/healthcheck/healthcheck_test.go

    	// Should return 200 "OK" after processing update for both IPv4 and IPv6 proxiers.
    	hs.Updated(v1.IPv4Protocol)
    	hs.Updated(v1.IPv6Protocol)
    	fakeClock.Step(5 * time.Second)
    	testHTTPHandler(hsTest, http.StatusOK, t)
    
    	// If IPv6 proxier is late for an update but IPv4 proxier is not then updating IPv4 proxier should have no effect.
    	hs.QueuedUpdate(v1.IPv6Protocol)
    	fakeClock.Step(25 * time.Second)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. releasenotes/notes/47211.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: traffic-management
    
    issue:
      - 47211
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 27 11:06:30 UTC 2023
    - 211 bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/manifest-generate/input/ingressgateway_k8s_settings.yaml

          k8s:
            service:
              externalTrafficPolicy: Local
            serviceAnnotations:
              manifest-generate: "testserviceAnnotation"
            securityContext:
              sysctls:
              - name: "net.ipv4.ip_local_port_range"
                value: "80 65535"
        - namespace: istio-system
          name: istio-ingressgateway-custom
          enabled: true
          k8s:
            service:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 28 15:29:11 UTC 2020
    - 643 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ifreq_linux.go

    // in_addr/Go []byte (4-byte IPv4 address) value. If the sockaddr family is not
    // AF_INET, an error is returned.
    func (ifr *Ifreq) Inet4Addr() ([]byte, error) {
    	raw := *(*RawSockaddrInet4)(unsafe.Pointer(&ifr.raw.Ifru[:SizeofSockaddrInet4][0]))
    	if raw.Family != AF_INET {
    		// Cannot safely interpret raw.Addr bytes as an IPv4 address.
    		return nil, EINVAL
    	}
    
    	return raw.Addr[:], nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top