]> git.proxmox.com Git - pve-firewall.git/commit
implement ipt_rule_to_cmds, ruleset_add_ipt_cmd
authorTom Weber <pve@junkyard.4t2.com>
Wed, 18 Oct 2017 20:24:05 +0000 (22:24 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 19 Oct 2017 06:00:17 +0000 (08:00 +0200)
commit30c390f9405390eca01b5e3408f048f344233f71
tree8a580b9ad2a95a208317f186b156714def0c33a1
parenta44cb745ec3da8088490c964bf8a2507ca4b286b
implement ipt_rule_to_cmds, ruleset_add_ipt_cmd

ipt_rule_to_cmds converts a %rule to an array of iptables commands
ruleset_add_ipt_cmd adds such an iptables command to a chain
ruleset_generate_rule uses these now
ruleset_generate_rule_old is an interim workaround

Signed-off-by: Tom Weber <pve@junkyard.4t2.com>
src/PVE/Firewall.pm