]> git.ipfire.org Git - thirdparty/xtables-addons.git/log
thirdparty/xtables-addons.git
16 years agopsd: style: remove braces for single statements in ifs
Jan Engelhardt [Sun, 16 Aug 2009 10:40:44 +0000 (12:40 +0200)] 
psd: style: remove braces for single statements in ifs

16 years agopsd: style: add explicit comparisons where not used in bool context
Jan Engelhardt [Fri, 14 Aug 2009 18:26:37 +0000 (20:26 +0200)] 
psd: style: add explicit comparisons where not used in bool context

16 years agopsd: style: break double statements
Jan Engelhardt [Fri, 14 Aug 2009 18:24:36 +0000 (20:24 +0200)] 
psd: style: break double statements

16 years agopsd: jiffies is an unsigned long, fix compiler warning
Jan Engelhardt [Fri, 14 Aug 2009 18:19:13 +0000 (20:19 +0200)] 
psd: jiffies is an unsigned long, fix compiler warning

"jiffies" has always been unsigned long, not clock_t.

xt_psd.c:176:7: warning: comparison of distinct pointer types lacks a cast

16 years agopsd: remove whitespace at EOL
Jan Engelhardt [Fri, 14 Aug 2009 18:15:00 +0000 (20:15 +0200)] 
psd: remove whitespace at EOL

16 years agopsd: merge into main configuration files
Jan Engelhardt [Fri, 14 Aug 2009 18:12:43 +0000 (20:12 +0200)] 
psd: merge into main configuration files

When psd is included in the main tree, it can use the main
configuration files.

16 years agoSupport for iptables 1.4.3 and 1.4.4 by Blazej
Thomas Jarosch [Fri, 14 Aug 2009 15:27:14 +0000 (17:27 +0200)] 
Support for iptables 1.4.3 and 1.4.4 by Blazej

16 years agopsd: fix revision mismatch
Mohd Nawawi Mohamad Jamili [Thu, 13 Aug 2009 09:36:42 +0000 (17:36 +0800)] 
psd: fix revision mismatch

16 years agopsd: tag match reg struct as __read_mostly
Jan Engelhardt [Wed, 12 Aug 2009 23:04:26 +0000 (01:04 +0200)] 
psd: tag match reg struct as __read_mostly

16 years agopsd: use fixated types in info struct
Jan Engelhardt [Wed, 12 Aug 2009 22:52:46 +0000 (00:52 +0200)] 
psd: use fixated types in info struct

16 years agopsd: return correct status from init
Jan Engelhardt [Wed, 12 Aug 2009 22:46:33 +0000 (00:46 +0200)] 
psd: return correct status from init

16 years agopsd: bss is always zero-initialized
Jan Engelhardt [Wed, 12 Aug 2009 22:45:52 +0000 (00:45 +0200)] 
psd: bss is always zero-initialized

16 years agopsd: remove empty checkentry function
Jan Engelhardt [Wed, 12 Aug 2009 22:44:39 +0000 (00:44 +0200)] 
psd: remove empty checkentry function

16 years agopsd: replace open-coded access by skb handling functions
Jan Engelhardt [Wed, 12 Aug 2009 22:42:01 +0000 (00:42 +0200)] 
psd: replace open-coded access by skb handling functions

pskb->network_header would not even compile under older kernels.

This also fixes the compile warning:
xt_psd.c:116:18: warning: cast to pointer from integer of different size

16 years agopsd: avoid shadowing of function
Jan Engelhardt [Wed, 12 Aug 2009 22:38:39 +0000 (00:38 +0200)] 
psd: avoid shadowing of function

ip_hdr and tcp_hdr are actually functions. Because we need them means
they must not be shadowed by variables.

16 years agopsd: import 20090807 code base
Mohd Nawawi Mohamad Jamili [Fri, 7 Aug 2009 08:18:49 +0000 (16:18 +0800)] 
psd: import 20090807 code base

16 years agoquota2: fix invalid page access in cleanup function
Jan Engelhardt [Fri, 7 Aug 2009 08:35:52 +0000 (10:35 +0200)] 
quota2: fix invalid page access in cleanup function

16 years agoFix RPM license tag
Thomas Jarosch [Thu, 23 Jul 2009 09:58:19 +0000 (11:58 +0200)] 
Fix RPM license tag

16 years agoquota2: change max name length from 31 to 15
Jan Engelhardt [Fri, 10 Jul 2009 15:21:27 +0000 (17:21 +0200)] 
quota2: change max name length from 31 to 15

16 years agoquota2: direct-code XT_QUOTA_COUNTER_NAME_LENGTH
Jan Engelhardt [Fri, 10 Jul 2009 15:21:12 +0000 (17:21 +0200)] 
quota2: direct-code XT_QUOTA_COUNTER_NAME_LENGTH

16 years agoquota2: use strtoull instead of strtoul
Jan Engelhardt [Fri, 10 Jul 2009 15:18:48 +0000 (17:18 +0200)] 
quota2: use strtoull instead of strtoul

16 years agoquota2: extend locked period during cleanup
Jan Engelhardt [Sat, 4 Jul 2009 00:11:25 +0000 (02:11 +0200)] 
quota2: extend locked period during cleanup

16 years agoquota2: reduce memory footprint for anonymous counters
Jan Engelhardt [Fri, 3 Jul 2009 23:53:14 +0000 (01:53 +0200)] 
quota2: reduce memory footprint for anonymous counters

48/64 bytes (32/64-bit arch, resp.) per counter.

16 years agoquota2: consolidate spinlocking calls
Jan Engelhardt [Fri, 3 Jul 2009 23:31:13 +0000 (01:31 +0200)] 
quota2: consolidate spinlocking calls

16 years agoquota2: prefix internal struct name with xt_
Jan Engelhardt [Fri, 3 Jul 2009 23:29:32 +0000 (01:29 +0200)] 
quota2: prefix internal struct name with xt_

16 years agoTEE: spello fix
Jan Engelhardt [Thu, 2 Jul 2009 02:16:14 +0000 (04:16 +0200)] 
TEE: spello fix

16 years agoquota2: support nameless counters
Jan Engelhardt [Thu, 2 Jul 2009 00:21:11 +0000 (02:21 +0200)] 
quota2: support nameless counters

16 years agobuild: support for Linux 2.6.31-rc1
Jan Engelhardt [Wed, 1 Jul 2009 23:51:40 +0000 (01:51 +0200)] 
build: support for Linux 2.6.31-rc1

16 years agobuild: fix kernel version info
Jan Engelhardt [Wed, 1 Jul 2009 23:04:48 +0000 (01:04 +0200)] 
build: fix kernel version info

16 years agoXtables-addons 1.17 v1.17
Jan Engelhardt [Tue, 16 Jun 2009 14:25:53 +0000 (16:25 +0200)] 
Xtables-addons 1.17

16 years agobuild: support for Linux 2.6.30
kd6lvw [Thu, 11 Jun 2009 02:01:17 +0000 (19:01 -0700)] 
build: support for Linux 2.6.30

Fix a compile error with xt_quota2. Linux kernel commit
v2.6.29-7544-g3ba113d removed the "owner" member.

16 years agobuild: use readlink -f in extensions/ipset/
kd6lvw [Thu, 11 Jun 2009 02:01:17 +0000 (19:01 -0700)] 
build: use readlink -f in extensions/ipset/

Supplement to v1.5.7-5-gf373750.

16 years agoIPMARK: print missing --shift parameter
Marek Michalkiewicz [Wed, 10 Jun 2009 16:09:24 +0000 (18:09 +0200)] 
IPMARK: print missing --shift parameter

16 years agoXtables-addons 1.16 v1.16
Jan Engelhardt [Wed, 27 May 2009 12:52:04 +0000 (14:52 +0200)] 
Xtables-addons 1.16

16 years agoipset: fast forward to 3.0
Jan Engelhardt [Wed, 27 May 2009 12:49:39 +0000 (14:49 +0200)] 
ipset: fast forward to 3.0

16 years agoRAWNAT: make iptable_rawpost compile with 2.6.30-rc5
Jan Engelhardt [Fri, 15 May 2009 16:35:53 +0000 (18:35 +0200)] 
RAWNAT: make iptable_rawpost compile with 2.6.30-rc5

16 years agoextensions: bump revision number to avoid possible POM clash
Jan Engelhardt [Thu, 14 May 2009 19:42:05 +0000 (21:42 +0200)] 
extensions: bump revision number to avoid possible POM clash

Users still using a kernel with POM modules may have problems due to
differing binary structures. Bump the revision numbers of the
Xtables-addons modules, to make them distinct from POM.

16 years agoSYSRQ: enable userspace module for multiprotocol
Jan Engelhardt [Thu, 14 May 2009 19:39:48 +0000 (21:39 +0200)] 
SYSRQ: enable userspace module for multiprotocol

16 years agoiface: enable for multiprotocol
Jan Engelhardt [Thu, 14 May 2009 19:37:55 +0000 (21:37 +0200)] 
iface: enable for multiprotocol

16 years agoSTEAL: enable for multiprotocol
Jan Engelhardt [Thu, 14 May 2009 19:34:47 +0000 (21:34 +0200)] 
STEAL: enable for multiprotocol

16 years agoXtables-addons 1.15 v1.15
Jan Engelhardt [Thu, 30 Apr 2009 18:58:23 +0000 (20:58 +0200)] 
Xtables-addons 1.15

16 years agoMerge branch 'RAWNAT'
Jan Engelhardt [Thu, 30 Apr 2009 18:35:59 +0000 (20:35 +0200)] 
Merge branch 'RAWNAT'

16 years agocompat_xtables: fix compilation with <= 2.6.19
Jan Engelhardt [Thu, 30 Apr 2009 18:23:52 +0000 (20:23 +0200)] 
compat_xtables: fix compilation with <= 2.6.19

Once upon a time there was no such checksumming...

16 years agoMerge branch 'iface'
Jan Engelhardt [Thu, 30 Apr 2009 17:41:56 +0000 (19:41 +0200)] 
Merge branch 'iface'

16 years agoiface: fix compilation with <= 2.6.27
Jan Engelhardt [Tue, 28 Apr 2009 08:05:58 +0000 (10:05 +0200)] 
iface: fix compilation with <= 2.6.27

Need to include compat_xtables.h to get all the definitions for older
kernels.
Also, net namespaces are not available before 2.6.24.

16 years agoiface: remove unused .data field
Jan Engelhardt [Tue, 28 Apr 2009 08:04:36 +0000 (10:04 +0200)] 
iface: remove unused .data field

Neither is it anywhere used, but compat_xtables does not provide it
either.

16 years agobuild: reword RH5-unsupported warning
Jan Engelhardt [Mon, 27 Apr 2009 23:41:57 +0000 (01:41 +0200)] 
build: reword RH5-unsupported warning

16 years agoMerge branch 'iface'
Jan Engelhardt [Mon, 27 Apr 2009 18:50:05 +0000 (20:50 +0200)] 
Merge branch 'iface'

16 years agoiface: must use __u types in header files
Jan Engelhardt [Mon, 27 Apr 2009 18:46:25 +0000 (20:46 +0200)] 
iface: must use __u types in header files

16 years agoiface: move private struct xt_iface_flag_pairs to .c file
Jan Engelhardt [Mon, 27 Apr 2009 18:46:09 +0000 (20:46 +0200)] 
iface: move private struct xt_iface_flag_pairs to .c file

16 years agoiface: update documentation
Jan Engelhardt [Sun, 26 Apr 2009 21:19:07 +0000 (23:19 +0200)] 
iface: update documentation

For one, the tabs must go as they cause alignment problems. Also
update the manpage with proper markup.

16 years agoiface: replace --lower_up by --lower-up
Jan Engelhardt [Sun, 26 Apr 2009 20:22:20 +0000 (22:22 +0200)] 
iface: replace --lower_up by --lower-up

16 years agoiface: remove --promiscous flag
Jan Engelhardt [Sun, 26 Apr 2009 20:21:27 +0000 (22:21 +0200)] 
iface: remove --promiscous flag

The spelling is difficult (actually it is "promiscuous"), and one
option should be enough. Keeping --promisc.

16 years agoiface: remove redundant fields and use bool
Jan Engelhardt [Sun, 26 Apr 2009 20:13:06 +0000 (22:13 +0200)] 
iface: remove redundant fields and use bool

16 years agoiface: constify data arrays
Jan Engelhardt [Sun, 26 Apr 2009 20:13:05 +0000 (22:13 +0200)] 
iface: constify data arrays

16 years agoiface: remove define for internal array size
Jan Engelhardt [Sun, 26 Apr 2009 20:07:43 +0000 (22:07 +0200)] 
iface: remove define for internal array size

The macro was only used inside kernel code and not relevant to
user-space anyway.

16 years agoiface: dissolve module name/revision macros
Jan Engelhardt [Sun, 26 Apr 2009 20:07:43 +0000 (22:07 +0200)] 
iface: dissolve module name/revision macros

The module name will unlikely be changing anytime soon. And if the
revision increases, we cannot just bump the number (well, in
Xtables-addons we can, but it would not be the case for the core
kernel). So let's not get into bad habits.

16 years agoiface: remove version/revision from helptext
Jan Engelhardt [Sun, 26 Apr 2009 20:01:30 +0000 (22:01 +0200)] 
iface: remove version/revision from helptext

XTABLES_VERSION does not contain anything meaningful to display.
Printing the revision is not of value too, I think.

16 years agoiface: use NFPROTO_*
Jan Engelhardt [Sun, 26 Apr 2009 19:59:41 +0000 (21:59 +0200)] 
iface: use NFPROTO_*

16 years agoiface: some command decoupling
Jan Engelhardt [Sun, 26 Apr 2009 19:56:53 +0000 (21:56 +0200)] 
iface: some command decoupling

16 years agoiface: remove redundant parentheses
Jan Engelhardt [Sun, 26 Apr 2009 19:56:25 +0000 (21:56 +0200)] 
iface: remove redundant parentheses

16 years agoMerge branch 'RAWNAT'
Jan Engelhardt [Sun, 26 Apr 2009 19:47:43 +0000 (21:47 +0200)] 
Merge branch 'RAWNAT'

16 years agoRAWNAT: add extension's kernel and userspace modules
Jan Engelhardt [Thu, 26 Mar 2009 19:37:00 +0000 (20:37 +0100)] 
RAWNAT: add extension's kernel and userspace modules

RAWNAT provides stateless 1:1 network address translation.

16 years agobuild: add kernel version check to configure
Jan Engelhardt [Sun, 26 Apr 2009 18:22:40 +0000 (20:22 +0200)] 
build: add kernel version check to configure

16 years agocondition: fix intrapositional negation sign
Roman Hoog Antink [Fri, 17 Apr 2009 13:35:02 +0000 (15:35 +0200)] 
condition: fix intrapositional negation sign

16 years agocondition: compile fix for 2.6.30-rc
Bryan Duff [Wed, 15 Apr 2009 14:07:26 +0000 (09:07 -0500)] 
condition: compile fix for 2.6.30-rc

16 years agodoc: update changelog
Jan Engelhardt [Tue, 14 Apr 2009 19:43:13 +0000 (21:43 +0200)] 
doc: update changelog

16 years agoUpdated ChangeLog for release
Thomas Jarosch [Tue, 14 Apr 2009 15:23:30 +0000 (17:23 +0200)] 
Updated ChangeLog for release

16 years agoRAWNAT: add the rawpost tables for IPv4/IPv6
Jan Engelhardt [Thu, 26 Mar 2009 19:03:41 +0000 (20:03 +0100)] 
RAWNAT: add the rawpost tables for IPv4/IPv6

16 years agoMerge branch 'sf/master'
Jan Engelhardt [Fri, 10 Apr 2009 22:33:23 +0000 (00:33 +0200)] 
Merge branch 'sf/master'

16 years agoipp2p: fix typo in error message
Jan Engelhardt [Fri, 10 Apr 2009 17:42:59 +0000 (19:42 +0200)] 
ipp2p: fix typo in error message

Reference: http://bugs.gentoo.org/show_bug.cgi?id=250407
Reported-by: Mike <empx@gmx.de>
16 years agoipp2p: fix bogus varargs call
Jan Engelhardt [Fri, 10 Apr 2009 17:34:50 +0000 (19:34 +0200)] 
ipp2p: fix bogus varargs call

Reference: http://bugs.gentoo.org/show_bug.cgi?id=250407
Reported-by: Mike <empx@gmx.de>
16 years agoSupport for 2.6.28 and 2.6.29
Thomas Jarosch [Wed, 8 Apr 2009 14:57:04 +0000 (16:57 +0200)] 
Support for 2.6.28 and 2.6.29

16 years agoiface: remove DEBUGP
Jan Engelhardt [Sun, 5 Apr 2009 08:59:12 +0000 (10:59 +0200)] 
iface: remove DEBUGP

16 years agoiface: remove redundant functions
Jan Engelhardt [Sun, 5 Apr 2009 08:50:45 +0000 (10:50 +0200)] 
iface: remove redundant functions

16 years agoiface: import version 20081029
Jan Engelhardt [Sun, 5 Apr 2009 08:37:05 +0000 (10:37 +0200)] 
iface: import version 20081029

16 years agofuzzy: fix bogus comparison logic leftover from move to new 1.4.3 API
Jan Engelhardt [Sun, 5 Apr 2009 08:36:16 +0000 (10:36 +0200)] 
fuzzy: fix bogus comparison logic leftover from move to new 1.4.3 API

16 years agodhcpmac: fix rename leftover from typo
Jriri Moravec [Fri, 3 Apr 2009 01:14:00 +0000 (03:14 +0200)] 
dhcpmac: fix rename leftover from typo

16 years agoipp2p: print ipp2p module name when run from `iptables -L`
Jan Engelhardt [Fri, 3 Apr 2009 22:45:20 +0000 (00:45 +0200)] 
ipp2p: print ipp2p module name when run from `iptables -L`

16 years agoSYSRQ: fix manpage typo
Eray Aslan [Thu, 2 Apr 2009 08:24:34 +0000 (11:24 +0300)] 
SYSRQ: fix manpage typo

16 years agoXtables-addons 1.14 v1.14
Jan Engelhardt [Tue, 31 Mar 2009 20:55:29 +0000 (22:55 +0200)] 
Xtables-addons 1.14

16 years agoSYSRQ: do proper L4 header access in IPv6 code
Jan Engelhardt [Fri, 27 Mar 2009 19:29:43 +0000 (20:29 +0100)] 
SYSRQ: do proper L4 header access in IPv6 code

16 years agoSYSRQ: ignore non-UDP packets
Jan Engelhardt [Fri, 27 Mar 2009 19:27:03 +0000 (20:27 +0100)] 
SYSRQ: ignore non-UDP packets

16 years agolayer: block use of DEBUGP
Jan Engelhardt [Thu, 26 Mar 2009 23:00:44 +0000 (00:00 +0100)] 
layer: block use of DEBUGP

As per "Writing Netfilter Modules" e-book 20090326 section 4.8, one
should use pr_debug instead.

16 years agodhcpmac: rename from dhcpaddr
Jan Engelhardt [Thu, 26 Mar 2009 20:55:10 +0000 (21:55 +0100)] 
dhcpmac: rename from dhcpaddr

16 years agodesc: add informational Kconfig descriptions
Jan Engelhardt [Thu, 26 Mar 2009 20:32:44 +0000 (21:32 +0100)] 
desc: add informational Kconfig descriptions

16 years agoUpdate my email address
Jan Engelhardt [Wed, 25 Mar 2009 21:10:42 +0000 (22:10 +0100)] 
Update my email address

16 years agoAdd the "STEAL" target from the "demos" branch
Jan Engelhardt [Wed, 25 Mar 2009 18:29:45 +0000 (19:29 +0100)] 
Add the "STEAL" target from the "demos" branch

16 years agolibxt_geoip: geoip: remove XT_ALIGN from .userspacesize when used with offsetof
Jan Engelhardt [Tue, 24 Mar 2009 07:27:41 +0000 (08:27 +0100)] 
libxt_geoip: geoip: remove XT_ALIGN from .userspacesize when used with offsetof

XT_ALIGN rounds up to the nearest multiple of 64 bits, but that is wrong
for .userspacesize if it is less than .matchsize/.targetsize.

16 years agolibxt_fuzzy: need to account for kernel-level modified variables in .userspacesize
Changli Gao [Tue, 24 Mar 2009 05:27:01 +0000 (13:27 +0800)] 
libxt_fuzzy: need to account for kernel-level modified variables in .userspacesize

When reviewing the code, I found there maybe a bug in libxt_fuzzy.c.
If a user wants to delete this match, he will get an error reported,
and the command fails. As the fields after maximum_rate in
xt_fuzzy_mtinfo will be altered in kernel space, we should assign the
userspacesize with the value offsetof(struct xt_fuzzy_mtinfo,
packets_total) instead.

16 years agoXtables-addons 1.13 v1.13
Jan Engelhardt [Mon, 23 Mar 2009 14:50:42 +0000 (15:50 +0100)] 
Xtables-addons 1.13

16 years agoUpgrade to iptables 1.4.3 API
Jan Engelhardt [Thu, 19 Mar 2009 10:01:45 +0000 (11:01 +0100)] 
Upgrade to iptables 1.4.3 API

16 years agoMerge branch 'ipv4options'
Jan Engelhardt [Thu, 19 Mar 2009 10:03:26 +0000 (11:03 +0100)] 
Merge branch 'ipv4options'

16 years agolibxt_ipv4options: add manpage
Jan Engelhardt [Wed, 11 Mar 2009 16:22:56 +0000 (17:22 +0100)] 
libxt_ipv4options: add manpage

16 years agoAdd a reworked IPv4 options match - xt_ipv4options
Jan Engelhardt [Sun, 8 Mar 2009 22:38:12 +0000 (23:38 +0100)] 
Add a reworked IPv4 options match - xt_ipv4options

This revision 1 of ipv4options makes it possible to match the
presence or absence of any of the 32 possible IP options, either all
or any of the options the user specified.

16 years agoXtables-addons 1.12 v1.12
Jan Engelhardt [Sat, 7 Mar 2009 02:24:21 +0000 (03:24 +0100)] 
Xtables-addons 1.12

16 years agobuild: fix compile issues with <= 2.6.19
Jan Engelhardt [Sat, 7 Mar 2009 01:58:36 +0000 (02:58 +0100)] 
build: fix compile issues with <= 2.6.19

Resolve compile breakage from commits
36f80be2f7d496469690045d7dc754cfd0e02cb0 and
7b9ca945d4be0d6a12511a434ab329f3ad2b218d.

16 years agoipset: fast forward to 2.5.0
Jan Engelhardt [Sat, 7 Mar 2009 00:33:31 +0000 (01:33 +0100)] 
ipset: fast forward to 2.5.0

16 years agoxt_TEE: enable routing by iif, nfmark and flowlabel
Jan Engelhardt [Sat, 7 Mar 2009 00:20:39 +0000 (01:20 +0100)] 
xt_TEE: enable routing by iif, nfmark and flowlabel

Patrick McHardy suggests in
http://marc.info/?l=netfilter-devel&m=123564267330117&w=2 that
routing should handle the clone more like its original.

16 years agoxt_LOGMARK: print incoming interface index
Jan Engelhardt [Sat, 7 Mar 2009 00:15:48 +0000 (01:15 +0100)] 
xt_LOGMARK: print incoming interface index