| 483 | } |
| 484 | |
| 485 | bool FirewallController::inputJumpExists(bool isV6, const std::string &tag) |
| 486 | { |
| 487 | const char *tool = isV6 ? "ip6tables" : "iptables"; |
| 488 | return Utils::executeCommand(tool, {"--check", "INPUT", "-j", WS_PRODUCT_NAME_LOWER "_input", "-m", "comment", "--comment", tag.c_str()}) == 0; |
| 489 | } |
| 490 | |
| 491 | bool FirewallController::disable() |
| 492 | { |
nothing calls this directly
no test coverage detected