]> git.ipfire.org Git - thirdparty/iptables.git/log
thirdparty/iptables.git
11 years agonft: remove license for header file
Pablo Neira Ayuso [Sat, 23 Feb 2013 18:36:46 +0000 (19:36 +0100)] 
nft: remove license for header file

No tradition in the project to include the header file in .h file.
This one is also internal - not exported.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables-save: add -4 and -6 support
Pablo Neira Ayuso [Sat, 23 Feb 2013 17:30:36 +0000 (18:30 +0100)] 
xtables-save: add -4 and -6 support

Now you can specify:

 xtables-save -6 > my-ip6tables-ruleset

to dump the IPv6 rule-set.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables-restore: add -4 and -6 support
Pablo Neira Ayuso [Sat, 23 Feb 2013 17:27:08 +0000 (18:27 +0100)] 
xtables-restore: add -4 and -6 support

Now you can specify:

 xtables-restore -6 < my-ip6tables-ruleset

to restore the IPv6 rule-set.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agonft: Split nft core to become family independant
Tomasz Bursztyka [Sat, 23 Feb 2013 16:50:31 +0000 (17:50 +0100)] 
nft: Split nft core to become family independant

This makes nft core code independant from the family. Each family needs
to implement and provide a struct nft_family_ops {}.

This split will ease the future support of bridge and arp rules manipulations.

[ updated header files and rebased upon the current tree --pablo ]

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoadd xtables-events
Pablo Neira Ayuso [Sat, 9 Feb 2013 17:22:13 +0000 (18:22 +0100)] 
add xtables-events

Add new program to listen to rule updates:

shell$ xtables-events
-A INPUT -m state --state ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-D INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-D INPUT -m state --state ESTABLISHED -j ACCEPT

You can use `-c' option to display counters.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables: ipv6: fix -D with -p
Pablo Neira Ayuso [Sat, 9 Feb 2013 17:44:34 +0000 (18:44 +0100)] 
xtables: ipv6: fix -D with -p

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables: ipv6: add missing break in nft_parse_payload_ipv6
Pablo Neira Ayuso [Sat, 9 Feb 2013 17:35:48 +0000 (18:35 +0100)] 
xtables: ipv6: add missing break in nft_parse_payload_ipv6

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables: ipv6: fix wrong error if -p is used
Pablo Neira Ayuso [Sat, 9 Feb 2013 17:27:04 +0000 (18:27 +0100)] 
xtables: ipv6: fix wrong error if -p is used

shell$ xtables -6 -I INPUT -p tcp --dport 22 -j ACCEPT
xtables v1.4.15: -f is not valid on IPv6
Try `xtables -h' or 'xtables --help' for more information.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agonft: fix crash if TRACE is used
Pablo Neira Ayuso [Sun, 27 Jan 2013 22:19:49 +0000 (23:19 +0100)] 
nft: fix crash if TRACE is used

And any other match and target with no save function defined.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables-restore: support test option `-t'
Pablo Neira Ayuso [Sun, 20 Jan 2013 22:23:29 +0000 (23:23 +0100)] 
xtables-restore: support test option `-t'

You can now test if a rule-set is correct.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables: nft: add protocol and flags for xtables over nf_tables
Pablo Neira Ayuso [Fri, 25 Jan 2013 15:04:36 +0000 (16:04 +0100)] 
xtables: nft: add protocol and flags for xtables over nf_tables

Add protocol and flags for the compatibility layer.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables-restore: support atomic commit
Pablo Neira Ayuso [Sun, 20 Jan 2013 19:19:20 +0000 (20:19 +0100)] 
xtables-restore: support atomic commit

Use new services in nf_tables to support atomic commit.

Commit per table, although we support global commit at once,
call commit for each table to emulate iptables-restore
behaviour by now.

Keep table dormant/wake up code in iptables/nft.c as it can
be used in the future.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables: purge out user-define chains from the kernel
Pablo Neira Ayuso [Sun, 20 Jan 2013 21:32:43 +0000 (22:32 +0100)] 
xtables: purge out user-define chains from the kernel

xtables-restore has to purge out user-defined chains that are
not defined in the configuration file.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables: fix compilation warning
Pablo Neira Ayuso [Sun, 20 Jan 2013 19:24:36 +0000 (20:24 +0100)] 
xtables: fix compilation warning

xtables-standalone.c: In function ‘xtables_main’:
xtables-standalone.c:64:2: warning: implicit declaration of function ‘do_commandx’ [-Wimplicit-function-declaration]

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables-restore: fix custom user chain restoration
Pablo Neira Ayuso [Sun, 20 Jan 2013 19:18:02 +0000 (20:18 +0100)] 
xtables-restore: fix custom user chain restoration

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables: add IPv6 support
Tomasz Bursztyka [Sun, 13 Jan 2013 15:42:11 +0000 (16:42 +0100)] 
xtables: add IPv6 support

Summary of changes to add IPv6 support to the xtables utility:

* modify all commands (add, delete, replace, check and listing) to
  support IPv6 addresses.

And for the internal nft library:

* add family to struct nft_handle and modify all caller to use this
  family instead of the hardcoded AF_INET.
* move code that we can re-use for IPv4 and IPv6 into helper functions.
* add IPv6 rule printing support.
* add support to parse IPv6 address.

Pablo added several improvements to this patch:

* added basic xtables-save and xtables-restore support (so it defaults
  to IPv4)
* fixed a couple of bugs found while testing
* added reference when -f is used to point to -m frag (until we can make
  this consistent with IPv4).

Note that we use one single xtables binary utility for IPv4 and IPv6.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables: fix crash due to using wrong globals
Pablo Neira Ayuso [Sun, 30 Dec 2012 00:45:44 +0000 (01:45 +0100)] 
xtables: fix crash due to using wrong globals

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agonft: adapt chain rename to recent Patrick's updates
Pablo Neira Ayuso [Sat, 29 Dec 2012 19:05:55 +0000 (20:05 +0100)] 
nft: adapt chain rename to recent Patrick's updates

This patch gets existing code in sync with Patrick's chain
renaming new approach.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoxtables-restore: add support for dormant tables
Pablo Neira Ayuso [Mon, 19 Nov 2012 14:32:18 +0000 (15:32 +0100)] 
xtables-restore: add support for dormant tables

This patch adds support for dormant tables for xtables-restore.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoiptables: nft: use chain types
Pablo Neira Ayuso [Sat, 3 Nov 2012 12:43:22 +0000 (13:43 +0100)] 
iptables: nft: use chain types

We use the new special chain types defined in the kernel.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoiptables: nft: use 64-bits handle
Pablo Neira Ayuso [Sat, 3 Nov 2012 11:20:07 +0000 (12:20 +0100)] 
iptables: nft: use 64-bits handle

Now that we use that in kernel space and in libnftables.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoiptables: nft: remove __nft_check_rule
Pablo Neira Ayuso [Sat, 3 Nov 2012 11:16:54 +0000 (12:16 +0100)] 
iptables: nft: remove __nft_check_rule

Rework code to remove __nft_check_rule and split it into
logical fragments.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoiptables: nft: move priority to chain instead of table
Pablo Neira Ayuso [Sat, 3 Nov 2012 10:12:45 +0000 (11:12 +0100)] 
iptables: nft: move priority to chain instead of table

NAT table uses different chain priorities, adapt the existing
code to allow this.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoheaders: remove unused compatibility definitions
Pablo Neira Ayuso [Sat, 3 Nov 2012 10:09:30 +0000 (11:09 +0100)] 
headers: remove unused compatibility definitions

They belong to nf_tables_compat.h

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agonft: fix missing rule listing in custom chains with -L
Pablo Neira Ayuso [Thu, 1 Nov 2012 15:26:46 +0000 (16:26 +0100)] 
nft: fix missing rule listing in custom chains with -L

Reported-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoiptables: nft: Add support for -R option
Tomasz Bursztyka [Tue, 30 Oct 2012 23:31:08 +0000 (23:31 +0000)] 
iptables: nft: Add support for -R option

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
11 years agoiptables: nft: Refactor __nft_rule_check to return rule handle when relevant
Tomasz Bursztyka [Tue, 30 Oct 2012 23:31:07 +0000 (23:31 +0000)] 
iptables: nft: Refactor __nft_rule_check to return rule handle when relevant

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
11 years agoiptables: nft: Fix -D chain rulenum option
Tomasz Bursztyka [Tue, 30 Oct 2012 23:31:06 +0000 (23:31 +0000)] 
iptables: nft: Fix -D chain rulenum option

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
11 years agonft: Add support for chain rename options (-E)
Tomasz Bursztyka [Tue, 30 Oct 2012 23:31:05 +0000 (23:31 +0000)] 
nft: Add support for chain rename options (-E)

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
11 years agoheaders: Make nf_tables.h up to date
Tomasz Bursztyka [Tue, 30 Oct 2012 23:31:04 +0000 (23:31 +0000)] 
headers: Make nf_tables.h up to date

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
11 years agoiptables: nft: add -f support
Pablo Neira Ayuso [Mon, 29 Oct 2012 21:52:50 +0000 (22:52 +0100)] 
iptables: nft: add -f support

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agorework automatic creation of built-in table and chains
Pablo Neira Ayuso [Mon, 29 Oct 2012 10:39:46 +0000 (11:39 +0100)] 
rework automatic creation of built-in table and chains

This patch reworks the automatic creation of built-in table and
chains. Now it initializes all built-in chains belonging a table
at once.

This happens with commands: -P, -A, -I, -N

Note that xtables skips chain initialization if it notices that
the table already exists in the kernel.

Thanks to Tomasz Bursztyka for spotting problems with -N.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoautomatic creation of built-in table and chains
Pablo Neira Ayuso [Wed, 24 Oct 2012 11:40:12 +0000 (13:40 +0200)] 
automatic creation of built-in table and chains

In order to emulate the iptables behaviour, this patch changes
the current behaviour to:

1st) check if the table and chains are built-in.
2nd) If they don't exists, create them. If they exists, don't touch
     them.

The automatic creation happens in the -I and -P paths.

We should provide a new command to allow to delete (unregister)
built-in tables and chains. It would be similar to unloading
the iptable_X module that registers the custom table.

This is not done for other commands like -C or -D since they
will fail while trying to find the rule in the kernel if such
combination of chain and table does not exists.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agouse nf_tables and nf_tables compatibility interface
Pablo Neira Ayuso [Thu, 27 Sep 2012 17:12:53 +0000 (19:12 +0200)] 
use nf_tables and nf_tables compatibility interface

This patch adds the following utilities:

* xtables
* xtables-restore
* xtables-save
* xtables-config

They all use Patrick's nf_tables infrastructure plus my compatibility
layer.

xtables, xtables-restore and xtables-save are syntax compatible with
ip[6]tables, ip[6]tables-restore and ip[6]tables-save.

Semantics aims to be similar, still the main exception is that there
is no commit operation. Thus, we incrementally add/delete rules without
entire table locking.

The following options are also not yet implemented:

-Z (this requires adding expr->ops->reset(...) so nft_counters can reset
    internal state of expressions while dumping it)

-R and -E (this requires adding this feature to nf_tables)

-f (can be implemented with expressions: payload 6 (2-bytes) + bitwise a&b^!b + cmp neq 0)

-IPv6 support.

But those are a matter of time to get them done.

A new utility, xtables-config, is available to register tables and
chains. By default there is a configuration file that adds backward
compatible tables and chains under iptables/etc/xtables.conf. You have
to call this utility first to register tables and chains.

However, it would be possible to automagically register tables and
chains while using xtables and xtables-restore to get similar operation
than with iptables.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoiptables: Add IPv4/6 IPcomp match support
fan.du [Wed, 18 Dec 2013 03:27:22 +0000 (11:27 +0800)] 
iptables: Add IPv4/6 IPcomp match support

This patch enables user to set iptables ACTIONs for IPcomp
flow specified by its SPI value.

For example:
iptables  -A OUTPUT -p 108 -m ipcomp --ipcompspi 0x12 -j DROP
ip6tables -A OUTPUT -p 108 -m ipcomp --ipcompspi 0x12 -j DROP

IPcomp packet with spi as 0x12 will be dropped.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agobuild: don't include tests in released tarball
Pablo Neira Ayuso [Wed, 4 Dec 2013 12:28:00 +0000 (13:28 +0100)] 
build: don't include tests in released tarball

Do not include all our .t test files in releases. Skip
iptables-tests.py script as well.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoiptables-save: remove dlfcn.h include
Gustavo Zacarias [Wed, 27 Nov 2013 13:21:12 +0000 (10:21 -0300)] 
iptables-save: remove dlfcn.h include

It's not required and breaks on static-only uClibc builds which don't
have the header file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Florian Westphal <fw@strlen.de>
11 years agoMerge branch 'stable-1.4.20'
Florian Westphal [Sat, 23 Nov 2013 22:50:17 +0000 (23:50 +0100)] 
Merge branch 'stable-1.4.20'

... to get 76e230e ('iptables: link against libnetfilter_conntrack'),
else static build doesn't work.

Conflicts:
extensions/GNUmakefile.in

[ CPPFLAGS was added in master, so keep it ]

Reported-By: Gustavo Zacarias <gustavo@zacarias.com.ar>
11 years agoiptables 1.4.21 release v1.4.21
Pablo Neira Ayuso [Fri, 22 Nov 2013 11:17:58 +0000 (12:17 +0100)] 
iptables 1.4.21 release

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoutils: nfsynproxy: fix error while compiling the BPF filter
Pablo Neira Ayuso [Mon, 18 Nov 2013 18:06:06 +0000 (19:06 +0100)] 
utils: nfsynproxy: fix error while compiling the BPF filter

Fix the following error while running nfsynproxy here:

 pcap_compile: not-yet-activated pcap_t passed to pcap_compile

According to what I have read, we have to compile the filter
once the pcap_t handle has been activated.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_set, libxt_SET: check the set family too
Jozsef Kadlecsik [Wed, 4 Sep 2013 15:43:49 +0000 (17:43 +0200)] 
extensions: libxt_set, libxt_SET: check the set family too

Do not accept silently sets with wrong protocol family but reject
them with an error message. It makes straightforward to catch user
errors.

[ Use afinfo instead to avoid a binary interface update --pablo ]

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoutils: add nfsynproxy tool
Patrick McHardy [Wed, 28 Aug 2013 07:32:44 +0000 (09:32 +0200)] 
utils: add nfsynproxy tool

[ Originally synconf, but Jesper D. Brouer suggested to change
  the name to avoid a possible filename clash. I also include
  nfsynproxy in the final configure report --pablo ]

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: add SYNPROXY extension
Patrick McHardy [Wed, 28 Aug 2013 06:44:42 +0000 (08:44 +0200)] 
extensions: add SYNPROXY extension

Signed-off-by: Patrick McHardy <kaber@trash.net>
11 years agoextensions: libxt_cluster: add note on arptables-jf
Pablo Neira Ayuso [Mon, 4 Nov 2013 10:35:01 +0000 (11:35 +0100)] 
extensions: libxt_cluster: add note on arptables-jf

Gao feng reported problems while getting the cluster match working with
arptables. This patch adds a note in the manpage to warn about the arptables-jf
syntax, which is different from mainstream arptables.

Reported-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoip6tables: Use consistent exit code for EAGAIN
Kevin Cernekee [Sat, 2 Nov 2013 04:08:34 +0000 (21:08 -0700)] 
ip6tables: Use consistent exit code for EAGAIN

As of commit 056564f6a (Add new exit value to indicate concurrency
issues), the IPv4 iptables binary returns exit status 4 to indicate that
the kernel returned EAGAIN when trying to update a table.  But ip6tables
still returns exit status 1 under the same circumstances.  Update
ip6tables to bring it in line with iptables behavior.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoiptables: spurious error in load_extension
Phil Oester [Tue, 8 Oct 2013 16:20:15 +0000 (09:20 -0700)] 
iptables: spurious error in load_extension

In commit 927385017047d (iptables: improve error reporting with extension
loading troubles), a new error message was added in an attempt to handle
the case where a match does not support a particular protocol family.
For instance, attempting to use the osf match on IPv6.

Unfortunately, this error message now triggers when creating a new chain
which has the same name as a match extension, because iptables calls
xtables_find_target with the name of the new chain to verify it does not
clash with an existing target.  For example:

    # iptables -N tcp
    /usr/lib/xtables/libxt_tcp.so: no "tcp" extension found for this protocol

I attempted to resolve this by adding a new XTF flag, but that required changes
in many different places (including -j handling).  It seems easiest just to
remove this warning and stick with the original error message of ENOENT, even
if less than precise.

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoiptables: improve chain name validation
Phil Oester [Sat, 5 Oct 2013 16:33:15 +0000 (09:33 -0700)] 
iptables: improve chain name validation

As pointed out by Andrew Domaszek, iptables allows whitespace to be included in
chain names.  This causes issues with iptables-restore, and later iptables
actions on the chain.  Attached patch disallows whitespace, and also consolidates
all chain name checking into a new function.

This closes netfilter bugzilla #855.

[ Included ip6tables changed as well --pablo ]

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_MARK: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 17:02:41 +0000 (19:02 +0200)] 
extensions: libxt_MARK: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_owner: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 16:56:48 +0000 (18:56 +0200)] 
extensions: libxt_owner: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libip6t_DNAT: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 16:51:55 +0000 (18:51 +0200)] 
extensions: libip6t_DNAT: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libipt_SNAT: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 16:47:58 +0000 (18:47 +0200)] 
extensions: libipt_SNAT: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_TEE: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 16:44:27 +0000 (18:44 +0200)] 
extensions: libxt_TEE: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_physdev: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 17:08:28 +0000 (19:08 +0200)] 
extensions: libxt_physdev: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_iprange: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 16:41:39 +0000 (18:41 +0200)] 
extensions: libxt_iprange: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_quota: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 16:37:45 +0000 (18:37 +0200)] 
extensions: libxt_quota: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_cpu: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 16:34:08 +0000 (18:34 +0200)] 
extensions: libxt_cpu: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_dscp: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 16:31:03 +0000 (18:31 +0200)] 
extensions: libxt_dscp: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libip6t_REJECT: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 16:29:11 +0000 (18:29 +0200)] 
extensions: libip6t_REJECT: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_multiport: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 16:24:34 +0000 (18:24 +0200)] 
extensions: libxt_multiport: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libipt_ULOG: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 15:46:44 +0000 (17:46 +0200)] 
extensions: libipt_ULOG: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_conntrack: add unit test
Pablo Neira Ayuso [Wed, 26 Sep 2012 15:36:55 +0000 (17:36 +0200)] 
extensions: libxt_conntrack: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_limit: add unit test
Pablo Neira Ayuso [Mon, 24 Sep 2012 14:01:38 +0000 (16:01 +0200)] 
extensions: libxt_limit: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libip6t_eui64: add unit test
Pablo Neira Ayuso [Mon, 24 Sep 2012 13:48:21 +0000 (15:48 +0200)] 
extensions: libip6t_eui64: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_DSCP: add unit test
Pablo Neira Ayuso [Mon, 24 Sep 2012 13:44:35 +0000 (15:44 +0200)] 
extensions: libxt_DSCP: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_TOS: add unit test
Pablo Neira Ayuso [Sun, 23 Sep 2012 22:50:38 +0000 (00:50 +0200)] 
extensions: libxt_TOS: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_TRACE: add unit test
Pablo Neira Ayuso [Fri, 21 Sep 2012 16:34:02 +0000 (18:34 +0200)] 
extensions: libxt_TRACE: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libipt_ECN: add unit test
Pablo Neira Ayuso [Fri, 21 Sep 2012 16:27:32 +0000 (18:27 +0200)] 
extensions: libipt_ECN: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_standard: add unit test
Pablo Neira Ayuso [Fri, 21 Sep 2012 16:24:23 +0000 (18:24 +0200)] 
extensions: libxt_standard: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libipt_MASQUERADE: add unit test
Pablo Neira Ayuso [Fri, 21 Sep 2012 13:59:36 +0000 (15:59 +0200)] 
extensions: libipt_MASQUERADE: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_NOTRACK: add unit test
Pablo Neira Ayuso [Fri, 21 Sep 2012 13:56:34 +0000 (15:56 +0200)] 
extensions: libxt_NOTRACK: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_sctp: add unit test
Pablo Neira Ayuso [Fri, 21 Sep 2012 13:31:31 +0000 (15:31 +0200)] 
extensions: libxt_sctp: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libipt_REJECT: add unit test
Pablo Neira Ayuso [Wed, 19 Sep 2012 23:43:19 +0000 (01:43 +0200)] 
extensions: libipt_REJECT: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_mark: add unit test
Pablo Neira Ayuso [Wed, 19 Sep 2012 23:40:29 +0000 (01:40 +0200)] 
extensions: libxt_mark: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_nfacct: add unit test
Pablo Neira Ayuso [Wed, 19 Sep 2012 23:33:43 +0000 (01:33 +0200)] 
extensions: libxt_nfacct: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_rateest: add unit test
Pablo Neira Ayuso [Mon, 10 Sep 2012 10:38:35 +0000 (12:38 +0200)] 
extensions: libxt_rateest: add unit test

based on tests/options-most.rules

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_string: add unit test
Pablo Neira Ayuso [Tue, 18 Sep 2012 00:30:26 +0000 (02:30 +0200)] 
extensions: libxt_string: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_state: add unit test
Pablo Neira Ayuso [Mon, 17 Sep 2012 17:03:29 +0000 (19:03 +0200)] 
extensions: libxt_state: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_CT: add unit test
Pablo Neira Ayuso [Mon, 17 Sep 2012 16:57:55 +0000 (18:57 +0200)] 
extensions: libxt_CT: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_pkttype: add unit test
Pablo Neira Ayuso [Thu, 13 Sep 2012 13:40:55 +0000 (15:40 +0200)] 
extensions: libxt_pkttype: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libipt_ttl.t: add unit test
Pablo Neira Ayuso [Thu, 13 Sep 2012 13:37:36 +0000 (15:37 +0200)] 
extensions: libipt_ttl.t: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_NFQUEUE: add unit test
Pablo Neira Ayuso [Thu, 13 Sep 2012 13:31:52 +0000 (15:31 +0200)] 
extensions: libxt_NFQUEUE: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libipt_icmp: add unit test
Pablo Neira Ayuso [Thu, 13 Sep 2012 13:09:16 +0000 (15:09 +0200)] 
extensions: libipt_icmp: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_helper: add unit test
Pablo Neira Ayuso [Thu, 13 Sep 2012 13:00:07 +0000 (15:00 +0200)] 
extensions: libxt_helper: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_esp: add unit test
Pablo Neira Ayuso [Wed, 12 Sep 2012 16:28:33 +0000 (18:28 +0200)] 
extensions: libxt_esp: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_dccp: add unit test
Pablo Neira Ayuso [Wed, 12 Sep 2012 16:21:53 +0000 (18:21 +0200)] 
extensions: libxt_dccp: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_NFLOG: add unit test
Pablo Neira Ayuso [Wed, 12 Sep 2012 10:59:41 +0000 (12:59 +0200)] 
extensions: libxt_NFLOG: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_tos: add unit test
Pablo Neira Ayuso [Wed, 12 Sep 2012 10:42:19 +0000 (12:42 +0200)] 
extensions: libxt_tos: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_tcp: add unit test
Pablo Neira Ayuso [Wed, 12 Sep 2012 10:41:47 +0000 (12:41 +0200)] 
extensions: libxt_tcp: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_udp: add unit test
Pablo Neira Ayuso [Wed, 12 Sep 2012 10:39:28 +0000 (12:39 +0200)] 
extensions: libxt_udp: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_length: add unit test
Pablo Neira Ayuso [Mon, 10 Sep 2012 10:54:16 +0000 (12:54 +0200)] 
extensions: libxt_length: add unit test

based on tests/options-most.rules

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_time: add unit test
Pablo Neira Ayuso [Mon, 10 Sep 2012 10:51:38 +0000 (12:51 +0200)] 
extensions: libxt_time: add unit test

based on tests/options-most.rules

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_hashlimit: add unit test
Pablo Neira Ayuso [Mon, 10 Sep 2012 10:36:55 +0000 (12:36 +0200)] 
extensions: libxt_hashlimit: add unit test

based on tests/options-most.rules

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_CONNMARK: add unit test
Pablo Neira Ayuso [Mon, 10 Sep 2012 09:37:22 +0000 (11:37 +0200)] 
extensions: libxt_CONNMARK: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_connmark: add unit test
Pablo Neira Ayuso [Mon, 10 Sep 2012 09:31:32 +0000 (11:31 +0200)] 
extensions: libxt_connmark: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_connlimit: add unit test
Pablo Neira Ayuso [Sun, 9 Sep 2012 20:42:36 +0000 (22:42 +0200)] 
extensions: libxt_connlimit: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_connbytes: add unit test
Pablo Neira Ayuso [Fri, 7 Sep 2012 15:56:38 +0000 (17:56 +0200)] 
extensions: libxt_connbytes: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_CLASSIFY: add unit test
Pablo Neira Ayuso [Fri, 7 Sep 2012 15:42:59 +0000 (17:42 +0200)] 
extensions: libxt_CLASSIFY: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_CHECKSUM: add unit test
Pablo Neira Ayuso [Fri, 7 Sep 2012 15:27:09 +0000 (17:27 +0200)] 
extensions: libxt_CHECKSUM: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_AUDIT: add unit test
Pablo Neira Ayuso [Fri, 7 Sep 2012 14:44:28 +0000 (16:44 +0200)] 
extensions: libxt_AUDIT: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
11 years agoextensions: libxt_comment: add unit test
Pablo Neira Ayuso [Wed, 5 Sep 2012 09:56:34 +0000 (11:56 +0200)] 
extensions: libxt_comment: add unit test

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>