]>
 
 
git.ipfire.org Git - thirdparty/xtables-addons.git/log 
 
 
 
 
 
 
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 
 
Jan Engelhardt  [Sat, 14 Jul 2012 00:17:38 +0000  (02:17  +0200)]  
 
geoip: remove outdated instructions in xt_geoip_build 
 
The manpage contains the authoritative description of options 
currently supported. 
 
Jan Engelhardt  [Tue, 10 Jul 2012 23:42:39 +0000  (01:42  +0200)]  
 
SYSRQ: fix double target initialization at module load 
 
Jan Engelhardt  [Mon, 9 Jul 2012 17:07:26 +0000  (19:07 +0200)]  
 
Merge branch 'tarpit6' 
 
Jan Engelhardt  [Mon, 9 Jul 2012 17:07:24 +0000  (19:07 +0200)]  
 
doc: changelog entry for IPv6 TARPIT 
 
Jan Engelhardt  [Mon, 9 Jul 2012 17:06:22 +0000  (19:06 +0200)]  
 
compat_xtables: avoid compile abort on <= 2.6.37 
 
Josh Hunt  [Sun, 8 Jul 2012 18:11:25 +0000  (11:11 -0700)]  
 
TARPIT: enable IPv6 userspace support 
 
Signed-off-by: Josh Hunt <johunt@akamai.com>  
Josh Hunt  [Mon, 9 Jul 2012 14:00:02 +0000  (07:00 -0700)]  
 
TARPIT: resolve build errors with newer kernels 
 
Adds fragment offset arg to ipv6_skip_exthdr() and also removes usage 
of ipv6_addr_copy() in favor or direct assignment. 
 
Signed-off-by: Josh Hunt <johunt@akamai.com>  
Jan Engelhardt  [Mon, 9 Jul 2012 16:54:22 +0000  (18:54 +0200)]  
 
compat_xtables: add xtnu_ipv6_skip_exthdr 
 
Josh Hunt  [Sun, 8 Jul 2012 18:11:24 +0000  (11:11 -0700)]  
 
TARPIT: add IPv6 support 
 
This adds IPv6 support for the tarpit target. It performs the same 
functionality as the v4 version, but with IPv6 connections. 
 
Signed-off-by: Josh Hunt <johunt@akamai.com>  
Josh Hunt  [Sun, 8 Jul 2012 18:11:23 +0000  (11:11 -0700)]  
 
TARPIT: make tarpit code generic 
 
Creates a generic function to perform the tcp header manipulation in. 
Done in preparation for IPv6 support. This allows us to share code 
between v4 and v6 processing. 
 
Signed-off-by: Josh Hunt <johunt@akamai.com>  
Josh Hunt  [Sun, 8 Jul 2012 18:11:22 +0000  (11:11 -0700)]  
 
TARPIT: move XTTARPIT_RESET to its own function 
 
Moves XTTARPIT_RESET into its own function. 
 
Signed-off-by: Josh Hunt <johunt@akamai.com>  
Josh Hunt  [Sun, 8 Jul 2012 18:11:21 +0000  (11:11 -0700)]  
 
TARPIT: move XTTARPIT_HONEYPOT mode into its own function 
 
Moves XTTARPIT_HONEYPOT into its own function. 
 
Signed-off-by: Josh Hunt <johunt@akamai.com>  
Josh Hunt  [Sun, 8 Jul 2012 18:11:20 +0000  (11:11 -0700)]  
 
TARPIT: move XTTARPIT_TARPIT mode processing to its own function 
 
Moves the XTTARPIT_TARPIT mode processing to its own function. 
 
Signed-off-by: Josh Hunt <johunt@akamai.com>  
Jan Engelhardt  [Sun, 8 Jul 2012 18:50:54 +0000  (20:50 +0200)]  
 
TARPIT: mark oldtcphdr const 
 
Kevin Locke  [Tue, 3 Jul 2012 18:33:45 +0000  (12:33 -0600)]  
 
build: include <net/ip6_checksum.h> for csum_ipv6_magic 
 
xt_ECHO fails to build on PPC because csum_ipv6_magic is declared in 
<net/ip6_checksum.h>, which is not implicitly included from other 
headers on PPC causing build failures due to this function being 
undefined. So, include this header explicitly. 
 
Note:  Same cause as <http://bugzilla.netfilter.org/show_bug.cgi?id=307>. 
 
Jan Engelhardt  [Sat, 30 Jun 2012 16:39:40 +0000  (18:39 +0200)]  
 
Xtables-addons 1.43 
 
Jan Engelhardt  [Sat, 30 Jun 2012 16:38:49 +0000  (18:38 +0200)]  
 
build: support for Linux 3.5 
 
Jan Engelhardt  [Sat, 30 Jun 2012 13:44:13 +0000  (15:44 +0200)]  
 
build: do not fail if AM_PROG_AR is not known 
 
Jan Engelhardt  [Thu, 21 Jun 2012 17:13:13 +0000  (19:13 +0200)]  
 
build: remove empty warning message 
 
Jan Engelhardt  [Fri, 15 Jun 2012 13:48:03 +0000  (15:48 +0200)]  
 
build: add missing include for xt_DNETMAP 
 
xt_DNETMAP.c: In function 'dnetmap_tg_proc_write': 
xt_DNETMAP.c:703:3: error: implicit declaration of function 'in4_pton' 
[-Werror=implicit-function-declaration] 
 
Jan Engelhardt  [Fri, 15 Jun 2012 13:24:29 +0000  (15:24 +0200)]  
 
build: automake 1.12 wants me to use AM_PROG_AR 
 
Jan Engelhardt  [Fri, 15 Jun 2012 13:18:42 +0000  (15:18 +0200)]  
 
Merge branch 'psd_cleanups' of git://git.breakpoint.cc/fw/xtables-addons 
 
Florian Westphal  [Thu, 14 Jun 2012 08:53:15 +0000  (10:53 +0200)]  
 
psd: move defines to user/kernelspace part where possible 
 
Some of these defines have no meaning in userspace, so there 
is no need to make those available. 
 
Florian Westphal  [Thu, 14 Jun 2012 08:33:15 +0000  (10:33 +0200)]  
 
psd: reduce size of struct host 
 
We can use u16, saving 8 bytes total (weight cannot exceed 
PSD_MAX_RATE, 10000). Also re-format comments & struct initializers. 
 
No functional changes. 
 
Jan Engelhardt  [Fri, 15 Jun 2012 13:14:32 +0000  (15:14 +0200)]  
 
psd: re-format comments 
 
Florian Westphal  [Sat, 2 Jun 2012 19:13:58 +0000  (21:13 +0200)]  
 
psd: add basic validation of userspace matchinfo data 
 
psd multiplies weight_thresh by HZ, so it could overflow. 
 
Userspace libxt_psd refuses values exceeding PSD_MAX_RATE, so check 
that on kernel side, too. 
 
Also, setting 0 weight for both privileged and highports will cause 
psd to never match at all. 
 
Reject 0 weight threshold, too because it makes no sense (triggers 
match for every initial packet). 
 
Florian Westphal  [Fri, 1 Jun 2012 20:45:49 +0000  (22:45 +0200)]  
 
psd: rip out scanlogd leftovers 
 
scanlogd remembers tcp flags and uses the *_CHANGING values in its 
logger function to determine the best log format to use (e.g. TTL is 
not logged if HF_TTL_CHANGING was set, as TTL values were different). 
 
As psd does not log at all, we do not need track this. 
 
Also get rid of bogus/misleading comments. 
 
Jan Engelhardt  [Sun, 10 Jun 2012 20:31:10 +0000  (22:31 +0200)]  
 
all: remove trailing squatspaces 
 
Marek Kierdelewicz  [Sun, 10 Jun 2012 10:35:56 +0000  (12:35 +0200)]  
 
DNETMAP version 2 
 
- new type: static binding 
- new persistent flag option for prefix 
- add extra information in /proc/net/xt_DNETMAP/prefix_stat that 
  includes the count of static bindings and persistent flag 
- add proc interface write support (add/del/flush binding) 
- updated manual 
 
Jan Engelhardt  [Sat, 21 Apr 2012 00:45:10 +0000  (02:45  +0200)]  
 
build: update installation requirements 
 
Versions prior to 2.6.32 are not tested anymore due to make 3.82 being 
troubled with an old ambiguous Makefile syntax. 
 
Jan Engelhardt  [Sat, 21 Apr 2012 00:44:51 +0000  (02:44  +0200)]  
 
build: limit xt_ECHO to kernel 3.x 
 
(Would also work on 2.6.39, but eh.) 
 
Florian Westphal  [Wed, 18 Apr 2012 12:13:28 +0000  (14:13 +0200)]  
 
xt_psd: avoid crash due to curr->next corruption 
 
curr->ports[] is of size SCAN_MAX_COUNT - 1, so under certain 
conditions we wrote past end of array, corrupting ->next pointer 
of the adjacent host entry. 
 
Reported-and-tested-by: Serge Leschinsky <serge.leschinsky@gmail.com>  
Jan Engelhardt  [Thu, 5 Apr 2012 02:59:03 +0000  (04:59  +0200)]  
 
Xtables-addons 1.42 
 
Jan Engelhardt  [Thu, 5 Apr 2012 02:49:58 +0000  (04:49  +0200)]  
 
src: remove ipset6-genl 
 
As scheduled, perform the removal of ipset from the tree. 
 
Jan Engelhardt  [Thu, 5 Apr 2012 02:44:19 +0000  (04:44  +0200)]  
 
build: support for Linux 3.4 
 
Jan Engelhardt  [Thu, 5 Apr 2012 02:40:42 +0000  (04:40  +0200)]  
 
build: enable xt_ECHO by default 
 
Jan Engelhardt  [Thu, 5 Apr 2012 02:39:25 +0000  (04:39  +0200)]  
 
build: support for Linux 3.3 
 
Jan Engelhardt  [Wed, 14 Mar 2012 00:31:48 +0000  (01:31  +0100)]  
 
Remove unused Kconfig files 
 
Jan Engelhardt  [Fri, 20 Jan 2012 20:19:13 +0000  (21:19 +0100)]  
 
xt_SYSRQ: fix compile error when crypto is turned off 
 
Jan Engelhardt  [Thu, 12 Jan 2012 08:21:39 +0000  (09:21 +0100)]  
 
compat_xtables: fixed mistranslation of checkentry return values 
 
Jan Engelhardt  [Wed, 4 Jan 2012 20:35:05 +0000  (21:35 +0100)]  
 
Xtables-addons 1.41 
 
Jan Engelhardt  [Wed, 4 Jan 2012 20:43:05 +0000  (21:43 +0100)]  
 
build: stash away build tools and update .gitignore 
 
Jan Engelhardt  [Wed, 4 Jan 2012 20:34:52 +0000  (21:34 +0100)]  
 
build: additional compilation fixes for Linux 3.2/3.3 
 
Jan Engelhardt  [Sat, 31 Dec 2011 02:06:56 +0000  (03:06  +0100)]  
 
doc: document --without-kbuild 
 
References: http://comments.gmane.org/gmane.comp.security.firewalls.netfilter.general/42337 
 
Jan Engelhardt  [Sat, 31 Dec 2011 02:05:21 +0000  (03:05  +0100)]  
 
doc: update README/INSTALL with recent changes 
 
Jan Engelhardt  [Sat, 31 Dec 2011 01:17:30 +0000  (02:17  +0100)]  
 
build: deactivate build of ipset-genl by default 
 
Jan Engelhardt  [Sat, 31 Dec 2011 01:15:45 +0000  (02:15  +0100)]  
 
build: support for Linux 3.2 
 
Jan Engelhardt  [Wed, 30 Nov 2011 10:34:40 +0000  (11:34 +0100)]  
 
Xtables-addons 1.40 
 
Jan Engelhardt  [Wed, 30 Nov 2011 10:40:16 +0000  (11:40 +0100)]  
 
xt_quota2: license clarification 
 
GPL3 did not exist back when Sam's xt_quota was written, therefore it 
should be assumed that MODULE_LICENSE("GPL") intended to mean just 
GPL2. 
 
Jan Engelhardt  [Wed, 30 Nov 2011 10:14:29 +0000  (11:14 +0100)]  
 
ipset: update to 6.10-genl 
 
Jan Engelhardt  [Sun, 6 Nov 2011 13:45:44 +0000  (14:45 +0100)]  
 
build: notify of unsupported Linux kernel versions 
 
make 3.82 does not like mixing normal rules with implicit rules, 
which rejects Makefiles of Linux kernels before 2.6.32 series. 
 
Eivind Naess  [Thu, 3 Nov 2011 16:28:46 +0000  (09:28 -0700)]  
 
xt_ipv4options: fix an infinite loop 
 
Jan Engelhardt  [Fri, 4 Nov 2011 19:08:04 +0000  (20:08 +0100)]  
 
Merge remote branch 'origin/master' 
 
Jan Engelhardt  [Tue, 1 Nov 2011 23:26:23 +0000  (00:26  +0100)]  
 
src: use xtables_register_targets throughout 
 
Jan Engelhardt  [Tue, 1 Nov 2011 23:17:54 +0000  (00:17  +0100)]  
 
build: iptables >= 1.4.5 is in fact required 
 
Jan Engelhardt  [Sun, 25 Sep 2011 12:57:48 +0000  (14:57 +0200)]  
 
xt_ECHO: IPv6 support 
 
Jan Engelhardt  [Sun, 25 Sep 2011 12:20:07 +0000  (14:20 +0200)]  
 
xt_ECHO: calculate UDP checksum 
 
Jan Engelhardt  [Sat, 24 Sep 2011 21:18:33 +0000  (23:18 +0200)]  
 
xt_ECHO: fix kernel warning about RTAX_HOPLIMIT being used 
 
Jan Engelhardt  [Sat, 24 Sep 2011 21:16:58 +0000  (23:16 +0200)]  
 
xt_ECHO: misc backports from ipt_REJECT and cosmetics 
 
Jan Engelhardt  [Wed, 21 Sep 2011 17:59:41 +0000  (19:59 +0200)]  
 
Xtables-addons 1.39 
 
Jan Engelhardt  [Wed, 21 Sep 2011 17:58:05 +0000  (19:58 +0200)]  
 
ipset: update to 6.9.1-genl 
 
Jan Engelhardt  [Sun, 28 Aug 2011 17:45:39 +0000  (19:45 +0200)]  
 
build: add missing linux/version.h includes where needed
Reported-by: Sergei Zhirikov <sfzhi@yahoo.com> 
References: http://marc.info/?l=netfilter-devel&m=
131404939007827 &w=2
 
Jan Engelhardt  [Sun, 28 Aug 2011 17:45:24 +0000  (19:45 +0200)]  
 
doc: update changelog 
 
Arkadiusz Miskiewicz  [Fri, 26 Aug 2011 11:25:09 +0000  (13:25 +0200)]  
 
ipset: move ipset_errcode from src to library to avoid undefined reference
Unresolved symbols found in: /home/users/arekm/tmp/
xtables-addons-1.38-root-arekm/usr/lib64/libipset.so.1.0.0
        ipset_errcode
References: http://marc.info/?l=netfilter-devel&m=
131435791514602 &w=2
 
Frank Reppin  [Sun, 7 Aug 2011 23:03:58 +0000  (01:03  +0200)]  
 
build: fix compilation after missing libxtables_CFLAGS in submodules 
 
Jan Engelhardt  [Sat, 20 Aug 2011 18:30:03 +0000  (20:30 +0200)]  
 
ipset-4: remove unsupported version from the VCS 
 
Jan Engelhardt  [Sat, 20 Aug 2011 15:02:31 +0000  (17:02 +0200)]  
 
Xtables-addons 1.38 
 
Jan Engelhardt  [Sat, 20 Aug 2011 14:50:41 +0000  (16:50 +0200)]  
 
ipset-6: unambiguouize reported name 
 
Jan Engelhardt  [Sat, 20 Aug 2011 14:47:40 +0000  (16:47 +0200)]  
 
build: disable ipset-4 by default 
 
This is no longer supported by upstream. 
 
Jan Engelhardt  [Sat, 20 Aug 2011 14:45:58 +0000  (16:45 +0200)]  
 
ipset: fix compile error due to changed function signature with Linux 3.1 
 
Jan Engelhardt  [Fri, 12 Aug 2011 13:45:03 +0000  (15:45 +0200)]  
 
xt_ipp2p: support UDPLITE