mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 21:25:12 +02:00
pknock: "strict" and "checkip" flags were not displayed in iptables -L
This commit is contained in:

committed by
Jan Engelhardt

parent
e05a4d9586
commit
0d8ae29a60
@@ -1,6 +1,9 @@
|
||||
|
||||
|
||||
- build: compile fixes for 2.6.31-rt
|
||||
- added reworked xt_pknock module
|
||||
Changes from pknock v0.5:
|
||||
- pknock: "strict" and "checkip" flags were not displayed in `iptables -L`
|
||||
|
||||
|
||||
Xtables-addons 1.18 (September 09 2009)
|
||||
|
@@ -290,6 +290,10 @@ static void pknock_mt_print(const void *ip,
|
||||
printf("opensecret ");
|
||||
if (info->option & XT_PKNOCK_CLOSESECRET)
|
||||
printf("closesecret ");
|
||||
if (info->option & XT_PKNOCK_STRICT)
|
||||
printf("strict ");
|
||||
if (info->option & XT_PKNOCK_CHECKIP)
|
||||
printf("checkip ");
|
||||
}
|
||||
|
||||
static void pknock_mt_save(const void *ip, const struct xt_entry_match *match)
|
||||
|
Reference in New Issue
Block a user