]> git.ipfire.org Git - thirdparty/xtables-addons.git/log
thirdparty/xtables-addons.git
17 years agogeoip: lock timing correctness
Jan Engelhardt [Mon, 17 Mar 2008 13:37:37 +0000 (14:37 +0100)] 
geoip: lock timing correctness

find_node: The reference count needs to be increased while the lock
is held. Otherwise, the node may disappear right after the lock was
released and increase was attempted, leading to an oops.

remove_node: The reference count needs to be checked while the lock
is held. Otherwise, the node may be used in the match function or
returned from find_node while it has a zero refcount.

17 years agogeoip: add missing kfree in error path
Jan Engelhardt [Mon, 17 Mar 2008 13:11:26 +0000 (14:11 +0100)] 
geoip: add missing kfree in error path

17 years agogeoip: sort #include list
Jan Engelhardt [Mon, 17 Mar 2008 13:12:40 +0000 (14:12 +0100)] 
geoip: sort #include list

17 years agogeoip: use tabs not spaces and indent
Jan Engelhardt [Mon, 17 Mar 2008 12:35:17 +0000 (13:35 +0100)] 
geoip: use tabs not spaces and indent

17 years agogeoip: remove redundant casts
Jan Engelhardt [Mon, 17 Mar 2008 12:26:11 +0000 (13:26 +0100)] 
geoip: remove redundant casts

17 years agogeoip: remove unused code and unneeded per-info refcount
Jan Engelhardt [Mon, 17 Mar 2008 11:49:28 +0000 (12:49 +0100)] 
geoip: remove unused code and unneeded per-info refcount

- freeing userspace memory is not the kernel's job, really.
- checkentry is called exactly once, as is destroy.

17 years agogeoip: import 20080214 code base
Jan Engelhardt [Mon, 17 Mar 2008 11:46:15 +0000 (12:46 +0100)] 
geoip: import 20080214 code base

17 years agocompat update: allow building from 2.6.18 onwards
Jan Engelhardt [Tue, 11 Mar 2008 15:59:49 +0000 (16:59 +0100)] 
compat update: allow building from 2.6.18 onwards

17 years agoUpdate .gitignore
Jan Engelhardt [Wed, 5 Mar 2008 01:00:26 +0000 (02:00 +0100)] 
Update .gitignore

17 years agoMakefile: add missing xtables_CFLAGS variable
Jan Engelhardt [Tue, 4 Mar 2008 23:19:15 +0000 (00:19 +0100)] 
Makefile: add missing xtables_CFLAGS variable

If xtables.h is to be found in a directory other than included in the
default preprocessor search path, compilation failed because the path
specified with --with-xtables= was not passed to gcc.

17 years agoXtables-addons 1.5.2 v1.5.2
Jan Engelhardt [Tue, 4 Mar 2008 04:17:00 +0000 (05:17 +0100)] 
Xtables-addons 1.5.2

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoMakefile: add "tarball" target
Jan Engelhardt [Tue, 4 Mar 2008 04:16:35 +0000 (05:16 +0100)] 
Makefile: add "tarball" target

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoRemove XTABLES_VERSION define, it is now provided by xtables.h
Jan Engelhardt [Tue, 4 Mar 2008 04:13:15 +0000 (05:13 +0100)] 
Remove XTABLES_VERSION define, it is now provided by xtables.h

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoMove defines in compat_xtables.h down to avoid redeclaration errors
Jan Engelhardt [Fri, 29 Feb 2008 15:41:29 +0000 (16:41 +0100)] 
Move defines in compat_xtables.h down to avoid redeclaration errors

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoUse system's readlink program to make things work with GNU make < 3.81
Jan Engelhardt [Fri, 29 Feb 2008 12:48:37 +0000 (13:48 +0100)] 
Use system's readlink program to make things work with GNU make < 3.81

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoXtables-addons 1.5.1 v1.5.1
Jan Engelhardt [Thu, 21 Feb 2008 16:16:31 +0000 (17:16 +0100)] 
Xtables-addons 1.5.1

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoUse AF_UNSPEC registration in libxt_LOGMARK
Jan Engelhardt [Thu, 21 Feb 2008 16:25:23 +0000 (17:25 +0100)] 
Use AF_UNSPEC registration in libxt_LOGMARK

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoChange IPTABLES_VERSION to XTABLES_VERSION
Jan Engelhardt [Thu, 21 Feb 2008 16:24:33 +0000 (17:24 +0100)] 
Change IPTABLES_VERSION to XTABLES_VERSION

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoImport Chaostables extensions
Jan Engelhardt [Thu, 21 Feb 2008 13:29:36 +0000 (14:29 +0100)] 
Import Chaostables extensions

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoRemove compat code for kernels below 2.6.22
Jan Engelhardt [Thu, 21 Feb 2008 12:35:19 +0000 (13:35 +0100)] 
Remove compat code for kernels below 2.6.22

Some code already uses ip_hdr() functions which did not exist in
2.6.21 and I do not feel like adding more compat code.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoUpdate compat code for new 2.6.25 code
Jan Engelhardt [Thu, 21 Feb 2008 12:29:31 +0000 (13:29 +0100)] 
Update compat code for new 2.6.25 code

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoxt_LOGMARK: dump CLASSIFY mark, ctstate and ctstatus
Jan Engelhardt [Wed, 20 Feb 2008 22:17:55 +0000 (23:17 +0100)] 
xt_LOGMARK: dump CLASSIFY mark, ctstate and ctstatus

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoAdd support for external tarballs
Jan Engelhardt [Sat, 16 Feb 2008 15:10:40 +0000 (16:10 +0100)] 
Add support for external tarballs

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoAllow external projects to be downloaded into the tree and used
Jan Engelhardt [Fri, 15 Feb 2008 01:21:35 +0000 (02:21 +0100)] 
Allow external projects to be downloaded into the tree and used

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoAllow user to select what extensions to compile and install
Jan Engelhardt [Thu, 14 Feb 2008 16:38:15 +0000 (17:38 +0100)] 
Allow user to select what extensions to compile and install

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoOnly include ksource header directory when explicitly specified
Jan Engelhardt [Thu, 14 Feb 2008 14:28:44 +0000 (15:28 +0100)] 
Only include ksource header directory when explicitly specified

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoFixup compilation for kernels before 2.6.25 v1.5.0
Jan Engelhardt [Mon, 11 Feb 2008 14:49:51 +0000 (15:49 +0100)] 
Fixup compilation for kernels before 2.6.25

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoUpdate package name and documentation
Jan Engelhardt [Mon, 11 Feb 2008 13:08:23 +0000 (14:08 +0100)] 
Update package name and documentation

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoAdd xt_LOGMARK (nfmark, ctmark, secmark logger)
Jan Engelhardt [Wed, 30 Jan 2008 12:54:57 +0000 (13:54 +0100)] 
Add xt_LOGMARK (nfmark, ctmark, secmark logger)

xt_LOGMARK dumps the nfmark (packet mark), ctmark (connection mark)
and/or secmark to syslog.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoAdd plural target (un)registration to compat glue
Jan Engelhardt [Wed, 30 Jan 2008 02:50:16 +0000 (03:50 +0100)] 
Add plural target (un)registration to compat glue

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoAdd a compat wrapper to make modules work with older Linux.
Jan Engelhardt [Tue, 29 Jan 2008 14:40:57 +0000 (15:40 +0100)] 
Add a compat wrapper to make modules work with older Linux.

The extension modules use the API of a fairly recent kernel, if not
even the networking git tree. To make it work with older Linux
kernels, an API wrapper is added. Should compile against
running-kernels Linux 2.6.19..current (tested: 2.6.22..current).

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
17 years agoInitial commit.
Jan Engelhardt [Tue, 29 Jan 2008 02:57:08 +0000 (03:57 +0100)] 
Initial commit.

Populate the iptables-addons repository with two modules, xt_TARPIT
and xt_TEE, as a starting point.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>