Jeremy Sowden
d4c2aac5f8
xt_pknock, xt_SYSRQ: do not set shash_desc::flags.
...
shash_desc::flags was removed from the kernel in 5.1.
That assignment was actually superfluous anyway, because crypto.desc
is zero-initialized when crypto is initialized (xt_pknock.c, ll.
110ff.).
Signed-off-by: Jeremy Sowden <jeremy@azazel.net >
2019-09-06 10:34:36 +02:00
Jan Engelhardt
5622c5f024
treewide: replace skb_make_writable
...
skb_make_writable was removed in v5.3-rc1~140^2~370^2~1 .
Replace it with skb_ensure_writable that was introduced in
v3.19-rc1~118^2~153^2~2 .
2019-09-06 10:34:36 +02:00
Jan Engelhardt
358991306c
xt_PROTO: style fixes
2019-09-06 10:34:35 +02:00
Jan Engelhardt
2bbdcb1d58
Merge MR-11
2019-09-06 10:34:29 +02:00
Jeremy Sowden
b14728691d
xt_DHCPMAC: replace skb_make_writable with skb_ensure_writable
...
skb_make_writable was removed from the kernel in
v5.3-rc1~140^2~370^2~1 , and its callers were converted to use
skb_ensure_writable. Updated dhcpmac_tg() accordingly.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net >
2019-09-06 10:28:37 +02:00
rantal
708f883635
add support for Linux 5.0 for DELUDE and TARPIT
2019-08-14 18:40:07 +00:00
Aron Xu
f822b8bc1b
Add man page items for xt_PROTO
...
Signed-off-by: Aron Xu <happyaron.xu@gmail.com >
2019-05-07 03:31:24 +08:00
Aron Xu
4205900d9b
Enable xt_PROTO in build system
...
Signed-off-by: Aron Xu <happyaron.xu@gmail.com >
2019-05-07 03:24:43 +08:00
Miao Wang
266638e41e
Add xt_PROTO extension
...
Signed-off-by: Aron Xu <happyaron.xu@gmail.com >
2019-05-07 03:24:43 +08: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