Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src: add comment support for chains | Jose M. Guisado Gomez | 2020-09-30 | 1 | -0/+12 |
This patch enables the user to specify a comment when adding a chain. Relies on kernel space supporting userdata for chains. > nft add table ip filter > nft add chain ip filter input { comment "test"\; type filter hook input priority 0\; policy accept\; } > list ruleset table ip filter { chain input { comment "test" type filter hook input priority filter; policy accept; } } Signed-off-by: Jose M. Guisado Gomez <guigom@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |