MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / hasBlockJump

Method hasBlockJump

src/helper/linux/firewallcontroller.cpp:148–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148bool FirewallController::hasBlockJump(const char *chain)
149{
150 return Utils::executeCommand("iptables", {"--check", chain, "-j", WS_PRODUCT_NAME_LOWER "_block", "-m", "comment", "--comment", kTag.c_str()}) == 0;
151}
152
153int FirewallController::dnsLeaksJumpPos(bool isIPv6, bool tunnelAdapterSet)
154{

Callers

nothing calls this directly

Calls 1

executeCommandFunction · 0.70

Tested by

no test coverage detected