Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for IPV4 (0.23 sec)

  1. samples/tcp-echo/tcp-echo-ipv4.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: tcp-echo
      labels:
        app: tcp-echo
        service: tcp-echo
    spec:
      ipFamilyPolicy: SingleStack
      ipFamilies:
      - IPv4
      ports:
      - name: tcp
        port: 9000
      - name: tcp-other
        port: 9001
      # Port 9002 is omitted intentionally for testing the pass through filter chain.
      selector:
        app: tcp-echo
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/capture/testdata/host-ipv4-loopback-cidr.golden

    Ben Leggett <******@****.***> 1710179183 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. pkg/kubelet/sysctl/safe_sysctls_test.go

    			},
    			want: []string{
    				"kernel.shm_rmid_forced",
    				"net.ipv4.ip_local_port_range",
    				"net.ipv4.tcp_syncookies",
    				"net.ipv4.ping_group_range",
    				"net.ipv4.ip_unprivileged_port_start",
    				"net.ipv4.ip_local_reserved_ports",
    				"net.ipv4.tcp_keepalive_time",
    				"net.ipv4.tcp_fin_timeout",
    				"net.ipv4.tcp_keepalive_intvl",
    				"net.ipv4.tcp_keepalive_probes",
    			},
    		},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 15 15:05:40 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. pkg/util/net/ip_test.go

    		{
    			name: "empty ip address",
    			ips:  []string{},
    			ipv4: []string{},
    			ipv6: []string{},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			ipv4, ipv6 := IPsSplitV4V6(tt.ips)
    			if ipv4 == nil {
    				ipv4 = []string{}
    			}
    			if ipv6 == nil {
    				ipv6 = []string{}
    			}
    			if !reflect.DeepEqual(ipv4, tt.ipv4) || !reflect.DeepEqual(ipv6, tt.ipv6) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/library/ip_test.go

    			expr:         `isIP("192.168.0.1")`,
    			expectResult: trueVal,
    		},
    		{
    			name:         "isIP invalid ipv4",
    			expr:         `isIP("192.168.0.1.0")`,
    			expectResult: falseVal,
    		},
    		{
    			name:         "ip.isCanonical valid ipv4",
    			expr:         `ip.isCanonical("127.0.0.1")`,
    			expectResult: trueVal,
    		},
    		{
    			name:             "ip.isCanonical invalid ipv4",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:07 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. pkg/util/net/ip.go

    			continue
    		}
    		if ip.Is4() {
    			ipv4 = append(ipv4, ip.String())
    		} else if ip.Is6() {
    			ipv6 = append(ipv6, ip.String())
    		} else {
    			log.Debugf("ignoring un-parsable IP address: %v", ip)
    		}
    	}
    	return
    }
    
    // ParseIPsSplitToV4V6 returns two slice of ipv4 and ipv6 netip.Addr.
    func ParseIPsSplitToV4V6(ips []string) (ipv4 []netip.Addr, ipv6 []netip.Addr) {
    	for _, i := range ips {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/net/ipsock_posix.go

    	"syscall"
    	_ "unsafe" // for linkname
    )
    
    // probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication
    // capabilities which are controlled by the IPV6_V6ONLY socket option
    // and kernel configuration.
    //
    // Should we try to use the IPv4 socket interface if we're only
    // dealing with IPv4 sockets? As long as the host system understands
    // IPv4-mapped IPv6, it's okay to pass IPv4-mapped IPv6 addresses to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. pkg/kubelet/sysctl/safe_sysctls.go

    	{
    		name: "kernel.shm_rmid_forced",
    	}, {
    		name: "net.ipv4.ip_local_port_range",
    	}, {
    		name: "net.ipv4.tcp_syncookies",
    	}, {
    		name: "net.ipv4.ping_group_range",
    	}, {
    		name: "net.ipv4.ip_unprivileged_port_start",
    	}, {
    		name:   "net.ipv4.ip_local_reserved_ports",
    		kernel: utilkernel.IPLocalReservedPortsNamespacedKernelVersion,
    	}, {
    		name:   "net.ipv4.tcp_keepalive_time",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 19:24:34 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/library/cidr_test.go

    		},
    		{
    			name:         "contains IP ipv4 (IP)",
    			expr:         `cidr("192.168.0.0/24").containsIP(ip("192.168.0.1"))`,
    			expectResult: trueVal,
    		},
    		{
    			name:         "does not contain IP ipv4 (IP)",
    			expr:         `cidr("192.168.0.0/24").containsIP(ip("192.168.1.1"))`,
    			expectResult: falseVal,
    		},
    		{
    			name:         "contains IP ipv4 (string)",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. pkg/util/kernel/constants.go

    // IPLocalReservedPortsNamespacedKernelVersion is the kernel version in which net.ipv4.ip_local_reserved_ports was namespaced(netns).
    // (ref: https://github.com/torvalds/linux/commit/122ff243f5f104194750ecbc76d5946dd1eec934)
    const IPLocalReservedPortsNamespacedKernelVersion = "3.16"
    
    // IPVSConnReuseModeMinSupportedKernelVersion is the minium kernel version supporting net.ipv4.vs.conn_reuse_mode.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top