]>
git.ipfire.org Git - thirdparty/xtables-addons.git/log
Jan Engelhardt [Wed, 2 Feb 2011 01:01:28 +0000 (02:01 +0100)]
xt_geoip: IPv6 support
Jan Engelhardt [Wed, 2 Feb 2011 00:56:38 +0000 (01:56 +0100)]
xt_geoip: v4/v6 name preparations
Jan Engelhardt [Wed, 2 Feb 2011 00:52:26 +0000 (01:52 +0100)]
xt_geoip: cleanups, preparations for IPv6 geoip
Jan Engelhardt [Thu, 27 Jan 2011 02:05:30 +0000 (03:05 +0100)]
geoipdb builder: get rid of some global variables
Jan Engelhardt [Thu, 27 Jan 2011 01:55:10 +0000 (02:55 +0100)]
geoipdb builder: separate into functions
Jan Engelhardt [Tue, 4 Jan 2011 02:49:44 +0000 (03:49 +0100)]
geoipdb tools: IPv6 support
Jan Engelhardt [Sat, 18 Dec 2010 23:30:10 +0000 (00:30 +0100)]
geoip: put IPv4 geoip data into its own map
Jan Engelhardt [Fri, 17 Dec 2010 21:47:01 +0000 (22:47 +0100)]
geoip: remove -b option, always build both endianesses
Jan Engelhardt [Fri, 17 Dec 2010 21:41:08 +0000 (22:41 +0100)]
geoip: remove %names map
Jan Engelhardt [Fri, 17 Dec 2010 21:28:50 +0000 (22:28 +0100)]
geoip: add manpages to utility programs
Jan Engelhardt [Fri, 17 Dec 2010 21:08:15 +0000 (22:08 +0100)]
geoip: prefix tools with xt_
This is preferable to have when manpages go into system locations.
Jan Engelhardt [Sat, 11 Dec 2010 17:21:21 +0000 (18:21 +0100)]
build: restore compilation of ipset, add missing CFLAGS
ipset_iphash.c: In function "iphash_create_init":
ipset_iphash.c:42: error: "IP_NF_SET_HASHSIZE" undeclared (first use
in this function)
Jan Engelhardt [Sat, 11 Dec 2010 17:20:13 +0000 (18:20 +0100)]
build: pass down AM_CFLAGS to sub-makes
Honor ipset/Makefile.am's AM_CFLAGS when compiling extensions.
Jan Engelhardt [Sat, 11 Dec 2010 02:36:46 +0000 (03:36 +0100)]
build: stop on error in subcommand
make only evaluates $? of an entire shell invocation. As such, if any
command in the chain can fail, $? needs to be thrown, and early so.
Jan Engelhardt [Sat, 11 Dec 2010 00:50:29 +0000 (01:50 +0100)]
gradm: fix compile error - add missing include
Hooray for 2.6.34 ALIGN bug still biting.
libxt_gradm.c:84: warning: implicit declaration of function 'ALIGN'
libxt_gradm.c:84: error: initializer element is not constant
libxt_gradm.c:84: error: (near initialization for 'gradm_mt_reg.size')
Jan Engelhardt [Sat, 4 Dec 2010 15:38:30 +0000 (16:38 +0100)]
doc: cleanup changelog (and use ISO-8601 format)
Jozsef Kadlecsik [Sat, 4 Dec 2010 13:38:31 +0000 (14:38 +0100)]
ipset: update to 4.5
Jan Engelhardt [Tue, 23 Nov 2010 20:52:45 +0000 (21:52 +0100)]
build: remove unused -DXTABLES_LIBDIR from CFLAGS
Jan Engelhardt [Tue, 23 Nov 2010 20:44:21 +0000 (21:44 +0100)]
build: improve kernel version detection again
Apparently people don't just begin the EXTRAVERSION with a dash.
So rewrite it all and throw out /anything/ non-numeric.
Jan Engelhardt [Wed, 17 Nov 2010 14:13:16 +0000 (15:13 +0100)]
xt_geoip: update manpage with instructions for db build
Jan Engelhardt [Fri, 5 Nov 2010 18:42:22 +0000 (19:42 +0100)]
Xtables-addons 1.31
Jan Engelhardt [Wed, 3 Nov 2010 22:58:59 +0000 (23:58 +0100)]
Merge branch 'gradm'
Jan Engelhardt [Wed, 3 Nov 2010 22:58:35 +0000 (23:58 +0100)]
Merge remote branch 'origin/iface'
Jan Engelhardt [Wed, 3 Nov 2010 11:55:09 +0000 (12:55 +0100)]
build: properly detect versions like "2.6.36+"
Jan Engelhardt [Sat, 30 Oct 2010 23:38:12 +0000 (01:38 +0200)]
xt_iface: allow matching against incoming/outgoing interface
Jan Engelhardt [Sat, 30 Oct 2010 23:00:37 +0000 (01:00 +0200)]
build: autodetect value for --with-xtlibdir
Anthony G. Basile [Sun, 17 Oct 2010 13:52:02 +0000 (09:52 -0400)]
libxt_gradm: match packets based on status of grsecurity RBAC
This patch adds a module which is useful to users of grsecurity's RBAC
system. It matches packets based on whether RBAC is enabled or
disabled.
See: http://grsecurity.net/
Signed-off-by: Anthony G. Basile <basile@opensource.dyc.edu>
Jan Engelhardt> Also, I do not see a xt_gradm.c in this patch.
This [xt_gradm.c] is part of the grsecurity patch which not only adds
the Xtables code, but also the RBAC code. Without the entire RBAC
stuff, xt_gradm does not make sense and so it is included with the
grsecurity patch to the kernel, and not this patch to Xtables-addons.
>Can you elaborate a bit on how this is useful in conjunction with
>rulesets? I could imagine it be used with LSM selctx'es for example,
>or another extension that tests for other RBAC attributes.
The idea here is that when the RBAC rulesets are not being enforced,
the system is more vulnerable and the user wants stricter firewall
rules. When RBAC is being enforced, one can relax the firewall and
access to services which are now better protected. In practice this
usually means allowing only access to some trusted IP(s) on boot
before RBAC is turned on.
Jan Engelhardt [Fri, 29 Oct 2010 12:48:27 +0000 (14:48 +0200)]
doc: update changelog
Jan Engelhardt [Sun, 24 Oct 2010 16:13:28 +0000 (18:13 +0200)]
xt_iface: reorder code for upcoming address checking
From now on, info->flags lists the flags to test, not just the flags
to test positively for.
Jan Engelhardt [Sun, 24 Oct 2010 14:35:12 +0000 (16:35 +0200)]
xt_iface: reduce indent by early return
Jan Engelhardt [Sun, 24 Oct 2010 14:31:26 +0000 (16:31 +0200)]
xt_iface: move XT_IFACE_IFACE out of the public header
This flag is only used by the userspace component, so remove it from
the kernel header. Also change the value to 1<<16 for the same reason.
Jan Engelhardt [Wed, 20 Oct 2010 17:19:18 +0000 (19:19 +0200)]
build: respect LDFLAGS on make
Without setting these variables, ./configure LDFLAGS=-m32
would have no effect.
Jan Engelhardt [Sat, 16 Oct 2010 13:56:15 +0000 (15:56 +0200)]
build: improve detection of kernel version and error handling
Thanks to Arkadiusz Miskiewicz from PLD for reporting.
make: *** kernelrelease: No such file or directory. Stop.
Found kernel version "...0" in
ERROR: That kernel version is not supported. Please see
INSTALL for minimum configuration.
Jan Engelhardt [Sat, 16 Oct 2010 13:45:31 +0000 (15:45 +0200)]
ACCOUNT: remove uses of obsolete IPT_CONTINUE
And replace by XT_CONTINUE, to avoid compilation errors in 2.6.37.
Jan Engelhardt [Tue, 12 Oct 2010 15:28:51 +0000 (17:28 +0200)]
LOGMARK: print remaining ct lifetime
Jan Engelhardt [Fri, 1 Oct 2010 22:41:47 +0000 (00:41 +0200)]
Xtables-addons 1.30
Jan Engelhardt [Fri, 1 Oct 2010 22:36:54 +0000 (00:36 +0200)]
mconfig: deactivate building of xt_TEE and xt_CHECKSUM
Jan Engelhardt [Fri, 1 Oct 2010 22:34:38 +0000 (00:34 +0200)]
ipset: update to 4.4
Jan Engelhardt [Wed, 29 Sep 2010 00:51:48 +0000 (02:51 +0200)]
Xtables-addons 1.29
Jan Engelhardt [Wed, 29 Sep 2010 00:51:26 +0000 (02:51 +0200)]
build: add workaround for beoken linux-glibc-devel (2)
Jan Engelhardt [Thu, 23 Sep 2010 00:30:23 +0000 (02:30 +0200)]
build: add workaround for broken linux-glibc-devel 2.6.34 userspace headers
Jan Engelhardt [Wed, 22 Sep 2010 21:28:05 +0000 (23:28 +0200)]
build: support for Linux 2.6.36
Jan Engelhardt [Wed, 22 Sep 2010 21:08:28 +0000 (23:08 +0200)]
TEE: resolve compile error with Linux 2.6.36-rc
xt_TEE.c:54:19: error: request for member "dst" in something not a
structure or union
xt_TEE.c:55:20: error: "struct rtable" has no member named "u"
Linux kernel commit v2.6.36-rc1~571^2~616 changed this.
Jan Engelhardt [Wed, 22 Sep 2010 21:00:46 +0000 (23:00 +0200)]
SYSRQ: resolve compile error with Linux 2.6.36-rc
xt_SYSRQ.c:156:3: error: too many arguments to function 'handle_sysrq'
Linux kernel commit v2.6.36-rc3~19^2~5 changed it and finally removed
the last unused argument.
Jan Engelhardt [Wed, 22 Sep 2010 20:41:24 +0000 (22:41 +0200)]
ipset: update to 4.3+git3
Jan Engelhardt [Wed, 22 Sep 2010 20:32:50 +0000 (22:32 +0200)]
ipset: bump version number
Basically Xtables-addons's copy of ipset is already functionally equal
to ipset 4.3 thanks to our compat_xtables layer (and our modifications
in ipset/ to use it).
Jan Engelhardt [Wed, 22 Sep 2010 20:30:58 +0000 (22:30 +0200)]
ipset: enable building of ip_set_ipport{ip,net}hash.ko
Jan Engelhardt [Wed, 22 Sep 2010 20:30:10 +0000 (22:30 +0200)]
compat_xtables: return bool for match_check and target_check (doc)
Jan Engelhardt [Wed, 1 Sep 2010 13:01:23 +0000 (15:01 +0200)]
compat_xtables: return bool for match_check and target_check in 2.6.23..34
Reported-by: Tomasz Pala <gotar@polanet.pl>
Jan Engelhardt [Wed, 1 Sep 2010 10:01:17 +0000 (12:01 +0200)]
doc: add API helper files
These files should be a very quick reference to the Xtables APIs of
previous Linux kernel versions and Xtables-addons. Their contents have
been reformatted so as to be usable with diff -u.
Jan Engelhardt [Sat, 28 Aug 2010 11:56:12 +0000 (13:56 +0200)]
configure: pkglibexecdir requires automake >= 1.10.2
Jan Engelhardt [Sat, 24 Jul 2010 09:33:11 +0000 (11:33 +0200)]
Xtables-addons 1.28
Jan Engelhardt [Sat, 24 Jul 2010 09:18:24 +0000 (11:18 +0200)]
geoip: add -D option to geoip_build_dir.pl
This option allows to specify a particular output directory. This help
Makefiles in that they do not need to use cd.
Jan Engelhardt [Sat, 24 Jul 2010 09:15:28 +0000 (11:15 +0200)]
geoip: add .gitignore
Jan Engelhardt [Sat, 24 Jul 2010 09:15:09 +0000 (11:15 +0200)]
geoip: rename original script to build_db
Jan Engelhardt [Sat, 24 Jul 2010 09:14:14 +0000 (11:14 +0200)]
geoip: import scripts for building the xt_geoip database
Jan Engelhardt [Sat, 24 Jul 2010 08:57:03 +0000 (10:57 +0200)]
xt_length2: IPv6 jumbogram support
Jan Engelhardt [Mon, 19 Jul 2010 09:14:29 +0000 (11:14 +0200)]
doc: keep manpage ordered
`find` could return entries out of order.
Patrick McHardy [Thu, 15 Jul 2010 09:36:35 +0000 (11:36 +0200)]
xt_CHECKSUM: use xtables_param_act
Patrick McHardy [Thu, 15 Jul 2010 09:36:35 +0000 (11:36 +0200)]
xt_CHECKSUM: only use __u* in public header files
Patrick McHardy [Thu, 15 Jul 2010 09:36:35 +0000 (11:36 +0200)]
xt_CHECKSUM: remove unnecessary header inclusions
Jan Engelhardt [Sun, 11 Jul 2010 22:49:23 +0000 (00:49 +0200)]
doc: update geoip db url
My hopto.org zone disappeared after I left it unattended...
Jan Engelhardt [Sun, 11 Jul 2010 15:59:47 +0000 (17:59 +0200)]
xt_CHECKSUM: remove pointless $
Michael S. Tsirkin [Sun, 11 Jul 2010 13:08:53 +0000 (15:08 +0200)]
xt_CHECKSUM: initial import
This adds a "CHECKSUM" target, which can be used in the iptables mangle
table.
You can use this target to compute and fill in the checksum in a packet
that lacks a checksum. This is particularly useful, if you need to work
around old applications such as dhcp clients, that do not work well with
checksum offloads, but don't want to disable checksum offload in your
device.
The problem happens in the field with virtualized applications. For
reference, see Red Hat bz 605555, as well as
http://www.spinics.net/lists/kvm/msg37660.html
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
John Haxby [Wed, 9 Jun 2010 15:36:28 +0000 (16:36 +0100)]
xt_SYSRQ: fix a couple of problems
The first problem is that the error response from crypto_alloc_hash()
should be extracted from the pointer before setting the pointer to NULL.
The second error is that only the first half of the password hash is
checked which slightly weakens the password checking.
Signed-off-by: John Haxby <john.haxby@oracle.com>
Jan Engelhardt [Sun, 13 Jun 2010 08:40:07 +0000 (10:40 +0200)]
xt_geoip: fix possible out-of-bounds access
It is possible for geoip_bsearch() to pick mid == sizeof(subnets).
Consider a set with a single entry and a "address to test"
higher than the range:
1st call: lo = 0, hi = 1 -> mid will be 0
2nd call: lo = 1, hi = 1 -> mid will be 1
On the 2nd call, we'll examine random data.
Reported-by: Florian Westphal <fw@strlen.de>
Jan Engelhardt [Sat, 12 Jun 2010 07:23:59 +0000 (09:23 +0200)]
RAWNAT: IPv6 variants erroneously rejected masks /33-/128
Jan Engelhardt [Sat, 12 Jun 2010 07:22:35 +0000 (09:22 +0200)]
build: make configure CFLAGS=-ggdb3 have effect on .so files
Changli Gao [Sat, 29 May 2010 08:10:51 +0000 (16:10 +0800)]
RAWNAT: fix incorrect mask in rawnat_ipv6_mask
I really think it is a typo mistake. :)
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Jan Engelhardt [Sat, 29 May 2010 08:16:04 +0000 (10:16 +0200)]
Merge remote branch 'sf/master'
Jan Engelhardt [Wed, 19 May 2010 17:32:28 +0000 (19:32 +0200)]
build: update tarball target
Jan Engelhardt [Sun, 16 May 2010 20:19:02 +0000 (22:19 +0200)]
Xtables-addons 1.27
Jan Engelhardt [Fri, 14 May 2010 11:03:16 +0000 (13:03 +0200)]
xa-d-m: remove superfluous protos
Jan Engelhardt [Fri, 14 May 2010 09:52:18 +0000 (11:52 +0200)]
Merge branch 'api35'
Jan Engelhardt [Fri, 14 May 2010 09:51:34 +0000 (11:51 +0200)]
compat_xtables: more 2.6.35 support
Jan Engelhardt [Thu, 13 May 2010 17:34:36 +0000 (19:34 +0200)]
compat_xtables: move to 2.6.35 xt_action_param (3/3)
Since the last merge of the "api35" branch, further changes were
included into nf-next. This set of three commits updates the
xtables-addons API to match that.
Jan Engelhardt [Thu, 13 May 2010 17:45:52 +0000 (19:45 +0200)]
compat_xtables: move to 2.6.35 xt_action_param (2/3)
Jan Engelhardt [Thu, 13 May 2010 14:22:36 +0000 (16:22 +0200)]
compat_xtables: move to 2.6.35 xt_action_param (1/3)
Jan Engelhardt [Thu, 13 May 2010 14:30:22 +0000 (16:30 +0200)]
compat_xtables: move 2.6.28+ xtnu_target_run code
Jan Engelhardt [Thu, 13 May 2010 14:03:05 +0000 (16:03 +0200)]
compat_xtables: remove unused list member from xtnu_{match,target}
Jan Engelhardt [Thu, 13 May 2010 13:58:50 +0000 (15:58 +0200)]
compat_xtables: annotate struct xtnu_{match,target}->name
Jan Engelhardt [Thu, 13 May 2010 13:51:54 +0000 (15:51 +0200)]
compat_xtables: improve memory usage in struct xtnu_{match,target}
Jan Engelhardt [Thu, 13 May 2010 13:39:29 +0000 (15:39 +0200)]
xt_quota2: reduce printf complexity
Jan Engelhardt [Fri, 30 Apr 2010 20:54:06 +0000 (22:54 +0200)]
Xtables-addons 1.26
Jan Engelhardt [Fri, 30 Apr 2010 20:39:48 +0000 (22:39 +0200)]
compat_xtables: fix 2.6.34 compile error due to a typo
Jan Engelhardt [Mon, 26 Apr 2010 12:14:02 +0000 (14:14 +0200)]
Xtables-addons 1.25
Jan Engelhardt [Mon, 26 Apr 2010 12:12:03 +0000 (14:12 +0200)]
Merge branch 'tee'
Jan Engelhardt [Thu, 15 Apr 2010 21:47:07 +0000 (23:47 +0200)]
xt_TEE: move skb cleanup outwards
Jan Engelhardt [Thu, 15 Apr 2010 20:49:08 +0000 (22:49 +0200)]
xt_TEE: remove debug printks
Jan Engelhardt [Thu, 15 Apr 2010 19:29:37 +0000 (21:29 +0200)]
xt_TEE: use nf_conntrack_untracked
No reason having to use our own nf_conntrack bucket.
Jan Engelhardt [Thu, 15 Apr 2010 19:10:36 +0000 (21:10 +0200)]
Merge branch 'condition'
Jan Engelhardt [Fri, 9 Apr 2010 10:28:50 +0000 (12:28 +0200)]
xt_condition: use non-interruptible check routine
Patrick McHardy let's it be known: "No need for interruptible locking,
the section is very short and usually there's only a single iptables
process running at a time."
Jan Engelhardt [Fri, 9 Apr 2010 10:25:30 +0000 (12:25 +0200)]
xt_condition: remove unnecessary RCU protection
The module does not use the RCU mechanism, so calling
list_add_rcu/list_del_rcu does not make much sense either.
Jan Engelhardt [Fri, 9 Apr 2010 10:24:21 +0000 (12:24 +0200)]
Merge branch 'api35'
Jan Engelhardt [Fri, 9 Apr 2010 10:24:19 +0000 (12:24 +0200)]
compat_xtables: correct compile errors
Jan Engelhardt [Tue, 6 Apr 2010 23:31:18 +0000 (01:31 +0200)]
xt_TEE: use less expensive pskb_copy
Jan Engelhardt [Mon, 5 Apr 2010 00:21:35 +0000 (02:21 +0200)]
build: do not print enter/exit during banner
Jan Engelhardt [Mon, 5 Apr 2010 00:15:26 +0000 (02:15 +0200)]
Merge branch 'tee'
Jan Engelhardt [Mon, 5 Apr 2010 00:15:24 +0000 (02:15 +0200)]
Merge branch 'api35'
Jan Engelhardt [Sat, 27 Mar 2010 22:30:39 +0000 (23:30 +0100)]
compat_xtables: move to 2.6.35 API for targets