]> git.ipfire.org Git - thirdparty/xtables-addons.git/log
thirdparty/xtables-addons.git
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 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>
8 years agobuild: support for Linux 4.9
Ralph Sennhauser [Mon, 26 Dec 2016 15:11:43 +0000 (16:11 +0100)] 
build: support for Linux 4.9

Commit f330a7fdbe1611104622faff7e614a246a7d20f0 (netfilter: conntrack:
get rid of conntrack timer) replaces timer_list with an u32, use helper
from commit c8607e020014cf11a61601a0005270bad81cabdf (netfilter: nft_ct:
fix expiration getter).

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
9 years agoXtables-addons 2.11 v2.11
Jan Engelhardt [Fri, 20 May 2016 12:32:05 +0000 (14:32 +0200)] 
Xtables-addons 2.11

9 years agoxt_ECHO: ensure IP header length is set
Jan Engelhardt [Fri, 20 May 2016 08:48:27 +0000 (10:48 +0200)] 
xt_ECHO: ensure IP header length is set

9 years agoxt_ECHO: handle fragments
Jan Engelhardt [Fri, 20 May 2016 08:48:00 +0000 (10:48 +0200)] 
xt_ECHO: handle fragments

Since everything is just echoed back verbatim without modification,
supporting fragments seems easy.

9 years agoxt_pknock: use shash crypto API
Your Name [Fri, 20 May 2016 08:46:31 +0000 (04:46 -0400)] 
xt_pknock: use shash crypto API

The old hash API is dropped as of Linux 4.6.
Only build tested.

9 years agoxt_pknock: replace nemesis by socat
Jan Engelhardt [Fri, 22 Apr 2016 20:50:42 +0000 (22:50 +0200)] 
xt_pknock: replace nemesis by socat

Use a utility much more widely available.

9 years agoxt_pknock: import digest generation utility
Jan Engelhardt [Fri, 22 Apr 2016 20:48:56 +0000 (22:48 +0200)] 
xt_pknock: import digest generation utility

9 years agoxt_pknock: remove reference to non-existing documentation
Jan Engelhardt [Fri, 22 Apr 2016 20:43:17 +0000 (22:43 +0200)] 
xt_pknock: remove reference to non-existing documentation

Even in the old pknock-0.5.tar.gz tarball, there is no doc/pknock/
directory.

9 years agoxt_SYSRQ: use new shash crypto API
Jan Engelhardt [Fri, 22 Apr 2016 09:11:57 +0000 (11:11 +0200)] 
xt_SYSRQ: use new shash crypto API

The "shash" API is not exactly new (Linux 2.6.27), but the "hash" API
was finally thrown out for Linux 4.6.

9 years agoxt_ACCOUNT: make it namespace aware
Andreas Schultz [Tue, 8 Dec 2015 17:41:33 +0000 (18:41 +0100)] 
xt_ACCOUNT: make it namespace aware

xt_ACCOUNTing objects create in one network namespace could be
read from all namespaces. Also object with the same name in
different namespaces would collide.

Signed-off-by: Andreas Schultz <aschultz@tpip.net>
9 years agobuild: fix configure compatiblity with POSIX shells
Matthias Schiffer [Sun, 3 Apr 2016 12:01:01 +0000 (14:01 +0200)] 
build: fix configure compatiblity with POSIX shells

The kernel version detection code uses some bashisms, which makes the
build fail on Debian systems where /bin/sh links to dash. Replace with
POSIX-conforming commands at the cost of requiring awk.

9 years agoXtables-addons 2.10 v2.10
Jan Engelhardt [Fri, 20 Nov 2015 22:30:33 +0000 (23:30 +0100)] 
Xtables-addons 2.10

9 years agobuild: silence compiler warning in xt_quota2
Jan Engelhardt [Fri, 20 Nov 2015 22:14:50 +0000 (23:14 +0100)] 
build: silence compiler warning in xt_quota2

xt_quota2.c:67:6: warning: unused variable "ret" [-Wunused-variable]

9 years agobuild: support for Linux 4.4
Jan Engelhardt [Fri, 20 Nov 2015 20:31:12 +0000 (21:31 +0100)] 
build: support for Linux 4.4

9 years agoxt_ACCOUNT: remove redundant braces
Jan Engelhardt [Mon, 9 Nov 2015 21:32:32 +0000 (22:32 +0100)] 
xt_ACCOUNT: remove redundant braces

For single-line statements, the {} are not strictly needed.

9 years agoxt_ACCOUNT: indent reduction
Jan Engelhardt [Mon, 9 Nov 2015 21:31:23 +0000 (22:31 +0100)] 
xt_ACCOUNT: indent reduction

Invert early terminating conditions so the rest of the block can be
de-indented.

9 years agoxt_ACCOUNT: call free_pages(x,2) (doc)
Jan Engelhardt [Mon, 9 Nov 2015 21:33:47 +0000 (22:33 +0100)] 
xt_ACCOUNT: call free_pages(x,2) (doc)

Below is the patch with the *rest* of the free_page(X) calls changed
to free_pages(X, 2). xt_ACCOUNT should always allocate memory in page
pairs. And always *free* memory in page pairs.

References: http://www.spinics.net/lists/netfilter-devel/msg39025.html

9 years agoxt_ACCOUNT: call free_pages(x,2)
Neil P. Murphy [Mon, 19 Oct 2015 05:34:54 +0000 (01:34 -0400)] 
xt_ACCOUNT: call free_pages(x,2)

Below is the patch with the *rest* of the free_page(X) calls changed
to free_pages(X, 2). xt_ACCOUNT should always allocate memory in page
pairs. And always *free* memory in page pairs.

References: http://www.spinics.net/lists/netfilter-devel/msg39025.html

9 years agoXtables-addons 2.9 v2.9
Jan Engelhardt [Mon, 12 Oct 2015 14:27:59 +0000 (16:27 +0200)] 
Xtables-addons 2.9

9 years agobuild: support for Linux 4.3
Jan Engelhardt [Mon, 12 Oct 2015 14:27:08 +0000 (16:27 +0200)] 
build: support for Linux 4.3

9 years agoxt_quota2: allow incremental value to be written to quota proc file
Sam Liddicott [Tue, 7 Jan 2014 17:48:19 +0000 (09:48 -0800)] 
xt_quota2: allow incremental value to be written to quota proc file

As well as writing absolute numeric values to the quota file, you
can now also write numbers preceded by a + sign or a - sign, e.g.

* "+30" would increase the quota by 30
* "+-20" would increase the quota by negative 20,
  which is the same as decrease by 20
* "-5" would decrease the quota by 5

9 years agoxt_DHCPMAC: correct L2addr set and compare
Boris Figovsky [Tue, 7 May 2013 03:33:03 +0000 (06:33 +0300)] 
xt_DHCPMAC: correct L2addr set and compare

9 years agoXtables-addons 2.8 v2.8
Jan Engelhardt [Wed, 19 Aug 2015 10:38:49 +0000 (12:38 +0200)] 
Xtables-addons 2.8

9 years agoxt_ECHO: enable for all supported versions
Jan Engelhardt [Wed, 19 Aug 2015 10:36:18 +0000 (12:36 +0200)] 
xt_ECHO: enable for all supported versions

Linux is now at 4.x.

9 years agobuild: support for Linux 4.2
Tim Gardner [Mon, 10 Aug 2015 15:25:20 +0000 (17:25 +0200)] 
build: support for Linux 4.2

xt_DNETMAP.c: In function "dnetmap_prefix_destroy":
xt_DNETMAP.c:185:2: error: implicit declaration of function
"remove_proc_entry" [-Werror=implicit-function-declaration]
  remove_proc_entry(p->proc_str_data, dnetmap_net->xt_dnetmap);

10 years agoXtables-addons 2.7 v2.7
Jan Engelhardt [Mon, 6 Jul 2015 03:55:42 +0000 (05:55 +0200)] 
Xtables-addons 2.7

10 years agodoc: remove old changelog entries
Jan Engelhardt [Mon, 6 Jul 2015 03:50:59 +0000 (05:50 +0200)] 
doc: remove old changelog entries

10 years agodoc: combine kernel version numbers
Jan Engelhardt [Mon, 6 Jul 2015 03:49:21 +0000 (05:49 +0200)] 
doc: combine kernel version numbers

10 years agoxt_TARPIT: support for Linux 4.1
Alexander Petrenas [Tue, 23 Jun 2015 10:44:50 +0000 (13:44 +0300)] 
xt_TARPIT: support for Linux 4.1

10 years agoxt_ACCOUNT: avoid implicit padding in struct ipt_acc_handle_ip
Jan Engelhardt [Fri, 5 Jun 2015 11:52:10 +0000 (13:52 +0200)] 
xt_ACCOUNT: avoid implicit padding in struct ipt_acc_handle_ip

Make the structure size so that an ILP32 environment has no problem
taking the raw bytes from an LP64 one.

10 years agoiptaccount: cast from uint64_t to please printf
Jan Engelhardt [Fri, 5 Jun 2015 11:50:37 +0000 (13:50 +0200)] 
iptaccount: cast from uint64_t to please printf

%llu wants an "unsigned long long", which is not necessarily
the same as uint64_t.

10 years agoxt_ACCOUNT: make counters 64-bit wide
Neal P. Murphy [Thu, 4 Jun 2015 22:04:42 +0000 (18:04 -0400)] 
xt_ACCOUNT: make counters 64-bit wide

The Smoothwall Express traffic stats collector (traffiClogger) does
not handle counter rollovers well and does not perform read&flush.
(Yes, the code is somewhat aged.) To change it to perform read&flush
is non-trivial. Then, it occurred to me that it might be easier to
change ipt_ACCOUNT in xtables-addons to use 64-bit counters,
considering it was designed around single kernel pages.

The following submission counts to at least 100 GB, produces no
obvious kernel gripes, and adjacent counters do not seem to interfere
with each other. Yes, it uses more memory, but RAM costs much less
than bugs that grown out of complex software.

The theory:

  - Use two kernel pages for the counters for each group of 256
    addresses.
  - Change counters to 64-bit.
  - Change to __get_free_pages/free_pages, using order=2
    (two consecutive pages), and zero both pages.
  - Change "%u" to "%llu" as needed.
  - Everything else pretty much stays the same.

I also changed tmpbuf to two pages (Justin Case's idea), but I
do not know if that's really necessary.

10 years agoXtables-addons 2.6 v2.6
Jan Engelhardt [Mon, 29 Sep 2014 08:33:13 +0000 (10:33 +0200)] 
Xtables-addons 2.6

10 years agobuild: explicitly support Linux 3.16, 3.17
Jan Engelhardt [Thu, 4 Sep 2014 16:50:35 +0000 (18:50 +0200)] 
build: explicitly support Linux 3.16, 3.17

10 years agoxt_pknock: fix pknock in UDP SPA mode
Adam Butcher [Wed, 3 Sep 2014 13:23:29 +0000 (13:23 +0000)] 
xt_pknock: fix pknock in UDP SPA mode

When the PK_CRYPTO pre-processor flag got removed in
v1.47.1-2-g66f213e, one of the removal cases was misapplied; the body
of an "#ifndef PK_CRYPTO" was left in rather than the whole section
being removed.

10 years agosrc: work with typeof
Adam Butcher [Wed, 3 Sep 2014 13:23:29 +0000 (13:23 +0000)] 
src: work with typeof

Although not officially supported, we have found that the
xtables-addons modules we are interested in work fine on 3.0.4 with a
slight non-invasive mod to compat_xtables.h.

11 years agoXtables-addons 2.5 v2.5
Jan Engelhardt [Fri, 18 Apr 2014 17:14:59 +0000 (19:14 +0200)] 
Xtables-addons 2.5

11 years agobuild: resolve compile error with Linux 3.15
Jan Engelhardt [Fri, 18 Apr 2014 17:12:51 +0000 (19:12 +0200)] 
build: resolve compile error with Linux 3.15

Commit v3.15-rc1~141^2~97 changed the signature for cn_netlink_send.

11 years agobuild: resolve compile error with Linux 3.13
Jan Engelhardt [Fri, 18 Apr 2014 17:06:59 +0000 (19:06 +0200)] 
build: resolve compile error with Linux 3.13

net_random has been removed in commit v3.14-rc1~94^2~191 and replaced
by its definition, prandom_u32.

prandom_u32 was only introduced in v3.8-rc1~74^2~22, so we will have
an extra ifdef for 3.7 support.

11 years agoxt_quota2: introduce support for network namespaces
Daniel Golle [Wed, 5 Mar 2014 11:07:56 +0000 (12:07 +0100)] 
xt_quota2: introduce support for network namespaces

Initialize a separate xt_quota2 instance for each network
namespace so data limit can be set and enforced per container.

11 years agodoc: add xt_quota2 changelog items
Jan Engelhardt [Sat, 18 Jan 2014 11:26:45 +0000 (12:26 +0100)] 
doc: add xt_quota2 changelog items

11 years agoXtables-addons 2.4 v2.4
Jan Engelhardt [Thu, 9 Jan 2014 09:37:52 +0000 (10:37 +0100)] 
Xtables-addons 2.4

11 years agobuild: support for Linux 3.13
Jan Engelhardt [Thu, 9 Jan 2014 09:25:40 +0000 (10:25 +0100)] 
build: support for Linux 3.13

11 years agocompat_xtables: remove no longer needed target API redirection
Jan Engelhardt [Thu, 9 Jan 2014 09:24:32 +0000 (10:24 +0100)] 
compat_xtables: remove no longer needed target API redirection

Function signature for targets stayed the same since 3.7.

11 years agocompat_xtables: remove unused compat_nfinetaddr.h header
Jan Engelhardt [Thu, 9 Jan 2014 09:19:48 +0000 (10:19 +0100)] 
compat_xtables: remove unused compat_nfinetaddr.h header

11 years agocompat_xtables: remove unused function declarations
Jan Engelhardt [Thu, 9 Jan 2014 09:19:00 +0000 (10:19 +0100)] 
compat_xtables: remove unused function declarations

11 years agocompat_xtables: remove unused ipt_unregister_table macro
Jan Engelhardt [Thu, 9 Jan 2014 09:16:42 +0000 (10:16 +0100)] 
compat_xtables: remove unused ipt_unregister_table macro

11 years agocompat_xtables: remove unused xtnu_ip_route_me_harder
Jan Engelhardt [Thu, 9 Jan 2014 09:16:02 +0000 (10:16 +0100)] 
compat_xtables: remove unused xtnu_ip_route_me_harder

11 years agocompat_xtables: remove unused xtnu_skb_make_writable
Jan Engelhardt [Thu, 9 Jan 2014 09:14:36 +0000 (10:14 +0100)] 
compat_xtables: remove unused xtnu_skb_make_writable

11 years agocompat_xtables: remove unused xtnu_request_find_match
Jan Engelhardt [Thu, 9 Jan 2014 09:09:04 +0000 (10:09 +0100)] 
compat_xtables: remove unused xtnu_request_find_match

The xt_find_match function is also getting unexported in 3.14.

11 years agoxt_quota2: remove trailing junk which might have a digit in it
Sam Liddicott [Tue, 7 Jan 2014 17:21:53 +0000 (09:21 -0800)] 
xt_quota2: remove trailing junk which might have a digit in it

Signed-off-by: Sam Liddicott <sam@liddicott.com>
11 years agoxt_quota2: fix 2 bugs when not in grow mode
Sam Liddicott [Tue, 7 Jan 2014 17:11:07 +0000 (09:11 -0800)] 
xt_quota2: fix 2 bugs when not in grow mode

1. XT_QUOTA_NO_CHANGE should not alter quota to zero ever
2. XT_QUOTA_PACKET should not be set to zero based on skb->len

Signed-off-by: Sam Liddicott <sam@liddicott.com>
11 years agoUpdate .gitignore
Jan Engelhardt [Thu, 9 Jan 2014 08:58:07 +0000 (09:58 +0100)] 
Update .gitignore

Looks like GCOV is enabled somewhere.

12 years agoextensions: remove RAWSNAT/RAWDNAT
Jan Engelhardt [Wed, 7 Aug 2013 13:42:56 +0000 (15:42 +0200)] 
extensions: remove RAWSNAT/RAWDNAT

12 years agoextensions: remove STEAL target
Jan Engelhardt [Wed, 7 Aug 2013 13:40:24 +0000 (15:40 +0200)] 
extensions: remove STEAL target

There is enough demo code in the "demos" branch.

12 years agobuild: skip calling depmod
Jan Engelhardt [Wed, 19 Jun 2013 04:09:34 +0000 (06:09 +0200)] 
build: skip calling depmod

Calling depmod is no longer needed. (Since sometime in the 2.6
series.)

12 years agoXtables-addons 2.3 v2.3
Jan Engelhardt [Tue, 18 Jun 2013 05:40:36 +0000 (07:40 +0200)] 
Xtables-addons 2.3

12 years agoxt_pknock: support for Linux 3.10
Jan Engelhardt [Wed, 12 Jun 2013 17:09:52 +0000 (19:09 +0200)] 
xt_pknock: support for Linux 3.10

12 years agoxt_quota2: support for Linux 3.10
Jan Engelhardt [Sat, 8 Jun 2013 13:09:43 +0000 (15:09 +0200)] 
xt_quota2: support for Linux 3.10

12 years agoxt_condition: support for Linux 3.10
Jan Engelhardt [Sat, 8 Jun 2013 13:09:43 +0000 (15:09 +0200)] 
xt_condition: support for Linux 3.10

12 years agoxt_DNETMAP: support for Linux 3.10
Jan Engelhardt [Fri, 7 Jun 2013 13:12:21 +0000 (15:12 +0200)] 
xt_DNETMAP: support for Linux 3.10

12 years agocompat_xtables: dissolve unusued rt_dst
Jan Engelhardt [Sat, 8 Jun 2013 13:27:34 +0000 (15:27 +0200)] 
compat_xtables: dissolve unusued rt_dst

12 years agoextensions: resolve compile error when CONFIG_UIDGID_STRICT_TYPE_CHECKS=y
Jan Engelhardt [Sat, 8 Jun 2013 13:09:43 +0000 (15:09 +0200)] 
extensions: resolve compile error when CONFIG_UIDGID_STRICT_TYPE_CHECKS=y

xt_DNETMAP.c: In function "dnetmap_tg_check":
xt_DNETMAP.c:331:16: error: incompatible types when assigning to
type "kuid_t" from type "unsigned int"
xt_DNETMAP.c:332:16: error: incompatible types when assigning to
type "kgid_t" from type "unsigned int"
xt_DNETMAP.c:344:16: error: incompatible types when assigning to
type "kuid_t" from type "unsigned int"
xt_DNETMAP.c:345:16: error: incompatible types when assigning to
type "kgid_t" from type "unsigned int"
xt_condition.c: In function "condition_mt_check":
xt_condition.c:158:24: error: incompatible types when assigning to
type "kuid_t" from type "unsigned int"
xt_condition.c:159:24: error: incompatible types when assigning to
type "kgid_t" from type "unsigned int"
xt_quota2.c: In function "q2_get_counter":
xt_quota2.c:134:18: error: incompatible types when assigning to type
"kuid_t" from type "unsigned int"
xt_quota2.c:135:18: error: incompatible types when assigning to type
"kgid_t" from type "unsigned int"

12 years agoscripts: avoid bashism in xt_geoip_dl
Dmitry Smirnov [Sat, 1 Jun 2013 12:55:52 +0000 (22:55 +1000)] 
scripts: avoid bashism in xt_geoip_dl

xt_geoip_dl is marked to use /bin/sh. As such, avoid bashisms.

12 years agobuild: only scan manpages in extensions/
Dmitry Smirnov [Sun, 2 Jun 2013 08:15:18 +0000 (18:15 +1000)] 
build: only scan manpages in extensions/

When using quilt to apply some patch to manpages, files named
libxt_*.man can appear within $srcdir/.pc which will be found by our
find(1) call. Limit the search to $srcdir/extensions to avoid this.

12 years agodoc: spelling and grammar corrections to DNETMAP
Jan Engelhardt [Sun, 2 Jun 2013 15:13:25 +0000 (17:13 +0200)] 
doc: spelling and grammar corrections to DNETMAP

12 years agodoc: replace apostrophes by proper situation-dependent puncutation
Jan Engelhardt [Sun, 2 Jun 2013 14:59:44 +0000 (16:59 +0200)] 
doc: replace apostrophes by proper situation-dependent puncutation

12 years agodoc: dissolve contractions
Jan Engelhardt [Sun, 2 Jun 2013 14:59:14 +0000 (16:59 +0200)] 
doc: dissolve contractions

12 years agodoc: more escapes for minuses
Jan Engelhardt [Sun, 2 Jun 2013 14:57:50 +0000 (16:57 +0200)] 
doc: more escapes for minuses

12 years agodoc: markup paragraphs
Jan Engelhardt [Sun, 2 Jun 2013 14:53:56 +0000 (16:53 +0200)] 
doc: markup paragraphs

12 years agodoc: lint man pages (hyphens and spelling)
Dmitry Smirnov [Sun, 2 Jun 2013 08:15:18 +0000 (18:15 +1000)] 
doc: lint man pages (hyphens and spelling)

* hyphen-used-as-minus-sign
* spelling-error-in-manpage

12 years agobuild: remove manpage files during `make clean`
Jan Engelhardt [Sun, 2 Jun 2013 14:48:56 +0000 (16:48 +0200)] 
build: remove manpage files during `make clean`

12 years agoextensions: make print (iptables -L) output the same as save (-S)
Jan Engelhardt [Thu, 30 May 2013 15:16:56 +0000 (17:16 +0200)] 
extensions: make print (iptables -L) output the same as save (-S)

12 years agoxt_quota2: print "!" at the correct position during iptables-save
Денис Устименко [Thu, 30 May 2013 13:37:58 +0000 (23:37 +1000)] 
xt_quota2: print "!" at the correct position during iptables-save

12 years agoxt_geoip: do not throw a warnings when country database is size 0
Jan Engelhardt [Thu, 30 May 2013 15:00:25 +0000 (17:00 +0200)] 
xt_geoip: do not throw a warnings when country database is size 0

12 years agoxt_RAWNAT: skb writable part might not include whole L4 header (IPv4 case)
Dmitry Popov [Sun, 5 May 2013 18:05:04 +0000 (20:05 +0200)] 
xt_RAWNAT: skb writable part might not include whole L4 header (IPv4 case)

Consider TCP/IPv4 packet with IP options: sizeof(*iph) + sizeof(struct
tcphdr) is not enough to include tcp checksum. It may hurt if this
packet is fragmented.

Therefore, we should use iph->ihl * 4 instead of sizeof(*iph).

Signed-off-by: Dmitry Popov <dp@highloadlab.com>
12 years agoXtables-addons 2.2 v2.2
Jan Engelhardt [Sun, 31 Mar 2013 19:14:37 +0000 (21:14 +0200)] 
Xtables-addons 2.2

12 years agoDELUDE: update comment about reentrancy
Jan Engelhardt [Wed, 20 Mar 2013 13:22:04 +0000 (14:22 +0100)] 
DELUDE: update comment about reentrancy

12 years agoiptaccount: fix being a no-op program
Jan Engelhardt [Tue, 19 Mar 2013 21:16:28 +0000 (22:16 +0100)] 
iptaccount: fix being a no-op program

A PPC system has been observed where "char" is unsigned; with that,
the getopt loop will never terminate because optchar != -1 could not
happen.

12 years agobuild: support for Linux 3.9
Jan Engelhardt [Thu, 7 Mar 2013 21:56:27 +0000 (22:56 +0100)] 
build: support for Linux 3.9

12 years agoXtables-addons 2.1 v2.1
Jan Engelhardt [Thu, 27 Dec 2012 07:01:00 +0000 (08:01 +0100)] 
Xtables-addons 2.1

12 years agobuild: support for Linux 3.8
Jan Engelhardt [Thu, 27 Dec 2012 06:59:34 +0000 (07:59 +0100)] 
build: support for Linux 3.8

12 years agoxt_DNETMAP: fix compile error with Linux 3.7
Jan Engelhardt [Fri, 21 Dec 2012 04:45:15 +0000 (05:45 +0100)] 
xt_DNETMAP: fix compile error with Linux 3.7

12 years agoXtables-addons 2.0 v2.0
Jan Engelhardt [Mon, 12 Nov 2012 18:03:51 +0000 (19:03 +0100)] 
Xtables-addons 2.0

I have been thinking quite a while when to drop support for old
versions. The changes in Linux kernel 3.7 in nf_nat prompted me to
make the cut here, to throw out most of the backwards-compatibility
code and start mostly blank. As future kernels will be released and
supported, no doubt will new code to work with those releases be
added.

If you run with an older kernel, continue to use the Xtables-addons
1.x series.

12 years agoMerge branch 'maint' into newage
Jan Engelhardt [Mon, 12 Nov 2012 18:01:31 +0000 (19:01 +0100)] 
Merge branch 'maint' into newage

12 years agoUpdate my email address
Jan Engelhardt [Mon, 12 Nov 2012 18:01:14 +0000 (19:01 +0100)] 
Update my email address

To ... none! Whatever is recent is in the git log.

12 years agobuild: remove support for Linux 3.6 / switch xt_DNETMAP to nf_nat
Jan Engelhardt [Mon, 15 Oct 2012 17:49:41 +0000 (19:49 +0200)] 
build: remove support for Linux 3.6 / switch xt_DNETMAP to nf_nat