]> git.ipfire.org Git - thirdparty/iptables.git/log
thirdparty/iptables.git
18 years agoMoves libipt_multiport.c to libxt_multiport.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:47:36 +0000 (06:47 +0000)] 
Moves libipt_multiport.c to libxt_multiport.c

18 years agoSplits ipt_multport into family dependent parts and others
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:46:08 +0000 (06:46 +0000)] 
Splits ipt_multport into family dependent parts and others

18 years agoUse unified API in multiport match
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:45:03 +0000 (06:45 +0000)] 
Use unified API in multiport match

18 years agoAdd IPv6 support to NOTRACK
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:43:55 +0000 (06:43 +0000)] 
Add IPv6 support to NOTRACK

18 years agoRenames libipt_NOTRACK.c to libxt_NOTRACK.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:42:15 +0000 (06:42 +0000)] 
Renames libipt_NOTRACK.c to libxt_NOTRACK.c

18 years agoUse unified API in NOTRACK target.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:41:01 +0000 (06:41 +0000)] 
Use unified API in NOTRACK target.

18 years agoMoves all declarations in iptables_common.h to xtables.h.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:39:40 +0000 (06:39 +0000)] 
Moves all declarations in iptables_common.h to xtables.h.

18 years agoInstalls libxt_*.so to DEST_IPT_LIBIDR and link libip[6]t_*.so to it.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:09:15 +0000 (06:09 +0000)] 
Installs libxt_*.so to DEST_IPT_LIBIDR and link libip[6]t_*.so to it.

18 years agoIntroduces DEST_IPT_LIBDIR to simplify $(DESTDIR)$(LIBDIR)/iptables
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:08:05 +0000 (06:08 +0000)] 
Introduces DEST_IPT_LIBDIR to simplify $(DESTDIR)$(LIBDIR)/iptables

18 years agoFixes warning on compilation, part 2
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:06:59 +0000 (06:06 +0000)] 
Fixes warning on compilation, part 2

This changes the type of arguments as follows in multiport, DNAT, SNAT,
MASQUERADE, and REDIRECT

- ip[6]t_ip[6] * -> void *
- ip[6]t_entry * -> void *

and adds lines to cast these pointer with intended type.

18 years agoFixes warning on compilation of ip6tables matches/targets
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:03:45 +0000 (06:03 +0000)] 
Fixes warning on compilation of ip6tables matches/targets

This changes the type of arguments as follows
- ip6t_ip6 * -> void *
- ip6t_entry * -> void *

18 years agoFixes warning on compilation of iptables matches/targets
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:02:05 +0000 (06:02 +0000)] 
Fixes warning on compilation of iptables matches/targets

This changes the type of arguments as follows
- ipt_ip * -> void *
- ipt_entry * -> void *

This patch doesn't change multiport, DNAT, SNAT, MASQUERADE, REDIRECT
because these need more changes (casting void * variable with intended type)

18 years agoReplaces ip6t_entry_* with xt_entry_* in matches/targets
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:58:56 +0000 (05:58 +0000)] 
Replaces ip6t_entry_* with xt_entry_* in matches/targets

18 years agoReplaces ipt_entry_* with xt_entry_* in matches/targets
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:57:28 +0000 (05:57 +0000)] 
Replaces ipt_entry_* with xt_entry_* in matches/targets

18 years agoMoves IPPROTO_* and IP[6]T_LIB_DIR definitions to xtables.h
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:55:12 +0000 (05:55 +0000)] 
Moves IPPROTO_* and IP[6]T_LIB_DIR definitions to xtables.h

18 years agoMoves some duplicated functions in ip[6]tables.c to xtables.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:53:48 +0000 (05:53 +0000)] 
Moves some duplicated functions in ip[6]tables.c to xtables.c

string_to_number_ll, string_to_number_l, string_to_number,
service_to_port, parse_port, parse_interface, are moved.

18 years agoIntroduces xtables match/target registration
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:52:07 +0000 (05:52 +0000)] 
Introduces xtables match/target registration

- moves lib_dir to xtables.c
- introduces struct pfinfo which has protocol family dependent infomations.
- unifies load_ip[6]tables_ko() and moves them as load_xtables_ko()
- introduces xt_{match,match_rule,target,tryload} and replaces
  ip[6]t_* with them
- unifies following functions and move them to xtables.c
        - find_{match,find_target}
        - compatible_revision, compatible_{match,target}_revision
- introduces xtables_register_{match,target} and make
  register_{match,target}[6] call them. xtables_register_* register ONLY
  matches/targets matched protocol family

Some concepts:
- source compatibility for libip[6]t_xxx.c with warning on compilation
  not binary compatibility.
- binary compatibility between 2.4/2.6 kernel and iptables/ip6tables,
  of cause.
- xtables is enough to support only one address family at runtime.
  Then xtables keeps infomations of only the focused address famiy
  in struct afinfo.

18 years agoMoves ip[6]tables_insmod() to xtables.c as xtables_insmod()
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:47:40 +0000 (05:47 +0000)] 
Moves ip[6]tables_insmod() to xtables.c as xtables_insmod()

18 years agoMoves common fw_malloc() and fw_calloc() to xtables.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:45:33 +0000 (05:45 +0000)] 
Moves common fw_malloc() and fw_calloc() to xtables.c

18 years agoAdds xtables.[ch] and change Makefile to compile it
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:44:11 +0000 (05:44 +0000)] 
Adds xtables.[ch] and change Makefile to compile it

18 years agoiptables-xml
Sam Liddicott [Tue, 17 Jul 2007 17:02:04 +0000 (17:02 +0000)] 
iptables-xml

Attached are:
1. A man page for iptables-xml

2. A fix for iptables.xslt allowing for an arbitrary depth of arguments
or modifiers.

Although iptables-xml cannot generate more than two levels deep, xml
generated by other systems may prefer to generate

<action>
  <restore-mark>
    <mask>0xff00</mask>
  </restore-mark>
</action>

than

<action>
  <restore-mark/>
   <mask>0xff00</mask>
</action>

(which is what iptables-xml generates)
even though the same iptables is re-generated on conversion.

3. A fix for iptables-xml.c so that combining of consecutive targets of
rules with the same match into one XML rule, will not combine over a
terminating action; i.e. there is no point in converting

-A table -p tcp -j DROP
-A table -p tcp -j MARK --set-mark 25
-A table -p tcp -j RETURN

into one XML rule with multiple actions as they are probably not
logically combined in the mind of the author.

Signed-off by: Sam Liddicott <azez@ufomechanic.net>

18 years agoIgnore generated files
Patrick McHardyYasuyuki KOZAKAI [Mon, 16 Jul 2007 15:27:38 +0000 (15:27 +0000)] 
Ignore generated files

18 years agoAdds missing explanations about FIN in mask part of '--syn' in libip[6]_tcp.c
Patrick McHardyYasuyuki KOZAKAI [Mon, 16 Jul 2007 15:27:38 +0000 (15:27 +0000)] 
Adds missing explanations about FIN in mask part of '--syn' in libip[6]_tcp.c
and libip6t_tcp.man.

18 years agoAdds missing FIN to mask part generated by '--syn' of libip6t_tcp
Yasuyuki KOZAKAI [Mon, 16 Jul 2007 10:07:30 +0000 (10:07 +0000)] 
Adds missing FIN to mask part generated by '--syn' of libip6t_tcp

18 years agoChange default KERNEL_DIR location and add KBUILD_OUTPUT (Sven Wegener <sven.wegener...
Sven Wegener [Sun, 15 Jul 2007 17:13:24 +0000 (17:13 +0000)] 
Change default KERNEL_DIR location and add KBUILD_OUTPUT (Sven Wegener <sven.wegener@stealer.net>)

18 years agoFixes compile error of connlimit where NO_SHARED_LIBS=1 is specified
Yasuyuki KOZAKAI [Fri, 13 Jul 2007 15:07:10 +0000 (15:07 +0000)] 
Fixes compile error of connlimit where NO_SHARED_LIBS=1 is specified

18 years agoPATCH: Add connlimit to iptables.
Jan Engelhardt [Mon, 9 Jul 2007 16:50:17 +0000 (16:50 +0000)] 
PATCH: Add connlimit to iptables.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
18 years agolibipt_statistic: add a few missing validity checks
Nicolas Bouliane [Tue, 3 Jul 2007 12:52:55 +0000 (12:52 +0000)] 
libipt_statistic: add a few missing validity checks

Signed-off-by: Nicolas Bouliane
18 years agoRemoves KERNEL_64_USERSPACE_32
Yasuyuki KOZAKAI [Sat, 30 Jun 2007 10:47:57 +0000 (10:47 +0000)] 
Removes KERNEL_64_USERSPACE_32

The recent kernel has compat layer for iptables. It doesn't have
compat layer for libipq and ip6tables, but ip6tables with
KERNEL_64_USERSPACE_32 is still broken. We should fix kernel instead of
fixing them if and when we want use their 32bit binary with 64bit kernel.

18 years agoRemoves some KERNEL_64_USERSPACE_32 because linux 2.6 has compat layer
Yasuyuki KOZAKAI [Thu, 28 Jun 2007 16:41:50 +0000 (16:41 +0000)] 
Removes some KERNEL_64_USERSPACE_32 because linux 2.6 has compat layer

18 years agoFix "iptables getsockopt failed strangely" when querying revisions for non-existant...
Patrick McHardy [Tue, 26 Jun 2007 15:29:45 +0000 (15:29 +0000)] 
Fix "iptables getsockopt failed strangely" when querying revisions for non-existant matches and targets

Reported by Joseph Jezak <josejx@gentoo.org>.

18 years agoAdd Jozsef's TRACE target.
Patrick McHardy [Mon, 25 Jun 2007 14:33:07 +0000 (14:33 +0000)] 
Add Jozsef's TRACE target.

Changed to be built unconditionally by myself since it doesn't need any
headerfiles anyways.

18 years agobump version v1.3.8
Pablo Neira Ayuso [Mon, 25 Jun 2007 12:01:12 +0000 (12:01 +0000)] 
bump version

18 years agoFixes build error of conntrack match because of missing ip_conntrack_tuple.h
Yasuyuki KOZAKAI [Sun, 24 Jun 2007 08:19:25 +0000 (08:19 +0000)] 
Fixes build error of conntrack match because of missing ip_conntrack_tuple.h
in linux 2.6.22. It is not needed because nf_conntrack headers can be used
instead.

18 years agoA white space fix in ip6tables.c
Yasuyuki KOZAKAI [Tue, 12 Jun 2007 01:36:26 +0000 (01:36 +0000)] 
A white space fix in ip6tables.c

18 years ago'-p all' and '-p 0' should be allowed. And actually ip6tables in kernel
Yasuyuki KOZAKAI [Mon, 11 Jun 2007 20:17:34 +0000 (20:17 +0000)] 
'-p all' and '-p 0' should be allowed. And actually ip6tables in kernel
allows '! -p xxx' where xxx is extension header. It matches all valid IPv6
packets.

18 years agolibipt_hashlimit doc update
Jan Engelhardt [Sun, 3 Jun 2007 18:42:10 +0000 (18:42 +0000)] 
libipt_hashlimit doc update

Add srcip,srcport to hashlimit manpage.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
18 years agoAdd --random option to DNAT and REDIRECT targets and fix the manpage mess this option...
Patrick McHardy [Tue, 29 May 2007 11:24:45 +0000 (11:24 +0000)] 
Add --random option to DNAT and REDIRECT targets and fix the manpage mess this option left behind.

18 years agoUse posix conform directory existance check (Roy Marples <uberlord@gentoo.org>)
Roy Marples [Thu, 10 May 2007 15:02:09 +0000 (15:02 +0000)] 
Use posix conform directory existance check (Roy Marples <uberlord@gentoo.org>)

Makefile uses [ -a /dir ] which is invalid on non bash shells

Bugzilla #569

18 years agoFix missing newlines in iptables-save/restore output (Pavol Rusnak <prusnak@suse...
Pavel Rusnak [Thu, 10 May 2007 15:00:39 +0000 (15:00 +0000)] 
Fix missing newlines in iptables-save/restore output (Pavol Rusnak <prusnak@suse.cz>)

Bugzilla #568

18 years agoupdate quota manpage for SMP (Phil Oester)
Phil Oester [Wed, 2 May 2007 13:22:07 +0000 (13:22 +0000)] 
update quota manpage for SMP (Phil Oester)

The quota match works fine on SMP, so update the manpage to reflect
this.  Closes bugzilla #564.

18 years agoIn fixing bug #446 [1], the output for unspecified proto was changed from "all" to...
Phil Oester [Mon, 30 Apr 2007 00:01:39 +0000 (00:01 +0000)] 
In fixing bug #446 [1], the output for unspecified proto was changed from "all" to "0".  This reverts to the original behaviour, and closes bugzilla #543. (Phil Oester)

18 years agoFix iptables-save with --random option
Patrick McHardy [Wed, 18 Apr 2007 14:00:11 +0000 (14:00 +0000)] 
Fix iptables-save with --random option

18 years agoRemove unnecessary IP_NAT_RANGE_PROTO_RANDOM ifdefs.
Patrick McHardy [Wed, 18 Apr 2007 12:56:05 +0000 (12:56 +0000)] 
Remove unnecessary IP_NAT_RANGE_PROTO_RANDOM ifdefs.

18 years agoRemove libnsl from LDLIBS
Patrick McHardy [Wed, 18 Apr 2007 12:41:09 +0000 (12:41 +0000)] 
Remove libnsl from LDLIBS

Bugzilla 557

18 years agofix problem with iptables-restore and quotes (close bugzilla id 505)
Pablo Neira Ayuso [Wed, 18 Apr 2007 10:27:02 +0000 (10:27 +0000)] 
fix problem with iptables-restore and quotes (close bugzilla id 505)

18 years agoUse nf_conntrack headers instead of ip_conntrack ones and add sanitized versions.
Patrick McHardy [Wed, 18 Apr 2007 07:00:36 +0000 (07:00 +0000)] 
Use nf_conntrack headers instead of ip_conntrack ones and add sanitized versions.

18 years agoRemove unnecessary ip_conntrack/ip_nat includes
Patrick McHardy [Wed, 18 Apr 2007 06:29:14 +0000 (06:29 +0000)] 
Remove unnecessary ip_conntrack/ip_nat includes

18 years agorevert some slipped through patches
Pablo Neira AyusoMaurice van der Pot [Mon, 16 Apr 2007 17:15:22 +0000 (17:15 +0000)] 
revert some slipped through patches

18 years agoprepare conntrack and conntrackd merge: rename conntrack to conntrack-tools
Pablo Neira Ayuso [Mon, 16 Apr 2007 17:09:39 +0000 (17:09 +0000)] 
prepare conntrack and conntrackd merge: rename conntrack to conntrack-tools

18 years agoFix iptables --modprobe parameter (Maurice van der Pot <griffon26@kfk4ever.com>)
Pablo Neira AyusoMaurice van der Pot [Mon, 16 Apr 2007 17:15:22 +0000 (17:15 +0000)] 
Fix iptables --modprobe parameter (Maurice van der Pot <griffon26@kfk4ever.com>)

Supply modprobe parameter to iptables_insmod function.

Bugzilla #556

18 years agoip6tables-restore should output error of modprobe if failed to load
Yasuyuki KOZAKAI [Tue, 20 Mar 2007 16:50:21 +0000 (16:50 +0000)] 
ip6tables-restore should output error of modprobe if failed to load
ip6tables.ko after failed to initialize handle.

18 years agoFixes typos in the argument of ip[6]tables_insmod: quit -> quiet
Yasuyuki KOZAKAI [Tue, 20 Mar 2007 15:51:41 +0000 (15:51 +0000)] 
Fixes typos in the argument of ip[6]tables_insmod: quit -> quiet

18 years agoSupress error message from modprobe on checking revision.
Yasuyuki KOZAKAI [Tue, 13 Mar 2007 08:17:59 +0000 (08:17 +0000)] 
Supress error message from modprobe on checking revision.

18 years agoFix cut and paste error breaking use of groups != 0
Patrick McHardy [Tue, 6 Mar 2007 02:00:32 +0000 (02:00 +0000)] 
Fix cut and paste error breaking use of groups != 0

18 years agoiptables: add random option to SNAT (Eric Leblond)
Eric Leblond [Sat, 24 Feb 2007 15:11:33 +0000 (15:11 +0000)] 
iptables: add random option to SNAT (Eric Leblond)

18 years agoReverted r6754. libipt_icmp has the option 'any', so it's unnecessary
Yasuyuki KOZAKAI [Mon, 19 Feb 2007 05:01:39 +0000 (05:01 +0000)] 
Reverted r6754. libipt_icmp has the option 'any', so it's unnecessary
to check no option of ICMP type.

18 years agoUpdate coreteam members in manpages
Yasuyuki KOZAKAI [Thu, 15 Feb 2007 06:41:58 +0000 (06:41 +0000)] 
Update coreteam members in manpages

18 years agoFix missing space in error message (Bugzilla 544)
Patrick McHardy [Wed, 14 Feb 2007 13:59:12 +0000 (13:59 +0000)] 
Fix missing space in error message (Bugzilla 544)

18 years agoRemove and readd with executable bit set. SVN doesn't seem to have a proper way of...
Patrick McHardy [Tue, 13 Feb 2007 16:54:32 +0000 (16:54 +0000)] 
Remove and readd with executable bit set. SVN doesn't seem to have a proper way of doing this.

18 years agoFixes man page for tcp, udp, icmp{,6}. They are not loaded when only '-p' is
Yasuyuki KOZAKAI [Tue, 13 Feb 2007 16:49:15 +0000 (16:49 +0000)] 
Fixes man page for tcp, udp, icmp{,6}. They are not loaded when only '-p' is
specified, but loaded when extra options are specified, too.

18 years agoForgot to add TCPMSS target to PF6_EXT_SLIB
Patrick McHardy [Tue, 13 Feb 2007 12:28:51 +0000 (12:28 +0000)] 
Forgot to add TCPMSS target to PF6_EXT_SLIB

18 years agoError if no ICMP type is specified even though user intended
Yasuyuki KOZAKAI [Tue, 13 Feb 2007 04:06:45 +0000 (04:06 +0000)] 
Error if no ICMP type is specified even though user intended
to use icmp match.

18 years agoAdd ip6tables mh extension (Masahide NAKAMURA <nakam@linux-ipv6.org>)
Masahide NAKAMURA [Fri, 9 Feb 2007 11:24:14 +0000 (11:24 +0000)] 
Add ip6tables mh extension (Masahide NAKAMURA <nakam@linux-ipv6.org>)

Kernel part will go in 2.6.21

18 years agoUpdate coreteam members in manpages.
Patrick McHardy [Sun, 28 Jan 2007 01:24:55 +0000 (01:24 +0000)] 
Update coreteam members in manpages.

18 years agoBugzilla #535
Patrick McHardy [Fri, 26 Jan 2007 18:51:20 +0000 (18:51 +0000)] 
Bugzilla #535

In the tcpmss section of the iptables manpage, there is an extraneous trailing
quote for the --mss option.

18 years agoBugzilla #534:
Patrick McHardy [Fri, 26 Jan 2007 18:46:59 +0000 (18:46 +0000)] 
Bugzilla #534:

Please remove --mss from libipt_tcp.man.  The tcp match doesn't handle that
option, while the tcpmss match does.

18 years agoAdd ip6tables TCPMSS extension (Arnaud Ebalard <arno@natisbad.org>)
Arnaud Ebalard [Tue, 16 Jan 2007 14:19:20 +0000 (14:19 +0000)] 
Add ip6tables TCPMSS extension (Arnaud Ebalard <arno@natisbad.org>)

Kernel part will go in 2.6.21.

18 years agoAdd UDPLITE multiport support
Patrick McHardy [Thu, 11 Jan 2007 09:08:22 +0000 (09:08 +0000)] 
Add UDPLITE multiport support

18 years agoFix missing space in ruleset listing
Patrick McHardy [Thu, 11 Jan 2007 08:23:17 +0000 (08:23 +0000)] 
Fix missing space in ruleset listing

18 years agoRemove extensions for unmaintained/obsolete patchlets
Patrick McHardy [Wed, 10 Jan 2007 14:53:55 +0000 (14:53 +0000)] 
Remove extensions for unmaintained/obsolete patchlets

18 years agoFix greedy debug grep
Patrick McHardy [Wed, 10 Jan 2007 13:56:05 +0000 (13:56 +0000)] 
Fix greedy debug grep

From Bugzilla #527:

if you have a kernel with say a '-g' in it, then KERNEL_DIR will include the
'-g' in it, CFLAGS will include the '-g' in it, and then the grep will think you
have -g in your CFLAGS

for example, if you use the grsec or gentoo patchset:
$ uname -r
2.6.19.1-grsec
$ uname -r
2.6.19-gentoo-r2

then your CFLAGS will look like:
-O2 -Wall -Wunused -I"/lib/modules/2.6.19.1-grsec/build"/include -Iinclude/
-DIPTABLES_VERSION=\"1.3.7\"

and the greedy check grep will incorrectly flag this:
egrep -e '-g|-pg|IPTC_DEBUG'

18 years agofix typo in manpage (thomas@aktaia.intevation.org)
thomas [Sun, 7 Jan 2007 19:14:54 +0000 (19:14 +0000)] 
fix typo in manpage (thomas@aktaia.intevation.org)

18 years agoMove extensions for pom patches to individual patchlets.
Patrick McHardy [Tue, 12 Dec 2006 10:34:45 +0000 (10:34 +0000)] 
Move extensions for pom patches to individual patchlets.

18 years agofix compile/install error for iptables-xml with DO_MULTI=1 (Lutz Jaenicke)
Lutz Jaenicke [Sat, 9 Dec 2006 13:06:04 +0000 (13:06 +0000)] 
fix compile/install error for iptables-xml with DO_MULTI=1 (Lutz Jaenicke)

18 years agoBump version to 1.3.7 v1.3.7
Patrick McHardy [Mon, 4 Dec 2006 14:11:42 +0000 (14:11 +0000)] 
Bump version to 1.3.7

18 years agoAdd target extensions for new NFLOG target
Patrick McHardy [Sun, 3 Dec 2006 18:56:50 +0000 (18:56 +0000)] 
Add target extensions for new NFLOG target

18 years agoFix iptables-save not printing -s !0/0 and -d !0/0 as well as ip6tables
Patrick McHardy [Sat, 2 Dec 2006 17:17:33 +0000 (17:17 +0000)] 
Fix iptables-save not printing -s !0/0 and -d !0/0 as well as ip6tables
unnecessarily printing the address. Base on patch by Daniel De Graaf.

18 years agoFix /etc/network usage (Pablo Neira)
Pablo Neira Ayuso [Wed, 29 Nov 2006 13:32:32 +0000 (13:32 +0000)] 
Fix /etc/network usage (Pablo Neira)

http://bugs.debian.org/398082

iptables 1.3.5 and 1.3.6 appear to read /etc/networks, but the
information is lost somewhere with 1.3.6.

 # cat /etc/networks
 foonet 10.0.0.0

 # strace -s 255 -o /tmp/foo iptables -v -A INPUT -s foonet/8 -j
ACCEPT #1.3.5 [1]
 ACCEPT  all opt -- in * out *  10.0.0.0/8  -> 0.0.0.0/0

 # strace -s 255 -o /tmp/bar iptables -v -A INPUT -s foonet/8 -j
ACCEPT #1.3.6 [2]
 iptables v1.3.6: host/network `foonet.0.0.0' not found
 Try `iptables -h' or 'iptables --help' for more information.

1. http://people.debian.org/~ljlane/stuff/strace-iptables-1.3.5.txt
2. http://people.debian.org/~ljlane/stuff/strace-iptables-1.3.6.txt

18 years agoFix -E (rename) in iptables/ip6tables
Krzysztof Piotr Oledzki [Tue, 14 Nov 2006 07:50:54 +0000 (07:50 +0000)] 
Fix -E (rename) in iptables/ip6tables

Remove ununsed CHECK entry in commands_v_options.

It makes -E (rename) working again - generic_opt_check
expects options for RENAME not for CHECK at that table index.

Signed-off-by: Krzysztof Piotr Oledzki <ole@ans.pl>
Signed-off-by: Patrick McHardy <kaber@trash.net>
18 years agoUse /lib/modules/$(uname -r)/build instead of /usr/src/linux as KERNEL_DIR default
Patrick McHardy [Tue, 14 Nov 2006 06:39:24 +0000 (06:39 +0000)] 
Use /lib/modules/$(uname -r)/build instead of /usr/src/linux as KERNEL_DIR default

18 years agoAdd ip6tables support for hashlimit match
Patrick McHardy [Mon, 13 Nov 2006 20:31:42 +0000 (20:31 +0000)] 
Add ip6tables support for hashlimit match

18 years agoAdd iptables-xml tool (Amin Azez <azez@ufomechanic.net>)
Amin Azez [Mon, 13 Nov 2006 20:23:36 +0000 (20:23 +0000)] 
Add iptables-xml tool (Amin Azez <azez@ufomechanic.net>)

18 years agoAdd ip6tables support for sctp match
Patrick McHardy [Mon, 13 Nov 2006 19:38:44 +0000 (19:38 +0000)] 
Add ip6tables support for sctp match

18 years agoload ip_[6]tables.ko just before checking revision support in kernel.
Yasuyuki KOZAKAI [Mon, 13 Nov 2006 05:09:16 +0000 (05:09 +0000)] 
load ip_[6]tables.ko just before checking revision support in kernel.

18 years agochanges IP6T_SO_GET_REVISION_{MATCH,TARGET} to 68,69
Yasuyuki KOZAKAI [Mon, 13 Nov 2006 04:03:26 +0000 (04:03 +0000)] 
changes IP6T_SO_GET_REVISION_{MATCH,TARGET} to 68,69
66 and 67 is conflicted with IPv6 Advanced API in kernel <= 2.6.18.

18 years ago- Add revision support to ip6tables.
Rémi Denis-Courmont [Fri, 20 Oct 2006 12:24:34 +0000 (12:24 +0000)] 
- Add revision support to ip6tables.
- Add support port range match to libip6t_multiport
(R?mi Denis-Courmont <rdenis@simphalempin.com>)

18 years agoFix spelling error
Patrick McHardy [Wed, 11 Oct 2006 07:37:26 +0000 (07:37 +0000)] 
Fix spelling error

18 years agoiptables segfaults when given "" to --log-prefix (Mike Frysinger <vapier@gentoo.org>)
Mike Frysinger [Tue, 10 Oct 2006 06:18:40 +0000 (06:18 +0000)] 
iptables segfaults when given "" to --log-prefix (Mike Frysinger <vapier@gentoo.org>)

Bugzilla #516

18 years agoAdd endian annotation types to fix compilation for kernels > 2.6.18
Patrick McHardy [Mon, 9 Oct 2006 18:00:11 +0000 (18:00 +0000)] 
Add endian annotation types to fix compilation for kernels > 2.6.18

18 years agoVersion number was not bumped in Makefile in svn v1.3.6
Joszef Kadlecsik [Mon, 9 Oct 2006 12:09:42 +0000 (12:09 +0000)] 
Version number was not bumped in Makefile in svn

18 years agoUse correct types at error reporting (patch sent by H. Nakano)
Joszef Kadlecsik [Fri, 6 Oct 2006 08:30:20 +0000 (08:30 +0000)] 
Use correct types at error reporting (patch sent by H. Nakano)

18 years agoUse negative-list for "weird character in interface" warning instead of warning for...
Patrick McHardy [Wed, 20 Sep 2006 08:32:25 +0000 (08:32 +0000)] 
Use negative-list for "weird character in interface" warning instead of warning for basically every non-alphanumeric character.

18 years agoNamed realm (Simon Lodal <simon@parknet.dk>)
Simon Lodal [Sat, 2 Sep 2006 12:37:48 +0000 (12:37 +0000)] 
Named realm (Simon Lodal <simon@parknet.dk>)

Optionally read realm values from /etc/iproute2/rt_realms

18 years agoAdd statistic match extension
Patrick McHardy [Thu, 31 Aug 2006 14:01:35 +0000 (14:01 +0000)] 
Add statistic match extension

18 years agoiptables: fix ipt_MARK documentation (Eric Leblond)
Eric Leblond [Tue, 29 Aug 2006 09:45:21 +0000 (09:45 +0000)] 
iptables: fix ipt_MARK documentation (Eric Leblond)

This patch documents --or-mask and --and-mask options of the MARK
target. Description is directly taken from the source code.

18 years agoiptables -Z clears the per-rule counters, but not the chain policy counters (Andy...
Andy Gay [Tue, 22 Aug 2006 02:56:41 +0000 (02:56 +0000)] 
iptables -Z clears the per-rule counters, but not the chain policy counters (Andy Gay <andy@andynet.net>)

https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=502

19 years agoupdate quota match for xtables + fix -D bug (Phil Oester <kernel@linuxace.com>)
Phil Oester [Tue, 8 Aug 2006 09:59:59 +0000 (09:59 +0000)] 
update quota match for xtables + fix -D bug (Phil Oester <kernel@linuxace.com>)

19 years agoRevert "proto_to_name duplication" patch, as noticed by Yasuyuki it can cause
Patrick McHardyJesper Brouer [Tue, 25 Jul 2006 01:50:48 +0000 (01:50 +0000)] 
Revert "proto_to_name duplication" patch, as noticed by Yasuyuki it can cause
invalid arguments to get accepted.

19 years agoproto_to_name duplication (Phil Oester <kernel@linuxace.com>)
Phil Oester [Sat, 22 Jul 2006 14:10:53 +0000 (14:10 +0000)] 
proto_to_name duplication (Phil Oester <kernel@linuxace.com>)

Update multiport match to use the iptables version of proto_to_name
instead of reinventing the wheel.