]> git.ipfire.org Git - thirdparty/xtables-addons.git/log
thirdparty/xtables-addons.git
15 years agopknock: use bools for two-state ints
Jan Engelhardt [Tue, 29 Sep 2009 23:29:11 +0000 (01:29 +0200)] 
pknock: use bools for two-state ints

15 years agopknock: use explicit tests for non-bool types
Jan Engelhardt [Tue, 29 Sep 2009 23:26:06 +0000 (01:26 +0200)] 
pknock: use explicit tests for non-bool types

15 years agopknock: split long instructions, esp. allocations in if()
Jan Engelhardt [Tue, 29 Sep 2009 23:16:08 +0000 (01:16 +0200)] 
pknock: split long instructions, esp. allocations in if()

15 years agopknock: fix return values and memleak in has_secret
Jan Engelhardt [Tue, 29 Sep 2009 23:11:24 +0000 (01:11 +0200)] 
pknock: fix return values and memleak in has_secret

First, there is a memory leak - when the crypto functions fail,
hexresult was not freed. Second, in that error case, the return value
is simply passed up to the caller, ignoring the different meanings of
0 and 1 between crypto and pknock.

15 years agopknock: remove initialization of data where not needed
Jan Engelhardt [Tue, 29 Sep 2009 22:48:24 +0000 (00:48 +0200)] 
pknock: remove initialization of data where not needed

bss will be set to zero anyway.
For automatic variables, the preinit is not always needed
(gcc will warn about it).

15 years agopknock: use unsigned qualifiers where they are due
Jan Engelhardt [Tue, 29 Sep 2009 22:57:23 +0000 (00:57 +0200)] 
pknock: use unsigned qualifiers where they are due

15 years agopknock: remove pointless casts
Jan Engelhardt [Tue, 29 Sep 2009 22:26:35 +0000 (00:26 +0200)] 
pknock: remove pointless casts

15 years agopknock: add const qualifiers
Jan Engelhardt [Tue, 29 Sep 2009 22:22:32 +0000 (00:22 +0200)] 
pknock: add const qualifiers

15 years agopknock: remove pointless sizeof(char)
Jan Engelhardt [Tue, 29 Sep 2009 22:09:07 +0000 (00:09 +0200)] 
pknock: remove pointless sizeof(char)

sizeof(char) is defined to be 1, anyway.

15 years agopknock: return -ENXIO for problems during init
Jan Engelhardt [Tue, 29 Sep 2009 22:05:42 +0000 (00:05 +0200)] 
pknock: return -ENXIO for problems during init

Some functions like the crypto init or proc_mkdir do not return an
error value. Replace the -1, which is actually EPERM, and looks a
little out of place, and use ENXIO instead. (After all, the requested
objects were not there after the request of initialization.)

15 years agopknock: guard off crypto code from kernels before 2.6.19
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
pknock: guard off crypto code from kernels before 2.6.19

15 years agopknock: rename DEBUGP to pk_debug and always enable
Jan Engelhardt [Tue, 29 Sep 2009 21:06:40 +0000 (23:06 +0200)] 
pknock: rename DEBUGP to pk_debug and always enable

Since pr_debug depends on #if DEBUG anyway, there is no need to
contain DEBUGP/pk_debug within a further if. Rename from DEBUGP to
pk_debug, because DEBUGP is flagged by Xtables-addons (- and that's
good so, because often DEBUGPs should have been pr_debug instead).

15 years agopknock: replace printks by pr_debug
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
pknock: replace printks by pr_debug

The printk calls were protected using #if DEBUG anyway, so they can
just be changed to pr_debug. pr_debug also depends on #if DEBUG, and
takes care of the module prefix.

15 years agopknock: avoid accidental deletion of rules
Jan Engelhardt [Tue, 29 Sep 2009 20:58:35 +0000 (22:58 +0200)] 
pknock: avoid accidental deletion of rules

If DEBUG was not defined, and no rule was effectively found, the
"rule" variable may still be non-NULL, and possibly cause deletion.
Therefore, always check for the rule having been found.

15 years agopknock: drop evil-tinygram warning messages
Jan Engelhardt [Tue, 29 Sep 2009 17:42:36 +0000 (19:42 +0200)] 
pknock: drop evil-tinygram warning messages

The duprintf macro then also becomes unneeded.

15 years agopknock: bump internal match revision number
Jan Engelhardt [Tue, 29 Sep 2009 17:38:53 +0000 (19:38 +0200)] 
pknock: bump internal match revision number

Do this so that previous iptables installations do not mistakenly
operate with our new xt_pknock.

15 years agopknock: move struct ipt_pknock_crypto to xt_pknock.c
Jan Engelhardt [Tue, 29 Sep 2009 17:32:18 +0000 (19:32 +0200)] 
pknock: move struct ipt_pknock_crypto to xt_pknock.c

It is only used in xt_pknock.c, and only once, so also make it an
anonymous struct.

15 years agopknock: only use size-fixated types
Jan Engelhardt [Tue, 29 Sep 2009 17:12:13 +0000 (19:12 +0200)] 
pknock: only use size-fixated types

Types with variadic size are a no-no.

15 years agopknock: improve sizeof(struct ipt_pknock) by relayouting members
Jan Engelhardt [Tue, 29 Sep 2009 17:07:44 +0000 (19:07 +0200)] 
pknock: improve sizeof(struct ipt_pknock) by relayouting members

Stuffing struct holes as reported by pahole(1).

15 years agopknock: improve sizeof(struct ipt_pknock) by using "even" field sizes
Jan Engelhardt [Tue, 29 Sep 2009 13:17:26 +0000 (15:17 +0200)] 
pknock: improve sizeof(struct ipt_pknock) by using "even" field sizes

The field sizes were 33, which makes for lots of padding holes.

15 years agopknock: renaming of functions and prefix-name
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
pknock: renaming of functions and prefix-name

15 years agopknock: add MODULE_ALIAS for pknock
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
pknock: add MODULE_ALIAS for pknock

Needed for autoloading.

15 years agopknock: fit to Xtables-addons API
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
pknock: fit to Xtables-addons API

15 years agopknock: import pknock trunk@463
Jan Engelhardt [Tue, 29 Sep 2009 12:00:59 +0000 (14:00 +0200)] 
pknock: import pknock trunk@463

15 years agoMerge branch 'psd'
Jan Engelhardt [Fri, 25 Sep 2009 22:19:57 +0000 (00:19 +0200)] 
Merge branch 'psd'

15 years agoUpdate .gitignore files
Jan Engelhardt [Fri, 25 Sep 2009 22:12:59 +0000 (00:12 +0200)] 
Update .gitignore files

15 years agobuild: require at least automake 1.10
Jan Engelhardt [Fri, 25 Sep 2009 22:11:35 +0000 (00:11 +0200)] 
build: require at least automake 1.10

Automake 1.10 seems to be the first to set abs_srcdir and such.

15 years agobuild: restore parallel build capability
Jan Engelhardt [Fri, 25 Sep 2009 19:18:09 +0000 (21:18 +0200)] 
build: restore parallel build capability

It seems that ${MAKE} must be in the first expansion level.

15 years agoMerge branch 'ACCOUNT'
Jan Engelhardt [Fri, 25 Sep 2009 13:07:46 +0000 (15:07 +0200)] 
Merge branch 'ACCOUNT'

15 years agoACCOUNT: move manpage into ACCOUNT/ directory
Jan Engelhardt [Wed, 23 Sep 2009 23:52:42 +0000 (01:52 +0200)] 
ACCOUNT: move manpage into ACCOUNT/ directory

15 years agoACCOUNT/userspace: use bool type
Jan Engelhardt [Wed, 23 Sep 2009 23:46:08 +0000 (01:46 +0200)] 
ACCOUNT/userspace: use bool type

15 years agoACCOUNT/userspace: remove pointless casts
Jan Engelhardt [Wed, 23 Sep 2009 23:44:34 +0000 (01:44 +0200)] 
ACCOUNT/userspace: remove pointless casts

15 years agoACCOUNT/userspace: remove static zero initializers
Jan Engelhardt [Wed, 23 Sep 2009 23:42:17 +0000 (01:42 +0200)] 
ACCOUNT/userspace: remove static zero initializers

15 years agoACCOUNT/userspace: simple reformat, use tabs instead of spaces
Jan Engelhardt [Wed, 23 Sep 2009 23:40:32 +0000 (01:40 +0200)] 
ACCOUNT/userspace: simple reformat, use tabs instead of spaces

15 years agoACCOUNT/userspace: remove trailing whitespace
Jan Engelhardt [Wed, 23 Sep 2009 23:35:45 +0000 (01:35 +0200)] 
ACCOUNT/userspace: remove trailing whitespace

15 years agoACCOUNT: import userspace utilities
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
ACCOUNT: import userspace utilities

15 years agoACCOUNT: move xt_ACCOUNT into its own subdirectory
Jan Engelhardt [Wed, 23 Sep 2009 22:44:39 +0000 (00:44 +0200)] 
ACCOUNT: move xt_ACCOUNT into its own subdirectory

Will be adding related userspace programs shortly, and an extra
directory for the same reason it is for ipset/.

15 years agoMerge branch 'master' into ACCOUNT
Jan Engelhardt [Wed, 23 Sep 2009 23:00:10 +0000 (01:00 +0200)] 
Merge branch 'master' into ACCOUNT

15 years agobuild: enable automake for extensions/ directory
Jan Engelhardt [Sun, 20 Sep 2009 16:55:16 +0000 (18:55 +0200)] 
build: enable automake for extensions/ directory

Because we are likely to be having more userspace programs soon, and
reproducing manual makefiles is a bad idea, make extensions/ ready
for automake traversal. The build pattern now is:

1.  toplevel Makefile.am starts off with extensions/Makefile.am

2.  Makefile.am

    a.  builds programs in current directory

    b.  runs Kbuild
        - only from extensions/Makefile.am
          (so it does not get reinvoked from case 2cII)
        - Kbuild recurses on its own

    c.  runs Mbuild
        I.  builds iptables shared libraries in current directory
        II. runs Makefile.am in each subdir (goto step 2.)

15 years agobuild: use automake in ipset/
Jan Engelhardt [Sat, 19 Sep 2009 18:11:59 +0000 (20:11 +0200)] 
build: use automake in ipset/

15 years agoACCOUNT: add Kconfig file
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
ACCOUNT: add Kconfig file

15 years agobuild: stable version number detection fix
Jan Engelhardt [Sat, 12 Sep 2009 00:41:58 +0000 (02:41 +0200)] 
build: stable version number detection fix

15 years agoipset: fix compile error on 2.6.31-rt
Jan Engelhardt [Sat, 12 Sep 2009 00:14:00 +0000 (02:14 +0200)] 
ipset: fix compile error on 2.6.31-rt

ip_set.c:42:8: warning: type defaults to 'int' in declaration of
'DECLARE_MUTEX'

2.6.31-rt has cleaned up the naming mess in semaphore.h. Without
making use of #if hackery, we can use struct semaphore as declaration
plus an explicit sema_init() call.

15 years agoACCOUNT: fix pre-2.6.27 compilation error
Jan Engelhardt [Sat, 12 Sep 2009 00:27:26 +0000 (02:27 +0200)] 
ACCOUNT: fix pre-2.6.27 compilation error

xt_ACCOUNT.c:33:29: fatal error: linux/semaphore.h: No such file or
directory compilation terminated.

15 years agocondition: fix compile error on 2.6.31-rt
Jan Engelhardt [Sat, 12 Sep 2009 00:12:16 +0000 (02:12 +0200)] 
condition: fix compile error on 2.6.31-rt

xt_condition.c:58:8: warning: type defaults to 'int' in declaration
of 'DECLARE_MUTEX'

15 years agoACCOUNT: fix compile error on realtime kernels
Jan Engelhardt [Fri, 11 Sep 2009 19:46:12 +0000 (21:46 +0200)] 
ACCOUNT: fix compile error on realtime kernels

xt_ACCOUNT.c:1040: error: implicit declaration of function 'init_MUTEX'

15 years agopsd: byteswap constant value instead
Florian Westphal [Fri, 11 Sep 2009 09:05:55 +0000 (11:05 +0200)] 
psd: byteswap constant value instead

htons(CONSTANT) is computed at compile time.
reduces .text by 4 bytes on x86.

Signed-off-by: Florian Westphal <fwestphal@astaro.com>
15 years agopsd: use skb_header_pointer
Florian Westphal [Fri, 11 Sep 2009 09:05:54 +0000 (11:05 +0200)] 
psd: use skb_header_pointer

Do not rely on tcphdr being in the linear area.

Signed-off-by: Florian Westphal <fwestphal@astaro.com>
15 years agoXtables-addons 1.18 v1.18
Jan Engelhardt [Wed, 9 Sep 2009 15:37:07 +0000 (17:37 +0200)] 
Xtables-addons 1.18

15 years agoMerge branch 'psd'
Jan Engelhardt [Wed, 9 Sep 2009 15:27:28 +0000 (17:27 +0200)] 
Merge branch 'psd'

15 years agoMerge branch 'ACCOUNT'
Jan Engelhardt [Wed, 9 Sep 2009 15:26:00 +0000 (17:26 +0200)] 
Merge branch 'ACCOUNT'

15 years agoACCOUNT: remove pointless casts
Jan Engelhardt [Sat, 5 Sep 2009 02:34:10 +0000 (04:34 +0200)] 
ACCOUNT: remove pointless casts

15 years agoACCOUNT: remove static initializers to zero
Jan Engelhardt [Thu, 3 Sep 2009 11:45:13 +0000 (13:45 +0200)] 
ACCOUNT: remove static initializers to zero

These are not needed, .bss is zeroed.

15 years agoACCOUNT: tweak base ctl number for setsockopts
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
ACCOUNT: tweak base ctl number for setsockopts

IPT_BASE_CTL+3 is already used IPT_SO_GET_REVISION_TARGET and
therefore must not be used by extensions.

15 years agoMerge branch 'ipset'
Jan Engelhardt [Sat, 5 Sep 2009 01:49:47 +0000 (03:49 +0200)] 
Merge branch 'ipset'

15 years agoipset: fix compile error with 2.6.20
Jan Engelhardt [Mon, 31 Aug 2009 22:50:27 +0000 (00:50 +0200)] 
ipset: fix compile error with 2.6.20

$e/ipset/ip_set_iptree.c: In function "iptree_test":
$e/ipset/ip_set_iptree.c:84:6: warning: implicit declaration of
function "time_after"
$e/ipset/ip_set_iptree.c:84:39: error: "jiffies" undeclared (first
use in this function)
$e/ipset/ip_set_iptree.c:84:39: error: (Each undeclared identifier is
reported only once
$e/ipset/ip_set_iptree.c:84:39: error: for each function it appears
in.)
$e/ipset/ip_set_iptree.c: In function "iptree_add":
$e/ipset/ip_set_iptree.c:130:57: error: "jiffies" undeclared (first
use in this function)
$e/ipset/ip_set_iptree.c:134:48: error: "HZ" undeclared (first use in
this function)
$e/ipset/ip_set_iptree.c: In function "ip_tree_gc":
$e/ipset/ip_set_iptree.c:214:8: warning: implicit declaration of
function "time_before"
$e/ipset/ip_set_iptree.c:214:42: error: "jiffies" undeclared (first
use in this function)
$e/ipset/ip_set_iptree.c:258:49: error: "HZ" undeclared (first use in
this function)
$e/ipset/ip_set_iptree.c: In function "init_gc_timer":
$e/ipset/ip_set_iptree.c:274:20: error: "jiffies" undeclared (first
use in this function)
$e/ipset/ip_set_iptree.c:274:49: error: "HZ" undeclared (first use in
this function)
$e/ipset/ip_set_iptree.c: In function "iptree_list_members_size":
$e/ipset/ip_set_iptree.c:380:58: error: "jiffies" undeclared (first
use in this function)
$e/ipset/ip_set_iptree.c: In function "iptree_list_members":
$e/ipset/ip_set_iptree.c:407:58: error: "jiffies" undeclared (first
use in this function)
$e/ipset/ip_set_iptree.c:411:37: error: "HZ" undeclared (first use in
this function)

$e/ipset/ip_set_iptreemap.c: In function "gc":
$e/ipset/ip_set_iptreemap.c:456:20: error: "jiffies" undeclared
(first use in this function)
$e/ipset/ip_set_iptreemap.c:456:20: error: (Each undeclared
identifier is reported only once
$e/ipset/ip_set_iptreemap.c:456:20: error: for each function it
appears in.)
$e/ipset/ip_set_iptreemap.c:456:49: error: "HZ" undeclared (first use
in this function)
$e/ipset/ip_set_iptreemap.c: In function "init_gc_timer":
$e/ipset/ip_set_iptreemap.c:468:20: error: "jiffies" undeclared
(first use in this function)
$e/ipset/ip_set_iptreemap.c:468:49: error: "HZ" undeclared (first use
in this function)

15 years agoipset: fast forward to v3.2
Jan Engelhardt [Fri, 21 Aug 2009 14:03:50 +0000 (16:03 +0200)] 
ipset: fast forward to v3.2

15 years agoACCOUNT: add kernel module metadata and alias
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
ACCOUNT: add kernel module metadata and alias

15 years agoACCOUNT: manpage updates
Jan Engelhardt [Sat, 5 Sep 2009 01:26:26 +0000 (03:26 +0200)] 
ACCOUNT: manpage updates

- expand "f.e."
- escape dashes where appropriate
- fB/fI formatting

15 years agoACCOUNT: supply manpage
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
ACCOUNT: supply manpage

15 years agoACCOUNT: direct-inline two short functions
Jan Engelhardt [Sat, 5 Sep 2009 01:22:23 +0000 (03:22 +0200)] 
ACCOUNT: direct-inline two short functions

15 years agoACCOUNT: remove compat glue from libxt_ACCOUNT
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
ACCOUNT: remove compat glue from libxt_ACCOUNT

15 years agoACCOUNT: use non-clashing function names
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
ACCOUNT: use non-clashing function names

[jengelh: It is just impossible to set a breakpoint right on functions
if all modules call or/use the same symbol name.]

15 years agoACCOUNT: utilize compat_xtables.h for backwards compatibility
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
ACCOUNT: utilize compat_xtables.h for backwards compatibility

15 years agoACCOUNT: replace own DEBUGP by kernel's pr_debug
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
ACCOUNT: replace own DEBUGP by kernel's pr_debug

15 years agoACCOUNT: remove manual compat support
Jan Rafaj [Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)] 
ACCOUNT: remove manual compat support

15 years agoACCOUNT: simple reformat, use tabs instead of spaces
Jan Engelhardt [Sat, 5 Sep 2009 01:01:37 +0000 (03:01 +0200)] 
ACCOUNT: simple reformat, use tabs instead of spaces

The result is not perfect, but at more manageable.

15 years agoACCOUNT: remove trailing whitespace
Jan Engelhardt [Sat, 5 Sep 2009 00:40:18 +0000 (02:40 +0200)] 
ACCOUNT: remove trailing whitespace

15 years agoImport ACCOUNT kernel and iptables modules
Jan Engelhardt [Thu, 3 Sep 2009 11:20:43 +0000 (13:20 +0200)] 
Import ACCOUNT kernel and iptables modules

Reference: git://developer.intra2net.com/ipt_ACCOUNT # v1.15-1-gfb4dd1a

15 years agobuild: enable fully parallel builds
Jan Engelhardt [Fri, 28 Aug 2009 10:32:52 +0000 (12:32 +0200)] 
build: enable fully parallel builds

Make make happy by using ${MAKE} instead of make.

15 years agopsd: move pr_ prefix into pr_fmt
Jan Engelhardt [Fri, 28 Aug 2009 10:32:23 +0000 (12:32 +0200)] 
psd: move pr_ prefix into pr_fmt

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 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 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.