Lines Matching refs:commands
267 std::string commands;
270 StringAppendF(&commands, "-A %s -p icmpv6 --icmpv6-type %s -j RETURN\n",
274 return commands;
279 std::string commands;
280 StringAppendF(&commands, "*filter\n:%s -\n", name);
285 StringAppendF(&commands, "-A %s -m owner --uid-owner %d -j RETURN\n", name, uid);
289 StringAppendF(&commands,
294 StringAppendF(&commands,
298 StringAppendF(&commands, "-A %s -p esp -j RETURN\n", name);
302 StringAppendF(&commands, "-A %s -i lo -j RETURN\n", name);
303 StringAppendF(&commands, "-A %s -o lo -j RETURN\n", name);
307 StringAppendF(&commands, "-A %s -p tcp --tcp-flags RST RST -j RETURN\n", name);
310 commands.append(makeCriticalCommands(target, name));
316 StringAppendF(&commands, "-A %s -m owner --uid-owner %d -j DROP\n", name, uid);
323 StringAppendF(&commands, "-A %s -j DROP\n", name);
326 StringAppendF(&commands, "COMMIT\n");
328 return commands;