mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-05 12:16:38 +02:00
Merge branch 'master' of ssh://git.code.sf.net/u/jeffcarlson72/xtables-addons
This commit is contained in:
@@ -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"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user