Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ParseRule (0.26 sec)

  1. pkg/proxy/ipvs/proxier_test.go

    		_ = ipt.SaveInto(utiliptables.TableNAT, buf)
    		natRules := strings.Split(buf.String(), "\n")
    		var hasMasqueradeJump, hasMasqRandomFully bool
    		for _, line := range natRules {
    			rule, _ := iptablestest.ParseRule(line, false)
    			if rule != nil && rule.Chain == kubePostroutingChain && rule.Jump != nil && rule.Jump.Value == "MASQUERADE" {
    				hasMasqueradeJump = true
    				if rule.RandomFully != nil {
    					hasMasqRandomFully = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
Back to top