#include <Config.hpp>
Classes | |
| struct | ServerTLSOptions |
| struct | ServerAuth |
| struct | ServerConfig |
| struct | RulesOptions |
| struct | FwOptions |
| struct | StatsOptions |
| struct | InternalOptions |
| struct | TasksOptions |
Public Attributes | |
| std::string | source_path |
| std::int32_t | log_level {1} |
| std::string | firewall {"nftables"} |
| std::string | default_action {"allow"} |
| std::string | default_duration {"once"} |
| std::string | proc_monitor_method {"proc"} |
| std::string | ebpf_obj_path {} |
| FwOptions | fw_options |
| ServerConfig | server |
| RulesOptions | rules |
| InternalOptions | internal |
| StatsOptions | stats |
| TasksOptions | tasks |
| bool | intercept_unknown {false} |
| bool | log_utc {true} |
| bool | log_micro {false} |
Definition at line 7 of file Config.hpp.
| std::string bsc::config::Config::default_action {"allow"} |
Definition at line 52 of file Config.hpp.
Referenced by bsc::config::load_file(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| std::string bsc::config::Config::default_duration {"once"} |
Definition at line 53 of file Config.hpp.
Referenced by bsc::config::load_file(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| std::string bsc::config::Config::ebpf_obj_path {} |
Definition at line 55 of file Config.hpp.
Referenced by bsc::config::load_file(), bsc::service::DaemonService::run(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| std::string bsc::config::Config::firewall {"nftables"} |
Definition at line 51 of file Config.hpp.
Referenced by bsc::config::load_file(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| FwOptions bsc::config::Config::fw_options |
Definition at line 56 of file Config.hpp.
Referenced by bsc::config::load_file(), bsc::service::DaemonService::run(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| bool bsc::config::Config::intercept_unknown {false} |
Definition at line 62 of file Config.hpp.
Referenced by bsc::config::load_file(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| InternalOptions bsc::config::Config::internal |
Definition at line 59 of file Config.hpp.
Referenced by bsc::config::load_file(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| std::int32_t bsc::config::Config::log_level {1} |
Definition at line 50 of file Config.hpp.
Referenced by bsc::config::load_file(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| bool bsc::config::Config::log_micro {false} |
Definition at line 64 of file Config.hpp.
Referenced by bsc::config::load_file(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| bool bsc::config::Config::log_utc {true} |
Definition at line 63 of file Config.hpp.
Referenced by bsc::config::load_file(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| std::string bsc::config::Config::proc_monitor_method {"proc"} |
Definition at line 54 of file Config.hpp.
Referenced by bsc::config::load_file(), bsc::service::DaemonService::run(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| RulesOptions bsc::config::Config::rules |
Definition at line 58 of file Config.hpp.
Referenced by bsc::service::DaemonService::DaemonService(), bsc::config::load_file(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| ServerConfig bsc::config::Config::server |
Definition at line 57 of file Config.hpp.
Referenced by bsc::config::load_file(), bsc::service::DaemonService::run(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| std::string bsc::config::Config::source_path |
Definition at line 49 of file Config.hpp.
Referenced by bsc::config::load_file().
| StatsOptions bsc::config::Config::stats |
Definition at line 60 of file Config.hpp.
Referenced by bsc::config::load_file(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().
| TasksOptions bsc::config::Config::tasks |
Definition at line 61 of file Config.hpp.
Referenced by bsc::config::load_file(), bsc::service::DaemonService::run(), and bsc::config::anonymous_namespace{Config.cpp}::to_json().