Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 432 for nftables (0.18 sec)

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

    		logger.Info("Using nftables Proxier")
    
    		if dualStack {
    			// TODO this has side effects that should only happen when Run() is invoked.
    			proxier, err = nftables.NewDualStackProxier(
    				ctx,
    				config.NFTables.SyncPeriod.Duration,
    				config.NFTables.MinSyncPeriod.Duration,
    				config.NFTables.MasqueradeAll,
    				int(*config.NFTables.MasqueradeBit),
    				localDetectors,
    				s.Hostname,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/proxier.go

    	{filterOutputChain, knftables.FilterType, knftables.OutputHook, knftables.DNATPriority + "-10"},
    	{filterOutputPostDNATChain, knftables.FilterType, knftables.OutputHook, knftables.DNATPriority + "+10"},
    	{natPreroutingChain, knftables.NATType, knftables.PreroutingHook, knftables.DNATPriority},
    	{natOutputChain, knftables.NATType, knftables.OutputHook, knftables.DNATPriority},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  3. pkg/proxy/util/localdetector.go

    	// IfNotLocal returns iptables arguments that will match traffic that is not from
    	// a local pod.
    	IfNotLocal() []string
    
    	// IfLocalNFT returns nftables arguments that will match traffic from a local pod.
    	IfLocalNFT() []string
    
    	// IfNotLocalNFT returns nftables arguments that will match traffic that is not
    	// from a local pod.
    	IfNotLocalNFT() []string
    }
    
    type detectLocal struct {
    	ifLocal       []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 15:34:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. pkg/proxy/apis/config/types.go

    	Mode ProxyMode
    	// iptables contains iptables-related configuration options.
    	IPTables KubeProxyIPTablesConfiguration
    	// ipvs contains ipvs-related configuration options.
    	IPVS KubeProxyIPVSConfiguration
    	// winkernel contains winkernel-related configuration options.
    	Winkernel KubeProxyWinkernelConfiguration
    	// nftables contains nftables-related configuration options.
    	NFTables KubeProxyNFTablesConfiguration
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. cni/pkg/plugin/sidecar_intercept_rule_mgr.go

    // limitations under the License.
    
    package plugin
    
    // InterceptRuleMgr configures networking tables (e.g. iptables or nftables) for
    // redirecting traffic to an Istio proxy.
    type InterceptRuleMgr interface {
    	Program(podName, netns string, redirect *Redirect) error
    }
    
    // Constructor for iptables InterceptRuleMgr
    func IptablesInterceptRuleMgr() InterceptRuleMgr {
    	return newIPTables()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 940 bytes
    - Viewed (0)
  6. pkg/proxy/metrics/metrics.go

    	// proxy has seen.
    	NFTablesSyncFailuresTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      kubeProxySubsystem,
    			Name:           "sync_proxy_rules_nftables_sync_failures_total",
    			Help:           "Cumulative proxy nftables sync failures",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    	// NFTablesCleanupFailuresTotal is the number of nftables stale chain cleanup
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/doc.go

    limitations under the License.
    */
    
    // This is an empty file to avoid "build constraints exclude all Go files" error while running unit tests on non-linux platforms.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 03 07:00:59 UTC 2024
    - 719 bytes
    - Viewed (0)
  8. pkg/proxy/apis/config/zz_generated.deepcopy.go

    		for key, val := range *in {
    			(*out)[key] = val
    		}
    	}
    	out.ClientConnection = in.ClientConnection
    	in.Logging.DeepCopyInto(&out.Logging)
    	in.IPTables.DeepCopyInto(&out.IPTables)
    	in.IPVS.DeepCopyInto(&out.IPVS)
    	out.Winkernel = in.Winkernel
    	in.NFTables.DeepCopyInto(&out.NFTables)
    	out.DetectLocal = in.DetectLocal
    	if in.NodePortAddresses != nil {
    		in, out := &in.NodePortAddresses, &out.NodePortAddresses
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 13 15:12:28 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. pkg/proxy/apis/config/validation/validation_test.go

    		},
    		"invalid mode non-existent": {
    			mode:         kubeproxyconfig.ProxyMode("non-existing"),
    			expectedErrs: field.ErrorList{field.Invalid(newPath.Child("ProxyMode"), "non-existing", "must be iptables, ipvs, nftables or blank (blank means the best-available proxy [currently iptables])")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  10. pkg/proxy/nftables/helpers_test.go

    func Test_diffNFTablesChain(t *testing.T) {
    	fake := knftables.NewFake(knftables.IPv4Family, "testing")
    	tx := fake.NewTransaction()
    
    	tx.Add(&knftables.Table{})
    	tx.Add(&knftables.Chain{
    		Name: "mark-masq-chain",
    	})
    	tx.Add(&knftables.Chain{
    		Name: "masquerade-chain",
    	})
    	tx.Add(&knftables.Chain{
    		Name: "empty-chain",
    	})
    
    	tx.Add(&knftables.Rule{
    		Chain: "mark-masq-chain",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 09:57:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top