Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for postrouting (0.14 sec)

  1. pkg/proxy/ipvs/proxier.go

    // Create and link the kube postrouting chain for SNAT packets.
    // Chain POSTROUTING (policy ACCEPT)
    // target     prot opt source               destination
    // KUBE-POSTROUTING  all  --  0.0.0.0/0            0.0.0.0/0            /* kubernetes postrouting rules *
    // Maintain by kubelet network sync loop
    
    // *nat
    // :KUBE-POSTROUTING - [0:0]
    // Chain KUBE-POSTROUTING (1 references)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/helpers_test.go

    		add chain ip kube-proxy filter-output { type filter hook output priority -110 ; }
    		add chain ip kube-proxy nat-output { type nat hook output priority -100 ; }
    		add chain ip kube-proxy nat-postrouting { type nat hook postrouting priority 100 ; }
    		add chain ip kube-proxy nat-prerouting { type nat hook prerouting priority -100 ; }
    		add chain ip kube-proxy reject-chain { comment "helper for @no-endpoint-services / @no-endpoint-nodeports" ; }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 09:57:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier.go

    	kubeExternalServicesChain utiliptables.Chain = "KUBE-EXTERNAL-SERVICES"
    
    	// the nodeports chain
    	kubeNodePortsChain utiliptables.Chain = "KUBE-NODEPORTS"
    
    	// the kubernetes postrouting chain
    	kubePostroutingChain utiliptables.Chain = "KUBE-POSTROUTING"
    
    	// kubeMarkMasqChain is the mark-for-masquerade chain
    	kubeMarkMasqChain utiliptables.Chain = "KUBE-MARK-MASQ"
    
    	// the kubernetes forward chain
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  4. pkg/util/iptables/iptables_test.go

    		}
    	}
    }
    
    func TestCheckRuleWithoutCheckPresent(t *testing.T) {
    	iptablesSaveOutput := `# Generated by iptables-save v1.4.7 on Wed Oct 29 14:56:01 2014
    *nat
    :PREROUTING ACCEPT [2136997:197881818]
    :POSTROUTING ACCEPT [4284525:258542680]
    :OUTPUT ACCEPT [5901660:357267963]
    -A PREROUTING -m addrtype --dst-type LOCAL -m mark --mark 0x00004000/0x00004000 -j DOCKER
    COMMIT
    # Completed on Wed Oct 29 14:56:01 2014`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 46.3K bytes
    - Viewed (0)
  5. pkg/proxy/nftables/proxier.go

    	filterOutputChain         = "filter-output"
    	filterOutputPostDNATChain = "filter-output-post-dnat"
    	natPreroutingChain        = "nat-prerouting"
    	natOutputChain            = "nat-output"
    	natPostroutingChain       = "nat-postrouting"
    
    	// service dispatch
    	servicesChain       = "services"
    	serviceIPsMap       = "service-ips"
    	serviceNodePortsMap = "service-nodeports"
    
    	// set of IPs that accept NodePort traffic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/proxier_test.go

    		add chain ip kube-proxy nat-output { type nat hook output priority -100 ; }
    		add rule ip kube-proxy nat-output jump services
    		add chain ip kube-proxy nat-postrouting { type nat hook postrouting priority 100 ; }
    		add rule ip kube-proxy nat-postrouting jump masquerading
    		add chain ip kube-proxy nat-prerouting { type nat hook prerouting priority -100 ; }
    		add rule ip kube-proxy nat-prerouting jump services
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  7. pkg/util/iptables/iptables.go

    	TableMangle Table = "mangle"
    )
    
    // Chain represents the different rules
    type Chain string
    
    const (
    	// ChainPostrouting used for source NAT in nat table
    	ChainPostrouting Chain = "POSTROUTING"
    	// ChainPrerouting used for DNAT (destination NAT) in nat table
    	ChainPrerouting Chain = "PREROUTING"
    	// ChainOutput used for the packets going out from local
    	ChainOutput Chain = "OUTPUT"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 28.6K bytes
    - Viewed (0)
  8. cluster/gce/gci/configure-helper.sh

      iptables -w -t nat -F || true
    
      if [[ "${NON_MASQUERADE_CIDR:-}" == "0.0.0.0/0" ]]; then
        echo "Add rules for ip masquerade"
        iptables -w -t nat -N IP-MASQ
        iptables -w -t nat -A POSTROUTING -m comment --comment "ip-masq: ensure nat POSTROUTING directs all non-LOCAL destination traffic to our custom IP-MASQ chain" -m addrtype ! --dst-type LOCAL -j IP-MASQ
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  9. pkg/proxy/ipvs/proxier_test.go

    	ipset := ipsettest.NewFake(testIPSetVersion)
    	fp := NewFakeProxier(ctx, ipt, ipvs, ipset, nil, nil, v1.IPv4Protocol)
    	fp.createAndLinkKubeChain()
    	expectedNATChains := `:KUBE-SERVICES - [0:0]
    :KUBE-POSTROUTING - [0:0]
    :KUBE-NODE-PORT - [0:0]
    :KUBE-LOAD-BALANCER - [0:0]
    :KUBE-MARK-MASQ - [0:0]
    `
    	expectedFilterChains := `:KUBE-FORWARD - [0:0]
    :KUBE-NODE-PORT - [0:0]
    :KUBE-PROXY-FIREWALL - [0:0]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go

    				t.Errorf("label: expected %s, got %s", e, a)
    			}
    			if e, a := "value", value; e != a {
    				t.Errorf("value: expected %s, got %s", e, a)
    			}
    		})
    	}
    }
    
    func TestRouting(t *testing.T) {
    	hasSynced := false
    
    	crdIndexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 34.6K bytes
    - Viewed (0)
Back to top