]> git.ipfire.org Git - thirdparty/xtables-addons.git/log
thirdparty/xtables-addons.git
5 years agobuild: do install xt_geoip_fetch.1
Jan Engelhardt [Fri, 1 May 2020 21:07:16 +0000 (23:07 +0200)] 
build: do install xt_geoip_fetch.1

5 years agogeoip: install and document xt_geoip_fetch
Philip Prindeville [Thu, 30 Apr 2020 22:15:46 +0000 (00:15 +0200)] 
geoip: install and document xt_geoip_fetch

Add a man page for xt_geoip_fetch.1 and include it as part of
the installed scripts.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
5 years agogeoip: pipe wget right into gzip
Jan Engelhardt [Tue, 21 Apr 2020 10:01:52 +0000 (12:01 +0200)] 
geoip: pipe wget right into gzip

Skip over creating temporary files.

5 years agogeoip: simplify unpacking start/end tuples from database
Philip Prindeville [Sun, 19 Apr 2020 23:17:14 +0000 (01:17 +0200)] 
geoip: simplify unpacking start/end tuples from database

Use unpack() to separate start/end instead of substr().

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
5 years agogeoip: update download script for DBIP database
Philip Prindeville [Mon, 20 Apr 2020 00:11:47 +0000 (02:11 +0200)] 
geoip: update download script for DBIP database

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
5 years agoXtables-addons 3.9 v3.9
Jan Engelhardt [Tue, 25 Feb 2020 06:35:08 +0000 (07:35 +0100)] 
Xtables-addons 3.9

5 years agobuild: avoid configure warning for Linux 4.15
Jan Engelhardt [Tue, 25 Feb 2020 06:30:01 +0000 (07:30 +0100)] 
build: avoid configure warning for Linux 4.15

Commit 4603d3e0f477dcb795a69196071cda66211819c0 and others
erroneously changed the acceptance range from >=4.15 to >=4.17.
Return to previous state.

5 years agoSupport for Linux 5.6 procfs API
Jan Engelhardt [Tue, 25 Feb 2020 06:28:23 +0000 (07:28 +0100)] 
Support for Linux 5.6 procfs API

5 years agoXtables-addons 3.8 v3.8
Jan Engelhardt [Mon, 3 Feb 2020 11:02:34 +0000 (12:02 +0100)] 
Xtables-addons 3.8

5 years agogeoip: adjust builder script for DBIP service
Arjen de Korte [Tue, 7 Jan 2020 21:27:51 +0000 (21:27 +0000)] 
geoip: adjust builder script for DBIP service

Maxmind databases are no longer libre.

5 years agoXtables-addons 3.7 v3.7
Jan Engelhardt [Sun, 1 Dec 2019 10:30:53 +0000 (11:30 +0100)] 
Xtables-addons 3.7

5 years agoxt_geoip: fix in6_addr little-endian byte swapping
Jeremy Sowden [Sat, 30 Nov 2019 17:58:45 +0000 (18:58 +0100)] 
xt_geoip: fix in6_addr little-endian byte swapping

The Perl script that builds the GeoIP DBs uses inet_pton(3) to convert
the addresses to network byte order. This converts

  "1234:5678::90ab:cdef"

to:

  0x12 0x34 0x56 0x78 .. 0xcd 0xef, interpreted by an LE machine
  accessing this in uint32_t-sized chunks as
  8765:4321::fedc:ba09

The kernel module compares the addresses in packets with the ranges from
the DB in host byte order using binary search. It uses 32-bit swaps
when converting the addresses.

libxt_geoip, however, which the module uses to load the ranges from the
DB and convert them from NBO to HBO, uses 16-bit swaps to do so, and
this means that:

  1234:5678::90ab:cdef

becomes:

  4321:8765::ba09:fedc

Obviously, this is inconsistent with the kernel module and DB build
script and breaks the binary search.

Fixes: b91dbd03c717 ("geoip: store database in network byte order")
Reported-by: "Thomas B. Clark" <kernel@clark.bz>
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
5 years agobuild: update max. supported kernel version
Jeremy Sowden [Sat, 30 Nov 2019 17:58:43 +0000 (18:58 +0100)] 
build: update max. supported kernel version

The maximum supported version is reported as 5.3. Bump to 5.4.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
5 years agoXtables-addons 3.6 v3.6
Jan Engelhardt [Wed, 20 Nov 2019 21:50:04 +0000 (22:50 +0100)] 
Xtables-addons 3.6

5 years agobuild: add support for Linux 5.4
Paolo Pisati [Wed, 13 Nov 2019 16:30:17 +0000 (16:30 +0000)] 
build: add support for Linux 5.4

5 years agoXtables-addons 3.5 v3.5
Jan Engelhardt [Tue, 10 Sep 2019 09:14:13 +0000 (11:14 +0200)] 
Xtables-addons 3.5

5 years agoMerge MR-14
Jan Engelhardt [Tue, 10 Sep 2019 09:12:30 +0000 (11:12 +0200)] 
Merge MR-14

5 years agoXtables-addons 3.4 v3.4
Jan Engelhardt [Fri, 6 Sep 2019 08:43:58 +0000 (10:43 +0200)] 
Xtables-addons 3.4

5 years agoxt_pknock, xt_SYSRQ: do not set shash_desc::flags.
Jeremy Sowden [Mon, 12 Aug 2019 11:57:41 +0000 (13:57 +0200)] 
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>
5 years agotreewide: replace skb_make_writable
Jan Engelhardt [Fri, 6 Sep 2019 08:10:08 +0000 (10:10 +0200)] 
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 .

5 years agoxt_PROTO: style fixes
Jan Engelhardt [Fri, 6 Sep 2019 08:02:57 +0000 (10:02 +0200)] 
xt_PROTO: style fixes

5 years agoMerge MR-11
Jan Engelhardt [Fri, 6 Sep 2019 08:29:08 +0000 (10:29 +0200)] 
Merge MR-11

5 years agoxt_DHCPMAC: replace skb_make_writable with skb_ensure_writable
Jeremy Sowden [Sun, 11 Aug 2019 13:09:26 +0000 (14:09 +0100)] 
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>
6 years agoadd support for Linux 5.0 for DELUDE and TARPIT
rantal [Wed, 14 Aug 2019 18:40:07 +0000 (18:40 +0000)] 
add support for Linux 5.0 for DELUDE and TARPIT

6 years agoAdd man page items for xt_PROTO
Aron Xu [Mon, 6 May 2019 19:07:53 +0000 (03:07 +0800)] 
Add man page items for xt_PROTO

Signed-off-by: Aron Xu <happyaron.xu@gmail.com>
6 years agoEnable xt_PROTO in build system
Aron Xu [Sat, 2 Mar 2019 11:47:12 +0000 (19:47 +0800)] 
Enable xt_PROTO in build system

Signed-off-by: Aron Xu <happyaron.xu@gmail.com>
6 years agoAdd xt_PROTO extension
Miao Wang [Sat, 2 Mar 2019 11:45:54 +0000 (19:45 +0800)] 
Add xt_PROTO extension

Signed-off-by: Aron Xu <happyaron.xu@gmail.com>
6 years agoXtables-addons 3.3 v3.3
Jan Engelhardt [Thu, 7 Mar 2019 09:21:20 +0000 (10:21 +0100)] 
Xtables-addons 3.3

6 years agobuild: remove xa-download-more script
Jan Engelhardt [Thu, 7 Mar 2019 09:19:04 +0000 (10:19 +0100)] 
build: remove xa-download-more script

This mechanism has not seen any use in recent years (the "sources"
file is still the same) — drop it.

6 years agodoc: update README and changelog
Jan Engelhardt [Thu, 7 Mar 2019 09:18:10 +0000 (10:18 +0100)] 
doc: update README and changelog

6 years agoxt_SYSRQ: replace do_gettimeofday
PGNet Dev [Mon, 4 Mar 2019 20:10:08 +0000 (12:10 -0800)] 
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 .

6 years agoMerge MR-10
Jan Engelhardt [Sat, 17 Nov 2018 11:32:56 +0000 (12:32 +0100)] 
Merge MR-10

6 years agoxt_ACCOUNT: make table limit configurable
Nataniel Santos [Thu, 6 Jul 2017 11:03:16 +0000 (08:03 -0300)] 
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

6 years agoXtables-addons 3.2 v3.2
Jan Engelhardt [Fri, 7 Sep 2018 13:04:28 +0000 (15:04 +0200)] 
Xtables-addons 3.2

6 years agogeoip: build tool should not rely on directory name
Jan Engelhardt [Fri, 7 Sep 2018 12:59:01 +0000 (14:59 +0200)] 
geoip: build tool should not rely on directory name

Fix this:

GeoLite2-Country-CSV_20180905$ /usr/lib/xtables-addons/xt_geoip_build

Use of uninitialized value $dir in concatenation (.) or string at
/usr/lib/xtables-addons/xt_geoip_build line 59.
Couldn't open list country names

Do not rely on any directory names (they change). Use the current
directory as the default source directory, similar to the older
xt_geoip_build (well, *.csv was passed as arguments).

7 years agoXtables-addons 3.1 v3.1
Jan Engelhardt [Tue, 14 Aug 2018 12:31:10 +0000 (14:31 +0200)] 
Xtables-addons 3.1

7 years agobuild: add support for Linux 4.18
Jan Engelhardt [Tue, 14 Aug 2018 12:29:30 +0000 (14:29 +0200)] 
build: add support for Linux 4.18

7 years agobuild: add support for Linux 4.17
Jan Engelhardt [Tue, 14 Aug 2018 12:23:04 +0000 (14:23 +0200)] 
build: add support for Linux 4.17

7 years agobuild: fix 4.16 warning
Jan Engelhardt [Tue, 14 Aug 2018 12:15:18 +0000 (14:15 +0200)] 
build: fix 4.16 warning

7 years agobuild: match documented and coded build requirements
Jan Engelhardt [Tue, 14 Aug 2018 12:22:17 +0000 (14:22 +0200)] 
build: match documented and coded build requirements

7 years agodoc: add 3.0 headline in changelog
Jan Engelhardt [Tue, 14 Aug 2018 12:15:00 +0000 (14:15 +0200)] 
doc: add 3.0 headline in changelog

7 years agogeoip: simplify handling table column names
Philip Prindeville [Mon, 30 Apr 2018 00:06:05 +0000 (02:06 +0200)] 
geoip: simplify handling table column names

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
7 years agogeoip: add database query tool for use with ipsets
Philip Prindeville [Mon, 30 Apr 2018 00:06:04 +0000 (02:06 +0200)] 
geoip: add database query tool for use with ipsets

Add a tool for retrieiving the IPv4 or IPv6 (or both!) CIDR ranges
for a given country, which can then be injected into an ipset if
one doesn't want to use (or have available) the xt_geoip extension.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
7 years agogeoip: update man page for xt_geoip_build
Philip Prindeville [Mon, 30 Apr 2018 00:06:04 +0000 (02:06 +0200)] 
geoip: update man page for xt_geoip_build

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
7 years agogeoip: adapt to GeoLite2 database
Philip Prindeville [Mon, 30 Apr 2018 00:06:03 +0000 (02:06 +0200)] 
geoip: adapt to GeoLite2 database

Requires Net::CIDR::Lite for manipulating CIDR blocks, aggregation, etc.
since database is stored as subnet/mask pairs and may require compaction
into ranges (which can combine adjacent subnets).

We don't use Net::CIDR because it's a clunkier interface.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
7 years agogeoip: store database in network byte order
Philip Prindeville [Mon, 12 Feb 2018 23:06:46 +0000 (16:06 -0700)] 
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>
7 years agoXtables-addons 3.0 v3.0
Jan Engelhardt [Mon, 12 Feb 2018 14:12:27 +0000 (15:12 +0100)] 
Xtables-addons 3.0

7 years agobuild: support for Linux 4.16
Jan Engelhardt [Mon, 12 Feb 2018 14:10:47 +0000 (15:10 +0100)] 
build: support for Linux 4.16

7 years agobuild: remove support for Linux 4.14
Jan Engelhardt [Mon, 12 Feb 2018 14:04:37 +0000 (15:04 +0100)] 
build: remove support for Linux 4.14

7 years agobuild: remove support for Linux 4.13
Jan Engelhardt [Mon, 12 Feb 2018 14:03:58 +0000 (15:03 +0100)] 
build: remove support for Linux 4.13

7 years agobuild: remove support for Linux 4.12
Jan Engelhardt [Mon, 12 Feb 2018 14:03:47 +0000 (15:03 +0100)] 
build: remove support for Linux 4.12

7 years agobuild: remove support for Linux 4.11
Jan Engelhardt [Mon, 12 Feb 2018 14:02:42 +0000 (15:02 +0100)] 
build: remove support for Linux 4.11

7 years agobuild: remove support for Linux 4.10
Jan Engelhardt [Mon, 12 Feb 2018 14:01:38 +0000 (15:01 +0100)] 
build: remove support for Linux 4.10

7 years agobuild: remove support for Linux 4.9
Jan Engelhardt [Mon, 12 Feb 2018 13:59:12 +0000 (14:59 +0100)] 
build: remove support for Linux 4.9

7 years agobuild: remove support for Linux 4.8
Jan Engelhardt [Mon, 12 Feb 2018 13:57:21 +0000 (14:57 +0100)] 
build: remove support for Linux 4.8

7 years agobuild: remove support for Linux 4.7
Jan Engelhardt [Mon, 12 Feb 2018 13:56:57 +0000 (14:56 +0100)] 
build: remove support for Linux 4.7

7 years agobuild: remove support for Linux 4.6
Jan Engelhardt [Mon, 12 Feb 2018 13:56:40 +0000 (14:56 +0100)] 
build: remove support for Linux 4.6

7 years agobuild: remove support for Linux 4.5
Jan Engelhardt [Mon, 12 Feb 2018 13:56:24 +0000 (14:56 +0100)] 
build: remove support for Linux 4.5

7 years agobuild: remove support for Linux 4.4
Jan Engelhardt [Mon, 12 Feb 2018 13:56:05 +0000 (14:56 +0100)] 
build: remove support for Linux 4.4

7 years agobuild: remove support for Linux 4.3
Jan Engelhardt [Mon, 12 Feb 2018 13:55:45 +0000 (14:55 +0100)] 
build: remove support for Linux 4.3

7 years agobuild: remove support for Linux 4.2
Jan Engelhardt [Mon, 12 Feb 2018 13:54:26 +0000 (14:54 +0100)] 
build: remove support for Linux 4.2

7 years agobuild: remove support for Linux 4.1
Jan Engelhardt [Mon, 12 Feb 2018 13:53:25 +0000 (14:53 +0100)] 
build: remove support for Linux 4.1

7 years agobuild: remove support for Linux 4.0
Jan Engelhardt [Mon, 12 Feb 2018 13:53:01 +0000 (14:53 +0100)] 
build: remove support for Linux 4.0

7 years agobuild: remove support for Linux 3.19
Jan Engelhardt [Mon, 12 Feb 2018 13:50:33 +0000 (14:50 +0100)] 
build: remove support for Linux 3.19

7 years agobuild: remove support for Linux 3.18
Jan Engelhardt [Mon, 12 Feb 2018 13:49:20 +0000 (14:49 +0100)] 
build: remove support for Linux 3.18

7 years agobuild: remove support for Linux 3.17
Jan Engelhardt [Mon, 12 Feb 2018 13:48:53 +0000 (14:48 +0100)] 
build: remove support for Linux 3.17

7 years agobuild: remove support for Linux 3.16
Jan Engelhardt [Mon, 12 Feb 2018 13:48:34 +0000 (14:48 +0100)] 
build: remove support for Linux 3.16

7 years agobuild: remove support for Linux 3.15
Jan Engelhardt [Mon, 12 Feb 2018 13:47:58 +0000 (14:47 +0100)] 
build: remove support for Linux 3.15

7 years agobuild: remove support for Linux 3.14
Jan Engelhardt [Mon, 12 Feb 2018 13:46:50 +0000 (14:46 +0100)] 
build: remove support for Linux 3.14

7 years agobuild: remove support for Linux 3.13
Jan Engelhardt [Mon, 12 Feb 2018 13:45:55 +0000 (14:45 +0100)] 
build: remove support for Linux 3.13

7 years agobuild: remove support for Linux 3.12
Jan Engelhardt [Mon, 12 Feb 2018 13:45:41 +0000 (14:45 +0100)] 
build: remove support for Linux 3.12

7 years agobuild: remove support for Linux 3.11
Jan Engelhardt [Mon, 12 Feb 2018 13:45:30 +0000 (14:45 +0100)] 
build: remove support for Linux 3.11

7 years agobuild: remove support for Linux 3.10
Jan Engelhardt [Mon, 12 Feb 2018 13:45:14 +0000 (14:45 +0100)] 
build: remove support for Linux 3.10

7 years agobuild: remove support for Linux 3.9
Jan Engelhardt [Mon, 12 Feb 2018 13:43:20 +0000 (14:43 +0100)] 
build: remove support for Linux 3.9

7 years agobuild: remove support for Linux 3.8
Jan Engelhardt [Mon, 12 Feb 2018 13:40:30 +0000 (14:40 +0100)] 
build: remove support for Linux 3.8

7 years agobuild: remove support for Linux 3.7
Jan Engelhardt [Mon, 12 Feb 2018 13:37:55 +0000 (14:37 +0100)] 
build: remove support for Linux 3.7

7 years agogeoip: apply consistent style to xt_geoip_build
Jan Engelhardt [Mon, 12 Feb 2018 12:58:18 +0000 (13:58 +0100)] 
geoip: apply consistent style to xt_geoip_build

7 years agogeoip: selective endianness catalog generation
Philip Prindeville [Thu, 8 Feb 2018 02:24:12 +0000 (19:24 -0700)] 
geoip: selective endianness catalog generation

7 years agoxt_pknock: don't split function heads
Jan Engelhardt [Fri, 5 Jan 2018 00:36:12 +0000 (01:36 +0100)] 
xt_pknock: don't split function heads

7 years agobuild: support for Linux 4.15
Marcelo Henrique Cerri [Thu, 4 Jan 2018 17:50:50 +0000 (18:50 +0100)] 
build: support for Linux 4.15

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
7 years agobuild: (additional) support for Linux 4.14
Seth Forshee [Thu, 4 Jan 2018 17:50:49 +0000 (18:50 +0100)] 
build: (additional) support for Linux 4.14

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
7 years agoXtables-addons 2.14 v2.14
Jan Engelhardt [Wed, 22 Nov 2017 17:29:01 +0000 (18:29 +0100)] 
Xtables-addons 2.14

7 years agoDNETMAP: remove NF_CT_ASSERT use
Jan Engelhardt [Wed, 22 Nov 2017 17:27:07 +0000 (18:27 +0100)] 
DNETMAP: remove NF_CT_ASSERT use

The hooks are already checked by the xtables core (due to struct
xt_target::hooks).

7 years agoDNETMAP: fix write past end of buffer
Jan Engelhardt [Sun, 23 Jul 2017 18:01:46 +0000 (20:01 +0200)] 
DNETMAP: fix write past end of buffer

7 years agoxt_geoip: fix typo in error message
Philip Prindeville [Fri, 3 Nov 2017 03:14:00 +0000 (21:14 -0600)] 
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>
8 years agoDELUDE: fix PVSStudio reports
Jan Engelhardt [Sun, 23 Jul 2017 17:59:28 +0000 (19:59 +0200)] 
DELUDE: fix PVSStudio reports

V560 A part of conditional expression is always true: !oth->rst.

8 years agoipp2p: fix PVSStudio reports
Jan Engelhardt [Sun, 23 Jul 2017 17:56:30 +0000 (19:56 +0200)] 
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.

8 years agopknock: fix PVSStudio static analyzer reports
Jan Engelhardt [Sun, 23 Jul 2017 17:55:06 +0000 (19:55 +0200)] 
pknock: fix PVSStudio static analyzer reports

V595 The 'peer' pointer was utilized before it was verified against
nullptr.

8 years agoXtables-addons 2.13 v2.13
Jan Engelhardt [Thu, 29 Jun 2017 12:46:37 +0000 (14:46 +0200)] 
Xtables-addons 2.13

8 years agoxt_condition: namespace support #2
Grzegorz Kuczyński [Tue, 27 Jun 2017 05:43:26 +0000 (07:43 +0200)] 
xt_condition: namespace support #2

8 years agoxt_geoip: check for allocation overflow
Jan Engelhardt [Mon, 26 Jun 2017 20:02:35 +0000 (22:02 +0200)] 
xt_geoip: check for allocation overflow

8 years agocompat_xtables: use more accurate printf format for NIPQUAD
Jan Engelhardt [Thu, 15 Jun 2017 10:18:41 +0000 (12:18 +0200)] 
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.

8 years agoxt_DNETMAP: fix a buffer overflow
Jan Engelhardt [Thu, 15 Jun 2017 10:15:48 +0000 (12:15 +0200)] 
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)));

8 years agoxt_LOGMARK: resolve new gcc7 warnings
Jan Engelhardt [Thu, 15 Jun 2017 10:00:09 +0000 (12:00 +0200)] 
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++ ? "," : "");

8 years agobuild: support for Linux 4.12
Ralph Sennhauser [Sun, 14 May 2017 16:16:11 +0000 (18:16 +0200)] 
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>
8 years agoxt_condition: add support for namespaces
Grzegorz Kuczyński [Fri, 20 Jan 2017 11:28:52 +0000 (12:28 +0100)] 
xt_condition: add support for namespaces

8 years agoxt_psd: resolve compiler warning
Jan Engelhardt [Thu, 13 Apr 2017 09:37:44 +0000 (11:37 +0200)] 
xt_psd: resolve compiler warning

xt_psd.c:53:0: warning: "HASH_SIZE" redefined
 #define HASH_SIZE   (1 << HASH_LOG)
linux-4.10.10/include/linux/hashtable.h:26:0:
note: this is the location of the previous definition
 #define HASH_SIZE(name) (ARRAY_SIZE(name))

8 years agoXtables-addons 2.12 v2.12
Jan Engelhardt [Wed, 11 Jan 2017 00:39:53 +0000 (01:39 +0100)] 
Xtables-addons 2.12

8 years agobuild: mark Linux 4.10 as supported
Jan Engelhardt [Wed, 4 Jan 2017 01:44:43 +0000 (02:44 +0100)] 
build: mark Linux 4.10 as supported

8 years agobuild: support for Linux 4.10
Ralph Sennhauser [Mon, 26 Dec 2016 15:14:02 +0000 (16:14 +0100)] 
build: support for Linux 4.10

Commit 613dbd95723aee7abd16860745691b6c7bda20dc (netfilter:
x_tables: move hook state into xt_action_param structure) changes the
struct xt_action_param, accommodate for it.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>