Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for postrouting (0.16 sec)

  1. pkg/util/iptables/testing/parse_test.go

    				*nat
    				:KUBE-SERVICES - [0:0]
    				:KUBE-NODEPORTS - [0:0]
    				:KUBE-POSTROUTING - [0:0]
    				:KUBE-MARK-MASQ - [0:0]
    				:KUBE-SVC-XPGD46QRK7WJZT7O - [0:0]
    				:KUBE-SEP-SXIVWICOYRO3J4NJ - [0:0]
    				-A KUBE-POSTROUTING -m mark ! --mark 0x4000/0x4000 -j RETURN
    				-A KUBE-POSTROUTING -j MARK --xor-mark 0x4000
    				-A KUBE-POSTROUTING -m comment --comment "kubernetes service traffic requiring SNAT" -j MASQUERADE
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 26K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/README.md

    KUBE-SERVICES  all  --  0.0.0.0/0            0.0.0.0/0            /* kubernetes service portals */
    
    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 */
    
    Chain KUBE-MARK-MASQ (2 references)
    target     prot opt source               destination
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 02:32:29 UTC 2021
    - 18.8K bytes
    - Viewed (0)
  3. pkg/util/iptables/testing/fake_test.go

    	if err != nil {
    		t.Fatalf("unexpected error from SaveInto: %v", err)
    	}
    	expected := dedent.Dedent(strings.Trim(`
    		*nat
    		:PREROUTING - [0:0]
    		:INPUT - [0:0]
    		:OUTPUT - [0:0]
    		:POSTROUTING - [0:0]
    		COMMIT
    		*filter
    		:INPUT - [0:0]
    		:FORWARD - [0:0]
    		:OUTPUT - [0:0]
    		COMMIT
    		*mangle
    		COMMIT
    		`, "\n"))
    	if buf.String() != expected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables.go

    	iptablesBuilder := builder.NewIptablesRuleBuilder(ipbuildConfig(cfg.cfg))
    
    	// For easier cleanup, insert a jump into an owned chain
    	// -A POSTROUTING -p tcp -j ISTIO_POSTRT
    	iptablesBuilder.AppendRule(
    		iptableslog.UndefinedCommand, iptablesconstants.POSTROUTING, iptablesconstants.NAT,
    		"-j", ChainHostPostrouting,
    	)
    
    	// TODO BML I don't think we need UDP? TCP healthcheck redir should catch everything.
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. 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