#include <FirewallRuleManager.hpp>
Static Public Member Functions | |
| static void | apply (FirewallType fw, const std::vector< std::string > &ips) |
Static Private Member Functions | |
| static bool | run (const std::vector< std::string > &argv) |
| static void | applyWithFirewalld (const std::vector< std::string > &ips) |
| static void | applyWithUfw (const std::vector< std::string > &ips) |
Definition at line 28 of file FirewallRuleManager.hpp.
|
static |
Definition at line 108 of file FirewallRuleManager.cpp.
References _, applyWithFirewalld(), applyWithUfw(), FIREWALLD, and UFW.
|
staticprivate |
Definition at line 61 of file FirewallRuleManager.cpp.
References _, AF_INET, AF_INET6, and run().
Referenced by apply().
|
staticprivate |
Definition at line 94 of file FirewallRuleManager.cpp.
Referenced by apply().
|
staticprivate |
Definition at line 42 of file FirewallRuleManager.cpp.
References _.
Referenced by applyWithFirewalld(), and applyWithUfw().