diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-25 19:36:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-25 19:36:24 +0200 |
commit | 55d7ff854cfe0eba1b0a53e1316976471ce2d914 (patch) | |
tree | 6ff52e2be7a71bf8e9fca28498fa091c81c8e628 /src | |
parent | df7348da111668d38796d955bf64fa384eb7a58f (diff) | |
parent | bd119de6fd32480a4b6fd9c3b16cd5191af350af (diff) | |
download | vyos-1x-55d7ff854cfe0eba1b0a53e1316976471ce2d914.tar.gz vyos-1x-55d7ff854cfe0eba1b0a53e1316976471ce2d914.zip |
Merge pull request #1434 from aalmenar/T4556
fastnetmon: T4556: Allow configure white_list_path and populate with hosts/networks that should be ignored
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/service_ids_fastnetmon.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/service_ids_fastnetmon.py b/src/conf_mode/service_ids_fastnetmon.py index 615658c84..c58f8db9a 100755 --- a/src/conf_mode/service_ids_fastnetmon.py +++ b/src/conf_mode/service_ids_fastnetmon.py @@ -29,6 +29,7 @@ airbag.enable() config_file = r'/run/fastnetmon/fastnetmon.conf' networks_list = r'/run/fastnetmon/networks_list' +excluded_networks_list = r'/run/fastnetmon/excluded_networks_list' def get_config(config=None): if config: @@ -75,6 +76,7 @@ def generate(fastnetmon): render(config_file, 'ids/fastnetmon.j2', fastnetmon) render(networks_list, 'ids/fastnetmon_networks_list.j2', fastnetmon) + render(excluded_networks_list, 'ids/fastnetmon_excluded_networks_list.j2', fastnetmon) return None def apply(fastnetmon): |