Jan Engelhardt
c2c86f4b3d
pknock: remove old-style intraposition negation support
2009-10-07 01:12:03 +02:00
Jan Engelhardt
3c3adcbd07
pknock: remove some extraneous messages and source lines
...
- $Id$ in a comment is pointless.
- remove unneeded/commented-out includes.
- remove warning messages on allocation failure
(if that happens it is almost too late anyway;
not wanting to spam the logs)
- remove warning messages about unhandled packets
(attacker filling up logs)
2009-10-04 21:00:01 +02:00
Jan Rafaj
0d8ae29a60
pknock: "strict" and "checkip" flags were not displayed in iptables -L
2009-10-04 00:42:13 +02:00
Jan Engelhardt
e05a4d9586
pknock: use sizeof() where meaningful
2009-10-04 00:42:11 +02:00
Jan Rafaj
00199427ac
pknock: rename symbols in libxt_pknock
2009-10-03 13:30:56 +02:00
Jan Engelhardt
35b00f8c3f
pknock: remove redundant --t parameter
...
One can already specify --t on the command line as a synonym for
--time because getopt already allows unambiguous abbrevations.
2009-10-03 13:08:26 +02:00
Jan Engelhardt
1f3150bdf9
pknock: remove trailing whitespace
2009-10-03 01:43:00 +02:00
Jan Engelhardt
13c73af796
pknock: remove unneeded braces
2009-10-03 01:26:31 +02:00
Jan Engelhardt
ba9a3efec1
pknock: use preincrements where possible
...
Preincrements are much less error-prone and even do not need extra
parentheses.
2009-10-03 01:26:31 +02:00
Jan Engelhardt
f474c7d4d4
pknock: rename IPT_PKNOCK_* -> XT_PKNOCK_*
2009-10-03 01:26:31 +02:00
Jan Engelhardt
628d137f12
pknock: rename struct ipt_pknock -> xt_pknock_mtinfo
...
Streamline symbols; use xt_*_mtinfo as other modules do.
2009-10-03 01:26:31 +02:00
Jan Engelhardt
e436948ebd
pknock: use explicit tests for non-bool types
2009-10-03 01:26:30 +02:00
Jan Engelhardt
45515a0afd
pknock: bump internal match revision number
...
Do this so that previous iptables installations do not mistakenly
operate with our new xt_pknock.
2009-09-29 23:45:28 +02:00
Jan Engelhardt
d8dc72d151
pknock: only use size-fixated types
...
Types with variadic size are a no-no.
2009-09-29 23:36:53 +02:00
Jan Engelhardt
db9bb2778d
pknock: import pknock trunk@463
2009-09-29 14:00:59 +02:00