Merge branch 'master' of ssh://git.code.sf.net/u/jeffcarlson72/xtables-addons

This commit is contained in:
Jan Engelhardt
2021-08-16 08:49:55 +02:00

View File

@@ -33,18 +33,23 @@ static const struct option pknock_mt_opts[] = {
static void pknock_mt_help(void) static void pknock_mt_help(void)
{ {
printf("pknock match options:\n" printf("pknock match options:\n"
" --knockports port[,port,port,...] " " --knockports port[,port[,port[,...]]]\n"
"Matches destination port(s).\n" "\t\t\t\tMatches destination port(s).\n"
" --time seconds\n" " --time seconds "
"Max allowed time between knocks.\n" "Max allowed time between knocks.\n"
" --autoclose minutes\n" " --autoclose minutes "
"Time after which to automatically close opened\n" "Time after which to automatically close opened\n"
"\t\t\t\t\tport(s).\n" "\t\t\t\tport(s).\n"
" --strict " " --name rule_name "
"Knocks sequence must be exact.\n"
" --name rule_name "
"Rule name.\n" "Rule name.\n"
" --checkip " " --opensecret secret "
"(UDP only) Secret to activate the rule.\n"
" --closesecret secret "
"(UDP only) Secret to deactivate the\n"
"\t\t\t\trule.\n"
" --strict "
"Knocks sequence must be exact.\n"
" --checkip "
"Matches if the source ip is in the list.\n" "Matches if the source ip is in the list.\n"
); );
} }