]>
git.ipfire.org Git - thirdparty/xtables-addons.git/log
Jan Engelhardt [Thu, 9 Jan 2014 09:19:00 +0000 (10:19 +0100)]
compat_xtables: remove unused function declarations
Jan Engelhardt [Thu, 9 Jan 2014 09:16:42 +0000 (10:16 +0100)]
compat_xtables: remove unused ipt_unregister_table macro
Jan Engelhardt [Thu, 9 Jan 2014 09:16:02 +0000 (10:16 +0100)]
compat_xtables: remove unused xtnu_ip_route_me_harder
Jan Engelhardt [Thu, 9 Jan 2014 09:14:36 +0000 (10:14 +0100)]
compat_xtables: remove unused xtnu_skb_make_writable
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.
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>
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>
Jan Engelhardt [Thu, 9 Jan 2014 08:58:07 +0000 (09:58 +0100)]
Update .gitignore
Looks like GCOV is enabled somewhere.
Jan Engelhardt [Wed, 7 Aug 2013 13:42:56 +0000 (15:42 +0200)]
extensions: remove RAWSNAT/RAWDNAT
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.
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.)
Jan Engelhardt [Tue, 18 Jun 2013 05:40:36 +0000 (07:40 +0200)]
Xtables-addons 2.3
Jan Engelhardt [Wed, 12 Jun 2013 17:09:52 +0000 (19:09 +0200)]
xt_pknock: 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
Jan Engelhardt [Sat, 8 Jun 2013 13:09:43 +0000 (15:09 +0200)]
xt_condition: 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
Jan Engelhardt [Sat, 8 Jun 2013 13:27:34 +0000 (15:27 +0200)]
compat_xtables: dissolve unusued rt_dst
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"
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.
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.
Jan Engelhardt [Sun, 2 Jun 2013 15:13:25 +0000 (17:13 +0200)]
doc: spelling and grammar corrections to DNETMAP
Jan Engelhardt [Sun, 2 Jun 2013 14:59:44 +0000 (16:59 +0200)]
doc: replace apostrophes by proper situation-dependent puncutation
Jan Engelhardt [Sun, 2 Jun 2013 14:59:14 +0000 (16:59 +0200)]
doc: dissolve contractions
Jan Engelhardt [Sun, 2 Jun 2013 14:57:50 +0000 (16:57 +0200)]
doc: more escapes for minuses
Jan Engelhardt [Sun, 2 Jun 2013 14:53:56 +0000 (16:53 +0200)]
doc: markup paragraphs
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
Jan Engelhardt [Sun, 2 Jun 2013 14:48:56 +0000 (16:48 +0200)]
build: remove manpage files during `make clean`
Jan Engelhardt [Thu, 30 May 2013 15:16:56 +0000 (17:16 +0200)]
extensions: make print (iptables -L) output the same as save (-S)
Денис Устименко [Thu, 30 May 2013 13:37:58 +0000 (23:37 +1000)]
xt_quota2: print "!" at the correct position during iptables-save
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
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>
Jan Engelhardt [Sun, 31 Mar 2013 19:14:37 +0000 (21:14 +0200)]
Xtables-addons 2.2
Jan Engelhardt [Wed, 20 Mar 2013 13:22:04 +0000 (14:22 +0100)]
DELUDE: update comment about reentrancy
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.
Jan Engelhardt [Thu, 7 Mar 2013 21:56:27 +0000 (22:56 +0100)]
build: support for Linux 3.9
Jan Engelhardt [Thu, 27 Dec 2012 07:01:00 +0000 (08:01 +0100)]
Xtables-addons 2.1
Jan Engelhardt [Thu, 27 Dec 2012 06:59:34 +0000 (07:59 +0100)]
build: support for Linux 3.8
Jan Engelhardt [Fri, 21 Dec 2012 04:45:15 +0000 (05:45 +0100)]
xt_DNETMAP: fix compile error with Linux 3.7
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.
Jan Engelhardt [Mon, 12 Nov 2012 18:01:31 +0000 (19:01 +0100)]
Merge branch 'maint' into newage
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.
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
Jan Engelhardt [Tue, 16 Oct 2012 02:14:45 +0000 (04:14 +0200)]
build: remove support for Linux 3.5
Jan Engelhardt [Tue, 16 Oct 2012 02:05:38 +0000 (04:05 +0200)]
build: remove support for Linux 3.4
Jan Engelhardt [Tue, 16 Oct 2012 02:03:50 +0000 (04:03 +0200)]
build: remove support for Linux 3.3
Jan Engelhardt [Tue, 16 Oct 2012 02:02:31 +0000 (04:02 +0200)]
build: remove support for Linux 3.2
Jan Engelhardt [Tue, 16 Oct 2012 02:00:02 +0000 (04:00 +0200)]
build: remove support for Linux 3.1
Jan Engelhardt [Tue, 16 Oct 2012 01:21:01 +0000 (03:21 +0200)]
build: remove support for Linux 3.0
Jan Engelhardt [Tue, 16 Oct 2012 01:10:56 +0000 (03:10 +0200)]
build: remove support for Linux 2.6.39
Jan Engelhardt [Tue, 16 Oct 2012 01:03:37 +0000 (03:03 +0200)]
build: remove support for Linux 2.6.38
Jan Engelhardt [Tue, 16 Oct 2012 01:01:13 +0000 (03:01 +0200)]
build: remove support for Linux 2.6.37
Jan Engelhardt [Tue, 16 Oct 2012 00:42:28 +0000 (02:42 +0200)]
build: remove support for Linux 2.6.36
Jan Engelhardt [Tue, 16 Oct 2012 00:35:17 +0000 (02:35 +0200)]
xt_CHECKSUM: remove the module
This is available in upstream Linux 2.6.36+.
Jan Engelhardt [Tue, 16 Oct 2012 00:29:27 +0000 (02:29 +0200)]
build: remove support for Linux 2.6.35
Jan Engelhardt [Tue, 16 Oct 2012 00:27:58 +0000 (02:27 +0200)]
xt_TEE: remove the module
This is available in upstream Linux 2.6.35+.
Jan Engelhardt [Tue, 16 Oct 2012 00:12:05 +0000 (02:12 +0200)]
build: remove support for Linux 2.6.34
Jan Engelhardt [Mon, 15 Oct 2012 22:52:56 +0000 (00:52 +0200)]
build: remove support for Linux 2.6.33
Jan Engelhardt [Mon, 15 Oct 2012 22:41:39 +0000 (00:41 +0200)]
build: remove support for Linux 2.6.32
Jan Engelhardt [Mon, 15 Oct 2012 22:39:56 +0000 (00:39 +0200)]
build: remove support for Linux 2.6.31
Jan Engelhardt [Mon, 15 Oct 2012 22:38:13 +0000 (00:38 +0200)]
build: remove support for Linux 2.6.30
Jan Engelhardt [Mon, 15 Oct 2012 22:37:09 +0000 (00:37 +0200)]
build: remove support for Linux 2.6.29
Jan Engelhardt [Mon, 15 Oct 2012 22:35:51 +0000 (00:35 +0200)]
build: remove support for Linux 2.6.28
Jan Engelhardt [Mon, 15 Oct 2012 22:32:05 +0000 (00:32 +0200)]
build: remove support for Linux 2.6.27
Jan Engelhardt [Mon, 15 Oct 2012 22:30:01 +0000 (00:30 +0200)]
build: remove support for Linux 2.6.26
Jan Engelhardt [Mon, 15 Oct 2012 22:27:28 +0000 (00:27 +0200)]
build: remove support for Linux 2.6.25
Jan Engelhardt [Mon, 15 Oct 2012 22:21:04 +0000 (00:21 +0200)]
build: remove support for Linux 2.6.24
Jan Engelhardt [Mon, 15 Oct 2012 21:55:30 +0000 (23:55 +0200)]
build: remove support for Linux 2.6.23
Jan Engelhardt [Mon, 15 Oct 2012 21:28:03 +0000 (23:28 +0200)]
build: remove support for Linux 2.6.22
Jan Engelhardt [Mon, 15 Oct 2012 21:25:58 +0000 (23:25 +0200)]
build: remove support for Linux 2.6.21
Jan Engelhardt [Mon, 15 Oct 2012 21:24:07 +0000 (23:24 +0200)]
build: remove support for Linux 2.6.20
Jan Engelhardt [Mon, 15 Oct 2012 21:21:18 +0000 (23:21 +0200)]
build: remove support for Linux 2.6.19
Jan Engelhardt [Mon, 15 Oct 2012 18:51:19 +0000 (20:51 +0200)]
build: remove support for Linux 2.6.18
Jan Engelhardt [Mon, 15 Oct 2012 18:37:54 +0000 (20:37 +0200)]
build: remove support for Linux 2.6.17
Jan Engelhardt [Mon, 15 Oct 2012 19:29:22 +0000 (21:29 +0200)]
Xtables-addons 1.47.1
Jan Engelhardt [Mon, 15 Oct 2012 19:15:25 +0000 (21:15 +0200)]
build: resolve compiler error
extensions/xt_psd.c:141:2: error: implicit declaration of function
'vmalloc' [-Werror=implicit-function-declaration]
Jan Engelhardt [Mon, 15 Oct 2012 18:03:02 +0000 (20:03 +0200)]
Xtables-addons 1.47
Jan Engelhardt [Mon, 15 Oct 2012 18:02:20 +0000 (20:02 +0200)]
xt_psd: replace vzalloc by vmalloc+memset
The lower support boundary is currently 2.6.32, but vzalloc is only
available since 2.6.37.
Jan Engelhardt [Tue, 18 Sep 2012 05:33:00 +0000 (07:33 +0200)]
Merge branch 'psd'
Florian Westphal [Fri, 17 Aug 2012 14:32:35 +0000 (16:32 +0200)]
xt_psd: add IPv6 support
Because most users will probably only use IPv4 psd, allocate most of the
state6 storage when the first IPv6 psd rule is added, and not at module
load time via .bss.
Florian Westphal [Fri, 17 Aug 2012 12:31:57 +0000 (14:31 +0200)]
xt_psd: move IPv4 state locking responsibility to caller
The former psd_match function is now < 72 lines.
Florian Westphal [Fri, 17 Aug 2012 12:21:04 +0000 (14:21 +0200)]
xt_psd: move L4 header fetching into helper
Also start splitting psd_match into two functions, one to do initial
sanity checking and header retrieval, one to do the actual work.
Florian Westphal [Fri, 17 Aug 2012 12:01:50 +0000 (14:01 +0200)]
xt_psd: use tcph->dest directly
This allows us to move more code away from the main match function.
Florian Westphal [Thu, 16 Aug 2012 12:39:25 +0000 (14:39 +0200)]
xt_psd: move table cleanup into helper
Florian Westphal [Thu, 16 Aug 2012 11:46:10 +0000 (13:46 +0200)]
xt_psd: split struct host into generic and AF-dependent structure
Florian Westphal [Thu, 16 Aug 2012 11:59:41 +0000 (13:59 +0200)]
xt_psd: remove unneeded variables, make hash unsigned
- dest port and dest address were only written, never read
- struct inaddr isn't needed either, just look at iph->saddr
Florian Westphal [Thu, 16 Aug 2012 11:05:05 +0000 (13:05 +0200)]
xt_psd: move match functionality to helpers
Reduce line count and to allow code reuse when IPv6 support will be
introduced.
Florian Westphal [Thu, 16 Aug 2012 10:01:09 +0000 (12:01 +0200)]
xt_psd: avoid if (c=h) do {..} while (c = c->next)
It is aquivalent to c=h; while (c) { ..; c = c->next; }
which is a bit easier to read.
Florian Westphal [Thu, 14 Jun 2012 10:16:05 +0000 (12:16 +0200)]
xt_psd: move parts of main match function to helpers
The match function is way too large, start to split this into smaller
chunks.
Florian Westphal [Fri, 1 Jun 2012 12:20:42 +0000 (14:20 +0200)]
xt_psd: consider protocol when searching port list
If we saw a TCP packet on port X, and we receive a UDP packet from the
same host to port X, we counted this as "port X", and did not see this
as a new packet.
Change compare to also consider protocol number and move it to a helper
to de-bloat the overlay large match function.
This change makes psd more aggressive with mixed TCP/UDP traffic.
Jan Engelhardt [Thu, 23 Aug 2012 13:51:54 +0000 (15:51 +0200)]
Xtables-addons 1.46
Jan Engelhardt [Thu, 23 Aug 2012 13:11:43 +0000 (15:11 +0200)]
doc: update xt_SYSRQ.man to reflect that the full IPv6 address is needed
xt_SYSRQ uses NIP6_FMT, so requires the expanded form for the digest.
Reported-by: Jan Krcmar <honza801@gmail.com>
Arif Hossain [Thu, 2 Aug 2012 15:35:55 +0000 (17:35 +0200)]
build: remove extraneous closing bracket in configure.ac
Now autogen.sh will work without complaints.
Josh Hunt [Wed, 1 Aug 2012 22:07:42 +0000 (00:07 +0200)]
TARPIT: fix memory leak when tarpit_generic() fails
Currently tarpit_generic() just returns on failure, but this does not
free nskb.
Signed-off-by: Josh Hunt <johunt@akamai.com>
Florian Westphal [Fri, 20 Jul 2012 15:28:38 +0000 (17:28 +0200)]
extensions: fix ipv6_find_hdr upstream change fallout
Upstream commit v3.5-rc1~109^2~138^2~4 ("netfilter: ip6_tables: add
flags parameter to ipv6_find_hdr()") changed the offset parameter of
ipv6_find_hdr() to be an input-output value. Moreover, if it is
non-zero, it MUST point to a valid IPv6 header embedded in the
packet.
Jan Engelhardt [Mon, 16 Jul 2012 03:39:32 +0000 (05:39 +0200)]
Xtables-addons 1.45
Jan Engelhardt [Mon, 16 Jul 2012 03:36:41 +0000 (05:36 +0200)]
build: avoid use of unexported functions
Fixes: "WARNING 'ipv6_find_hdr' [xt_TARPIT.ko] not found" in
<= linux-2.6.37.
Jan Engelhardt [Mon, 16 Jul 2012 03:11:16 +0000 (05:11 +0200)]
fix: "WARNING 'xtnu_ipv6_find_hdr' [.ko] not found"
Jan Engelhardt [Sun, 15 Jul 2012 11:58:51 +0000 (13:58 +0200)]
Xtables-addons 1.44
Jan Engelhardt [Sat, 14 Jul 2012 21:19:16 +0000 (23:19 +0200)]
build: do not attempt to build IPv6 parts if CONFIG_IP6_NF_IPTABLES=n
Checking for IPV6 is not sufficient, use IP6_NF_IPTABLES instead.
Jan Engelhardt [Sat, 14 Jul 2012 20:55:39 +0000 (22:55 +0200)]
build: do not attempt to build IPv6 parts if CONFIG_IPV6=n