Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for InsertRuleV4 (0.18 sec)

  1. tools/istio-iptables/pkg/builder/iptables_builder_test.go

    		},
    		{
    			"insert-multi-v4",
    			true,
    			false,
    			func(builder *IptablesRuleBuilder) {
    				builder.InsertRuleV4(iptableslog.UndefinedCommand, "chain", "table", 1, "-f", "foo", "-b", "bar")
    				builder.InsertRuleV4(iptableslog.UndefinedCommand, "chain", "table", 2, "-f", "foo", "-b", "baaz")
    				builder.InsertRuleV4(iptableslog.UndefinedCommand, "chain", "table", 3, "-f", "foo", "-b", "baz")
    			},
    			true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    			rulesv6: []*Rule{},
    		},
    		cfg: cfg,
    	}
    }
    
    func (rb *IptablesRuleBuilder) InsertRule(command log.Command, chain string, table string, position int, params ...string) *IptablesRuleBuilder {
    	rb.InsertRuleV4(command, chain, table, position, params...)
    	rb.InsertRuleV6(command, chain, table, position, params...)
    	return rb
    }
    
    // nolint lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. tools/istio-iptables/pkg/capture/run.go

    	}
    
    	cfg.handleOutboundPortsInclude()
    
    	cfg.handleOutboundIncludeRules(ipv4RangesInclude, cfg.ruleBuilder.AppendRuleV4, cfg.ruleBuilder.InsertRuleV4)
    	cfg.handleOutboundIncludeRules(ipv6RangesInclude, cfg.ruleBuilder.AppendRuleV6, cfg.ruleBuilder.InsertRuleV6)
    
    	if redirectDNS {
    		// Jump from OUTPUT chain to ISTIOOUTPUT chain for all UDP traffic
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
Back to top