]> git.proxmox.com Git - proxmox-firewall.git/commit
config: nftables: add support for icmp-type any
authorStefan Hanreich <s.hanreich@proxmox.com>
Thu, 25 Apr 2024 17:16:08 +0000 (19:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Apr 2024 17:21:50 +0000 (19:21 +0200)
commitd409750487eda5b6df86b15a21209ed1fe277f39
tree34f934c1ee4abed0310582b428f367e54b4d80d5
parent58ebc5500c1366c18db7b656a01a5ac07deebee5
config: nftables: add support for icmp-type any

We support any as wildcard for matching all icmp types. Implement
parsing logic for parsing the any value and support converting the any
value into an nftables expression.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
proxmox-nftables/src/expression.rs
proxmox-ve-config/src/firewall/types/rule_match.rs