]>
git.ipfire.org Git - thirdparty/xtables-addons.git/log
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
Jan Engelhardt [Sun, 4 Apr 2010 22:44:44 +0000 (00:44 +0200)]
xt_TEE: new loop detection logic
Jan Engelhardt [Fri, 2 Apr 2010 17:43:42 +0000 (19:43 +0200)]
xt_TEE: remove old loop detection
The loop detection does not work if the kernel is built without
conntrack. In fact, since cloned packets are sent directly and do not
pass through Xtables, there are no loops happening.
Jan Engelhardt [Fri, 2 Apr 2010 14:59:13 +0000 (16:59 +0200)]
xt_TEE: do not retain iif and mark on cloned packet
Patrick McHardy explains in [1] that locally-generated packets (such
as the clones xt_TEE will create) usually start with no iif and no
mark value, and even if cloned packets are a little more special than
locally-generated ones, let's do it that way.
[1] http://marc.info/?l=netfilter-devel&m=
127012289008156 &w=2
Jan Engelhardt [Sat, 27 Mar 2010 01:55:41 +0000 (02:55 +0100)]
xt_TEE: do not limit use to mangle table
Jan Engelhardt [Fri, 26 Mar 2010 23:17:52 +0000 (00:17 +0100)]
xt_TEE: free skb when route lookup failed
Jan Engelhardt [Fri, 26 Mar 2010 22:48:29 +0000 (23:48 +0100)]
xt_TEE: set dont-fragment on cloned packets
Jan Engelhardt [Fri, 26 Mar 2010 22:28:13 +0000 (23:28 +0100)]
xt_TEE: avoid making original packet writable
There is not any real need to make the original packet writable, as it
is not going to be modified anyway.
Jan Engelhardt [Mon, 22 Mar 2010 22:15:42 +0000 (23:15 +0100)]
xt_TEE: decrease TTL on cloned packet
Jan Engelhardt [Mon, 22 Mar 2010 22:16:51 +0000 (23:16 +0100)]
xt_TEE: do rechecksumming in PREROUTING too
Jan Engelhardt [Mon, 22 Mar 2010 22:29:20 +0000 (23:29 +0100)]
xt_TEE: use ip_send_check instead of open-coded logic
Jan Engelhardt [Fri, 26 Mar 2010 22:17:23 +0000 (23:17 +0100)]
xt_SYSRQ: do not print error messages on ENOMEM
Memory allocation failures are usually already reported by SLAB and
the ENOMEM error code itself.
Jan Engelhardt [Sat, 27 Mar 2010 22:22:58 +0000 (23:22 +0100)]
compat_xtables: move to 2.6.35 API for matches
Jan Engelhardt [Sat, 3 Apr 2010 20:06:04 +0000 (22:06 +0200)]
build: add a version banner on make modules
Because the build error logs of module-assistant are totally useless,
as the tarball filename has been stripped of the version, and
configure is not run either.
Jan Engelhardt [Fri, 26 Mar 2010 22:14:04 +0000 (23:14 +0100)]
doc: put --with-xtlibdir in the spotlight
Too many people forget to specify the proper location...
Jan Engelhardt [Wed, 17 Mar 2010 01:30:32 +0000 (02:30 +0100)]
Xtables-addons 1.24
Jan Engelhardt [Wed, 17 Mar 2010 01:46:18 +0000 (02:46 +0100)]
xt_SYSRQ: drop unprocessed packets
Jan Engelhardt [Wed, 17 Mar 2010 01:37:00 +0000 (02:37 +0100)]
Revert "xt_TEE: cosmetic replace a version check"
This reverts commit
ab13e58f96e759be0f54837a8d5e87ab6bd1b8e9 .
Whoops. There is no mark at all before 2.6.19.
Jan Engelhardt [Wed, 17 Mar 2010 01:25:40 +0000 (02:25 +0100)]
modules: replace AF/PF with NFPROTO
Jan Engelhardt [Wed, 17 Mar 2010 01:20:39 +0000 (02:20 +0100)]
extensions: replace AF/PF with NFPROTO
Needs one update of netfilter.h to something recent, too.
Jan Engelhardt [Wed, 17 Mar 2010 01:10:56 +0000 (02:10 +0100)]
build: fix build of userspace modules against old headers from linux-glibc-devel
Jan Engelhardt [Tue, 16 Mar 2010 22:37:05 +0000 (23:37 +0100)]
modules: replace AF/PF with NFPROTO
Jan Engelhardt [Tue, 16 Mar 2010 22:34:25 +0000 (23:34 +0100)]
modules: strip unneeded XT_ALIGN from matchsize/targetsize
The x_tables kernel part already does calculate it.
Jan Engelhardt [Tue, 16 Mar 2010 22:26:05 +0000 (23:26 +0100)]
modules: remove XT_ALIGN(0) lines
Jan Engelhardt [Tue, 16 Mar 2010 22:22:18 +0000 (23:22 +0100)]
xt_condition: remove some blank lines
Jan Engelhardt [Tue, 16 Mar 2010 22:16:07 +0000 (23:16 +0100)]
xt_condition: switch semaphore to a mutex
Jan Engelhardt [Tue, 16 Mar 2010 16:27:59 +0000 (17:27 +0100)]
xt_SYSRQ: allow processing of UDP-Lite
Jan Engelhardt [Tue, 16 Mar 2010 16:20:57 +0000 (17:20 +0100)]
xt_SYSRQ: fix wrong define for crypto inclusion
Jan Engelhardt [Tue, 16 Mar 2010 16:01:02 +0000 (17:01 +0100)]
xt_TEE: cosmetic replace a version check
Jan Engelhardt [Sun, 28 Feb 2010 16:24:08 +0000 (17:24 +0100)]
SYSRQ: let module load when crypto is unavailable
Tomasz Tomkowiak [Tue, 26 Jan 2010 03:16:00 +0000 (06:16 +0300)]
ipp2p: bittorrent commands
After testing I decide to write my patch to bittorrent GET commands
from xt_ipp2p.c because old procedure is useless for modified and/or
private trackers.
BTW: info_hash may be 3rd argument, passkey (private trackers) may be
1st argument (or not) etc. so we need to search.
Jan Engelhardt [Fri, 26 Feb 2010 13:42:00 +0000 (14:42 +0100)]
compat_xtables: add a memmem function
This will be needed by xt_ipp2p right away.
Jan Engelhardt [Wed, 24 Feb 2010 19:59:38 +0000 (20:59 +0100)]
Xtables-addons 1.23
Jan Engelhardt [Wed, 24 Feb 2010 11:11:10 +0000 (12:11 +0100)]
build: support for Linux 2.6.34
Jan Engelhardt [Wed, 24 Feb 2010 11:10:26 +0000 (12:10 +0100)]
doc: changelog update
Peter Volkov [Fri, 19 Feb 2010 11:46:17 +0000 (14:46 +0300)]
SYSRQ: make IPv6 optional
In case the kernel is built without IPv6 support the compilation of
this module fails as it assumes IPv6. This patch makes kernel support
conditional on kernel .config.