-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nftables: Support for
base-chain-name
, table-name
, and `as-regula…
…r-chain`. * `base-chain-name`: takes one argument, and changes the name of the base chain from `root` to the passed argument (for example, `root7` becomes `my-chain7`) * `table-name`: takes one argument, and changes the name of the table from `filtering_policies` to the passed argument (for example, `table ip6 filtering_policies {}` becomes `table ip6 my_table {}`) * `as-regular-chain`: takes no arguments, and removes `type filter` line from the root chain generated by this header. While these options were previously added, they used a single argument in header options with `=` as the splitting character. This is an unsupported token. Symptom would be something resembling `Illegal character '=' on line 251`, but successful exit by `aclgen.py`. Some tests have been added and some cleanup was performed as well. PiperOrigin-RevId: 675308936
- Loading branch information
Showing
4 changed files
with
140 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters