rantal
708f883635
add support for Linux 5.0 for DELUDE and TARPIT
2019-08-14 18:40:07 +00:00
PGNet Dev
68d895f75c
xt_SYSRQ: replace do_gettimeofday
...
Linux kernel commit v4.20-rc1-18-ge4b92b108c6c removed
do_gettimeofday in favor of ktime_get_real_ts64 introduced in
v3.16-rc5-59-gd6d29896c665 .
2019-03-07 10:07:28 +01:00
Jan Engelhardt
53b6b862cc
Merge MR-10
2018-11-17 12:32:56 +01:00
Nataniel Santos
ed10cb9c17
xt_ACCOUNT: make table limit configurable
...
Add parameter option in module xt_ACCOUNT.ko to accept. Change in the
ACCOUN_MAX_TABLES table without the need to recompile the module.
References: MR-8
2018-11-17 12:13:00 +01:00
Jan Engelhardt
3ea761a1ed
build: add support for Linux 4.18
2018-08-14 14:29:30 +02:00
Philip Prindeville
b91dbd03c7
geoip: store database in network byte order
...
This allows a single database to be built and distributed as a
package that is accepted by both big- and little-endian hosts.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com >
2018-02-19 01:42:29 +01:00
Jan Engelhardt
bf63a25a64
build: remove support for Linux 4.14
2018-02-12 15:09:52 +01:00
Jan Engelhardt
94656621ed
build: remove support for Linux 4.13
2018-02-12 15:09:41 +01:00
Jan Engelhardt
95d4f9e113
build: remove support for Linux 4.12
2018-02-12 15:09:32 +01:00
Jan Engelhardt
123e1a14e9
build: remove support for Linux 4.11
2018-02-12 15:09:25 +01:00
Jan Engelhardt
f4f3f98609
build: remove support for Linux 4.10
2018-02-12 15:09:15 +01:00
Jan Engelhardt
9b1c7c1c04
build: remove support for Linux 4.9
2018-02-12 14:59:44 +01:00
Jan Engelhardt
ed8e496750
build: remove support for Linux 4.8
2018-02-12 14:57:21 +01:00
Jan Engelhardt
5339fcc65b
build: remove support for Linux 4.7
2018-02-12 14:56:57 +01:00
Jan Engelhardt
2265c1b854
build: remove support for Linux 4.6
2018-02-12 14:56:40 +01:00
Jan Engelhardt
2c574f992d
build: remove support for Linux 4.5
2018-02-12 14:56:24 +01:00
Jan Engelhardt
3a24468a68
build: remove support for Linux 4.4
2018-02-12 14:56:05 +01:00
Jan Engelhardt
7682cc8c34
build: remove support for Linux 4.3
2018-02-12 14:55:45 +01:00
Jan Engelhardt
215b3c5b12
build: remove support for Linux 4.2
2018-02-12 14:54:26 +01:00
Jan Engelhardt
4dbb36b723
build: remove support for Linux 4.1
2018-02-12 14:53:25 +01:00
Jan Engelhardt
10f951e61d
build: remove support for Linux 4.0
2018-02-12 14:53:01 +01:00
Jan Engelhardt
a4c50ae405
build: remove support for Linux 3.19
2018-02-12 14:50:33 +01:00
Jan Engelhardt
38d89983ca
build: remove support for Linux 3.18
2018-02-12 14:49:20 +01:00
Jan Engelhardt
25985650a9
build: remove support for Linux 3.17
2018-02-12 14:48:53 +01:00
Jan Engelhardt
4de9ff1505
build: remove support for Linux 3.16
2018-02-12 14:48:34 +01:00
Jan Engelhardt
46b7cf206b
build: remove support for Linux 3.15
2018-02-12 14:47:58 +01:00
Jan Engelhardt
29d10e11fa
build: remove support for Linux 3.14
2018-02-12 14:46:50 +01:00
Jan Engelhardt
60a26f1dea
build: remove support for Linux 3.13
2018-02-12 14:45:55 +01:00
Jan Engelhardt
cdf90737be
build: remove support for Linux 3.12
2018-02-12 14:45:41 +01:00
Jan Engelhardt
5713415014
build: remove support for Linux 3.11
2018-02-12 14:45:30 +01:00
Jan Engelhardt
230bc1f327
build: remove support for Linux 3.10
2018-02-12 14:45:14 +01:00
Jan Engelhardt
d360f5578c
build: remove support for Linux 3.9
2018-02-12 14:45:00 +01:00
Jan Engelhardt
dd32060f6a
build: remove support for Linux 3.8
2018-02-12 14:40:30 +01:00
Jan Engelhardt
d5eb4e586c
build: remove support for Linux 3.7
2018-02-12 14:39:36 +01:00
Jan Engelhardt
56e5970c64
xt_pknock: don't split function heads
2018-01-05 01:36:12 +01:00
Marcelo Henrique Cerri
2b76b68c65
build: support for Linux 4.15
...
Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com >
2018-01-05 01:35:12 +01:00
Seth Forshee
d2eeac4c32
build: (additional) support for Linux 4.14
...
Signed-off-by: Seth Forshee <seth.forshee@canonical.com >
2018-01-05 01:35:07 +01:00
Jan Engelhardt
0a6091b64a
DNETMAP: remove NF_CT_ASSERT use
...
The hooks are already checked by the xtables core (due to struct
xt_target::hooks).
2017-11-22 18:27:36 +01:00
Jan Engelhardt
b565a85fb6
DNETMAP: fix write past end of buffer
2017-11-22 18:24:10 +01:00
Philip Prindeville
425a035959
xt_geoip: fix typo in error message
...
Make both instances of the same message (about invalid country codes)
be consistent with each other. If you have scripts which capture and
collate error messages, then having consistent strings to match against
is a win.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com >
2017-11-02 21:14:00 -06:00
Jan Engelhardt
89c80f5981
DELUDE: fix PVSStudio reports
...
V560 A part of conditional expression is always true: !oth->rst.
2017-07-23 19:59:36 +02:00
Jan Engelhardt
8579fd2b3b
ipp2p: fix PVSStudio reports
...
V666 Consider inspecting fourth argument of the function 'HX_memmem'.
It is possible that the value does not correspond with the length of
a string which was passed with the third argument.
2017-07-23 19:56:42 +02:00
Jan Engelhardt
0a836e9677
pknock: fix PVSStudio static analyzer reports
...
V595 The 'peer' pointer was utilized before it was verified against
nullptr.
2017-07-23 19:55:06 +02:00
Grzegorz Kuczyński
89d1b808b9
xt_condition: namespace support #2
2017-06-27 13:36:03 +02:00
Jan Engelhardt
c839e87bbb
xt_geoip: check for allocation overflow
2017-06-26 22:03:53 +02:00
Jan Engelhardt
a587f9526d
compat_xtables: use more accurate printf format for NIPQUAD
...
We never expect to emit values greater than 255 here, so use %hhu to
address more sprintf warnings.
2017-06-15 12:18:41 +02:00
Jan Engelhardt
1874fcd519
xt_DNETMAP: fix a buffer overflow
...
prefix_str was only 16 bytes, but the largest emitted string could be
"255.255.255.255/32" (19 bytes).
xt_DNETMAP.c: In function "dnetmap_tg_check":
compat_xtables.h:46:22: warning: "%u" directive writing between 1 and 10
bytes into a region of size between 0 and 8 [-Wformat-overflow=]
# define NIPQUAD_FMT "%u.%u.%u.%u"
xt_DNETMAP.c:296:2: note: "sprintf" output between 10 and 27 bytes into
a destination of size 16
sprintf(p->prefix_str, NIPQUAD_FMT "/%u", NIPQUAD(mr->min_addr.ip),
33 - ffs(~(ip_min ^ ip_max)));
2017-06-15 12:15:48 +02:00
Jan Engelhardt
21ea7b76ec
xt_LOGMARK: resolve new gcc7 warnings
...
xt_LOGMARK.c:56:32: warning: increment of a boolean expression [-Wbool-operation]
printk("%s""SEEN_REPLY", prev++ ? "," : "");
xt_LOGMARK.c:58:29: warning: increment of a boolean expression [-Wbool-operation]
printk("%s""ASSURED", prev++ ? "," : "");
xt_LOGMARK.c:60:31: warning: increment of a boolean expression [-Wbool-operation]
printk("%s""CONFIRMED", prev++ ? "," : "");
2017-06-15 12:00:09 +02:00
Ralph Sennhauser
ee8da2b1ac
build: support for Linux 4.12
...
As a result of commit cc41c84b7e7f ("netfilter: kill the fake untracked
conntrack objects") the helper nf_ct_is_untracked always returns false
and commit ab8bc7ed864b ("netfilter: remove nf_ct_is_untracked") removes
it all together.
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2017-06-15 11:57:23 +02:00
Grzegorz Kuczyński
19a4359368
xt_condition: add support for namespaces
2017-06-15 10:45:37 +02:00