Closed remi-cbd closed 3 years ago
You’re in the wrong place. This repository is about debiman, a manual page (documentation) static site generator.
You seem to be looking for an nftables-related repository instead.
You are right, i followed the FAQ link in bottom of this page : https://manpages.debian.org/unstable/libnftables1/libnftables-json.5.en.html
In a python3 program, using the nftables python module
Trying to get a Table on an empty Ruleset returns an error, no problem. Trying to call another function on the same nftables.Nftables class instance after a function which returns an error (rc != 0) is not possible, any other call to json_cmd() just fails after the first error.
Here is a script showing the error
testNFTABLES.txt