Home | History | Annotate | Download | only in server

Lines Matching defs:commands

300     std::string commands;
301 StringAppendF(&commands, "*filter\n:%s -\n", name);
304 StringAppendF(&commands, "-A %s -i lo -o lo -j RETURN\n", name);
308 StringAppendF(&commands, "-A %s -p tcp --tcp-flags RST RST -j RETURN\n", name);
314 StringAppendF(&commands, "-A %s -p icmpv6 --icmpv6-type %s -j RETURN\n",
320 StringAppendF(&commands,
327 StringAppendF(&commands, "-A %s -m owner --uid-owner %d -j %s\n", name, uid, action);
333 StringAppendF(&commands, "-A %s -j DROP\n", name);
336 StringAppendF(&commands, "COMMIT\n\x04"); // EOT.
338 return commands;