]>
git.ipfire.org Git - thirdparty/xtables-addons.git/log
Jan Engelhardt [Tue, 31 May 2011 20:58:34 +0000 (22:58 +0200)]
doc: replace NOTRACK by CT-notrack
Jan Engelhardt [Tue, 31 May 2011 20:53:12 +0000 (22:53 +0200)]
ipset: update to 6.7-genl
Martin Barrow Cliff [Fri, 27 May 2011 22:53:02 +0000 (18:53 -0400)]
xt_TARPIT: honeypot and reset modes
Honeypot mode attempts to maintain a normal connection for the purpose
of capturing payload packets.
Reset mode provides the ability to send a reset packet in lieu of
using the DROP or REJECT targets.
Jan Engelhardt [Tue, 31 May 2011 14:56:26 +0000 (16:56 +0200)]
Merge branch 'ipset-6'
Jan Engelhardt [Tue, 31 May 2011 13:17:33 +0000 (15:17 +0200)]
build: support for Linux up to 3.0
Jan Engelhardt [Tue, 31 May 2011 14:14:44 +0000 (16:14 +0200)]
ipset: update to 6.6a-genl
Jan Engelhardt [Tue, 31 May 2011 14:09:03 +0000 (16:09 +0200)]
ipset-6: move manpage into src/
Changli Gao [Mon, 7 Mar 2011 08:14:29 +0000 (16:14 +0800)]
xt_geoip: avoid recursive function calls
The stack memory is very limited in Linux kernel.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Jan Engelhardt [Mon, 11 Apr 2011 16:37:32 +0000 (18:37 +0200)]
Xtables-addons 1.35
Trim the changelog to only reveal changes relevant to the end user.
Jan Engelhardt [Mon, 11 Apr 2011 02:23:18 +0000 (04:23 +0200)]
Merge branch 'ipset-6'
Conflicts:
INSTALL
mconfig
Jan Engelhardt [Mon, 11 Apr 2011 02:03:30 +0000 (04:03 +0200)]
ipset; update to ipset-6.3 (genl)
* Handle EAGAIN from autoloading code.
* Turn one nfgenmsg site into genlmsg to avoid protocol mismatch
Jan Engelhardt [Thu, 7 Apr 2011 13:15:39 +0000 (15:15 +0200)]
Xtables-addons 1.34
Jan Engelhardt [Sun, 3 Apr 2011 22:39:50 +0000 (00:39 +0200)]
ipset: update to ipset-6.2
Jan Engelhardt [Sun, 3 Apr 2011 22:18:54 +0000 (00:18 +0200)]
build: notify of unsupported Linux kernel versions
Jan Engelhardt [Sun, 3 Apr 2011 22:10:23 +0000 (00:10 +0200)]
build: notify of unsupported Linux kernel versions
I would like to move forward a bit, and today, two issues prompted
me to start removing old code:
* make 3.82 does not like mixing normal rules with implicit rules,
which rejects Makefiles of Linux kernels before 2.6.34.
* xt_DNETMAP uses functionality not available before 2.6.29.
Jan Engelhardt [Sun, 3 Apr 2011 21:59:18 +0000 (23:59 +0200)]
Merge branch 'dnetmap'
Marek Kierdelewicz [Sun, 3 Apr 2011 20:41:24 +0000 (22:41 +0200)]
xt_DNETMAP: support for kernels below 2.6.34
Jan Engelhardt [Sun, 3 Apr 2011 21:34:33 +0000 (23:34 +0200)]
xt_DNETMAP: add missing alias
Jan Engelhardt [Mon, 28 Feb 2011 19:48:23 +0000 (20:48 +0100)]
Merge branch 'pknock'
Kernel warnings and oopses resulting from the inversion (HEAD^2)
reported by user mancha (mancha!debian-tor@gateway/tor-sasl/mancha) on
irc.freenode.net/#netfilter.
Jan Engelhardt [Thu, 24 Feb 2011 22:58:03 +0000 (23:58 +0100)]
xt_pknock: avoid inversion of rule lookup that led to warnings
Commit
v1.18-48-g58839b9 had this screwed up.
Jan Engelhardt [Thu, 24 Feb 2011 04:33:05 +0000 (05:33 +0100)]
xt_pknock: avoid crash when hash TFM could not be allocated
Jan Engelhardt [Thu, 24 Feb 2011 00:49:03 +0000 (01:49 +0100)]
xt_pknock: indent
Jan Engelhardt [Wed, 23 Feb 2011 23:40:23 +0000 (00:40 +0100)]
ipset: update to 6.0
Jan Engelhardt [Wed, 23 Feb 2011 23:01:15 +0000 (00:01 +0100)]
ipset: rename ipset-5 directory to ipset-6
Jan Engelhardt [Wed, 2 Feb 2011 04:19:00 +0000 (05:19 +0100)]
Xtables-addons 1.33
Jan Engelhardt [Wed, 2 Feb 2011 04:21:47 +0000 (05:21 +0100)]
xt_geoip: keep compiling for <= 2.6.23
Jan Engelhardt [Wed, 2 Feb 2011 04:15:09 +0000 (05:15 +0100)]
build: do not forget including path for compat_user.h
Jan Engelhardt [Wed, 2 Feb 2011 04:09:58 +0000 (05:09 +0100)]
build: preliminary support for iptables 1.4.11
Jan Engelhardt [Wed, 2 Feb 2011 03:59:38 +0000 (04:59 +0100)]
build: support for Linux up to 2.6.38
No API changes that needed to be taken care of, so just bump the
version check in configure.ac.
Jan Engelhardt [Wed, 2 Feb 2011 03:54:40 +0000 (04:54 +0100)]
xt_DNETMAP: disable by default for now
I wanted xt_DNETMAP to be included in the release already, though
because it only compiled with Linux >= 2.6.34 currently (some work
will be needed), deactive it by default.
Jan Engelhardt [Wed, 2 Feb 2011 03:54:25 +0000 (04:54 +0100)]
Merge branch 'dnetmap'
Jan Engelhardt [Wed, 2 Feb 2011 03:53:30 +0000 (04:53 +0100)]
build: fix missing inclusion of dependency rules
Jan Engelhardt [Wed, 2 Feb 2011 03:51:38 +0000 (04:51 +0100)]
libxt_geoip: update manual page with new tool syntax
Jan Engelhardt [Wed, 2 Feb 2011 03:48:40 +0000 (04:48 +0100)]
Merge branch 'geoip'
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:22:24 +0000 (03:22 +0100)]
xt_DNETMAP: style considerations
Clean up the files a bit. For one, break dangerously right-indented
function headers, and correct some spaces that should be tab.
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, 22 Jan 2011 17:10:18 +0000 (18:10 +0100)]
Merge remote branch 'origin/master'
Jan Engelhardt [Sat, 22 Jan 2011 17:09:15 +0000 (18:09 +0100)]
xt_DNETMAP: use compat_xtables layer to run on older kernels
Jan Engelhardt [Sat, 22 Jan 2011 16:21:49 +0000 (17:21 +0100)]
doc: Add version information to README
Jan Engelhardt [Sat, 22 Jan 2011 16:34:43 +0000 (17:34 +0100)]
Merge branch 'account'
Jan Engelhardt [Sat, 22 Jan 2011 16:19:12 +0000 (17:19 +0100)]
ACCOUNT: update to 1.16
There are no changes to integrate from ipt_ACCOUNT because xt_ACCOUT
already, by way of the compat_xtables layer, supports multiple kernel
versions.
Jan Engelhardt [Sat, 22 Jan 2011 16:33:45 +0000 (17:33 +0100)]
Merge branch 'pknock'
Jan Engelhardt [Sat, 22 Jan 2011 16:32:28 +0000 (17:32 +0100)]
pknock: resolve warnings about unused variables
Jan Engelhardt [Sat, 22 Jan 2011 16:31:47 +0000 (17:31 +0100)]
pknock: use build flags in pknock Makefile
Jan Engelhardt [Sat, 22 Jan 2011 16:24:51 +0000 (17:24 +0100)]
xt_DNETMAP: order mconfig
Jan Engelhardt [Sat, 22 Jan 2011 15:32:37 +0000 (16:32 +0100)]
xt_DNETMAP: use more appropriate format specifiers
Substitute %i -> %d. Use %u for prefix length.
Jan Engelhardt [Sat, 22 Jan 2011 14:59:07 +0000 (15:59 +0100)]
xt_DNETMAP: use permission mnemonic constants
Jan Engelhardt [Sat, 22 Jan 2011 14:56:57 +0000 (15:56 +0100)]
Merge branch 'ipset-5'
Jan Engelhardt [Sat, 22 Jan 2011 14:55:08 +0000 (15:55 +0100)]
ipset: update to 5.4.1
Jan Engelhardt [Fri, 21 Jan 2011 22:26:11 +0000 (23:26 +0100)]
Merge branch 'ipset-5'
Jan Engelhardt [Wed, 19 Jan 2011 01:55:23 +0000 (02:55 +0100)]
ipset: update to 5.3
Jan Engelhardt [Wed, 19 Jan 2011 01:36:26 +0000 (02:36 +0100)]
build: use AM_CPPFLAGS in ipset-5/
Jan Engelhardt [Wed, 19 Jan 2011 01:35:49 +0000 (02:35 +0100)]
build: fix objdir builds for ipset-5 (xt-a specific)
Jan Engelhardt [Sat, 15 Jan 2011 04:23:17 +0000 (05:23 +0100)]
libxt_length: fix name of manpage file
Jan Engelhardt [Thu, 13 Jan 2011 19:23:15 +0000 (20:23 +0100)]
build: restore functionality of configure's --without-kbuild option
Jan Engelhardt [Wed, 12 Jan 2011 00:03:36 +0000 (01:03 +0100)]
xt_LOGMARK: fix detection of untracked connection for Linux >= 2.6.36
Marek Kierdelewicz [Thu, 6 Jan 2011 23:02:59 +0000 (00:02 +0100)]
Import of xt_DNETMAP
Jan Engelhardt [Tue, 4 Jan 2011 11:47:09 +0000 (12:47 +0100)]
doc: deprecate --with-xtlibdir configure option
Jan Engelhardt [Tue, 4 Jan 2011 11:44:55 +0000 (12:44 +0100)]
build: mark Linux 2.6.37 as supported
Jan Engelhardt [Tue, 4 Jan 2011 03:37:58 +0000 (04:37 +0100)]
Xtables-addons 1.32
Jan Engelhardt [Tue, 4 Jan 2011 03:37:44 +0000 (04:37 +0100)]
build: relax libmnl checks and document ipset requirements
Jan Engelhardt [Tue, 4 Jan 2011 03:32:05 +0000 (04:32 +0100)]
Merge branch 'ipset'
Jan Engelhardt [Tue, 4 Jan 2011 02:57:21 +0000 (03:57 +0100)]
ipset: import ipset 5.2+GENL
This requires Linux 2.6.35 or newer to build, so it is deactivated by
default in the "mconfig" file.
Jan Engelhardt [Tue, 4 Jan 2011 02:52:11 +0000 (03:52 +0100)]
ipset: move ipset to ipset-4
Jan Engelhardt [Tue, 28 Dec 2010 15:16:05 +0000 (16:16 +0100)]
build: use AM_CPPFLAGS
Jan Engelhardt [Thu, 30 Dec 2010 07:02:17 +0000 (08:02 +0100)]
build: workaround fixdep permission error
make -C ../../../linux-2.6.36-rc8-32
O=/usr/src/linux-2.6.36-rc8-32-obj/x86_64/desktop/. kernelrelease
HOSTCC scripts/basic/fixdep
/usr/src/linux-2.6.36-rc8-32/scripts/basic/fixdep.c:398:1:
fatal error: opening dependency file scripts/basic/.fixdep.d:
Permission denied
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