Closed selfuryon closed 11 months ago
Hi @selfuryon, thank you for reporting this issue! Could you try again with the latest crate version? :) With the fix provided in #8, the function should not panic anymore.
@selfuryon: Thanks for providing your ruleset. There were indeed a some unimplemented pieces around sets and the XT statement.
Your ruleset can be interpreted after the changes that I committed to this branch: https://github.com/namib-project/nftables-rs/tree/anonymous-sets
Could you please confirm that this works for you?
The fixes will be available as #9.
Hello! I tried to use
get_current_ruleset
function, but it panicked:I use NixOS and my current ruleset (
nft -j list ruleset
with replaced IP addresses) is here.