diff options
author | Ismo Puustinen <ismo.puustinen@intel.com> | 2017-06-06 14:50:09 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-06-06 17:54:59 +0200 |
commit | 9aa3d6d29efe5291ff91df6976d3bda38da848d5 (patch) | |
tree | f6e42b63f3f89fbdecbc27bd30ff002576da3349 /tests/shell/testcases/nft-f/0005rollback_map_0 | |
parent | 4cb962e4e447dd9ebd13177fca040dd1ff9b8632 (diff) |
scanner: add support for include directories
If a string after "include" keyword points to a directory instead of a
file, consider the directory to contain only nft rule files and try to
load them all. This helps with a use case where services drop their own
firewall configuration files into a directory and nft needs to include
those without knowing the exact file names.
File loading order from the include directory is not specified, so the
files inside an include directory should not depend on each other.
Fixes(Bug 1154 - Allow include statement to operate on directories and/or wildcards).
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/nft-f/0005rollback_map_0')
0 files changed, 0 insertions, 0 deletions