]>
git.ipfire.org Git - thirdparty/iptables.git/log
Harald Welte [Sat, 11 Feb 2006 09:34:16 +0000 (09:34 +0000)]
fix double-free if a single match is used multiple times within a signle rule
(Closes: #440). However, while this fixes the double-free, it still doesn't make iptables
support two of the same matches within one rule. Apparently the last matchinfo is copied into all the previous
matchinfo instances.
Harald Welte [Thu, 9 Feb 2006 14:53:40 +0000 (14:53 +0000)]
don't install libiptc.a
Harald Welte [Thu, 9 Feb 2006 14:35:38 +0000 (14:35 +0000)]
fix segfault or loading of invalid counters in ip[6]tables-restore (Olaf Rempel) (Closes: #437)
Harald Welte [Wed, 1 Feb 2006 13:05:33 +0000 (13:05 +0000)]
make policy match compile independant of kernel headers
Harald Welte [Wed, 1 Feb 2006 12:58:28 +0000 (12:58 +0000)]
Some !%$!*##$@ has modified the kernel include/linux/netfilter_ipv4/ipt_sctp.h
file in a way that breaks userspace :(
Harald Welte [Wed, 1 Feb 2006 12:57:34 +0000 (12:57 +0000)]
fix ipt_conntrack compilation against very early (2.4.0) kernel releases
Harald Welte [Wed, 1 Feb 2006 12:42:52 +0000 (12:42 +0000)]
remove other bits of old ip pool code, people should use ipset (ipset.netfilter.org) these days
Harald Welte [Wed, 1 Feb 2006 12:41:24 +0000 (12:41 +0000)]
remove ippool
Patrick McHardy [Tue, 31 Jan 2006 18:24:14 +0000 (18:24 +0000)]
Prepare policy match for x_tables unification by making sure both
ipt_policy and ip6t_policy use the same data structure.
Michael Rash [Mon, 30 Jan 2006 09:02:45 +0000 (09:02 +0000)]
fix 'save' (Michael Rash)
Yasuyuki KOZAKAI [Mon, 30 Jan 2006 08:50:09 +0000 (08:50 +0000)]
major manpage update (Yasuyuki Kozakai)
Harald Welte [Thu, 26 Jan 2006 14:43:52 +0000 (14:43 +0000)]
Add 'copy+paste' support for 'state' and 'connmark' match, as well as
'CONNMARK' target for ip6tables / nf_conntrack_l3proto_ipv6. This is a temporary solution for the iptables-1.3.x branch, since the 1.4.x branch will have proper support.
Harald Welte [Thu, 26 Jan 2006 14:43:01 +0000 (14:43 +0000)]
add note about deprecated state
Harald Welte [Sun, 22 Jan 2006 16:02:32 +0000 (16:02 +0000)]
fix spelling 'adress' -> 'address' (Closes: #431) (MJ Anthony)
Noticed by Tom Eastep [Sun, 22 Jan 2006 13:47:07 +0000 (13:47 +0000)]
Fix "empty policy element" complaining in non-strict mode.
Noticed by Tom Eastep <teastep@shorewall.net>.
Patrick McHardy [Thu, 12 Jan 2006 16:14:41 +0000 (16:14 +0000)]
Clarify --tunnel-src/--tunnel-dst options
Patrick McHardy [Thu, 12 Jan 2006 09:43:18 +0000 (09:43 +0000)]
Move empty policy element check to also catch last element
Patrick McHardy [Thu, 12 Jan 2006 09:12:47 +0000 (09:12 +0000)]
Don't allow using --next option without specifying a policy element
Patrick McHardy [Mon, 9 Jan 2006 10:15:04 +0000 (10:15 +0000)]
Fix invalid assignment of tunnel-src to dest address (Patrick McHardy)
Pablo Neira [Tue, 3 Jan 2006 11:50:16 +0000 (11:50 +0000)]
Add documentation for string match (Pablo Neira)
Jones Desougi [Thu, 22 Dec 2005 03:33:50 +0000 (03:33 +0000)]
Fix probing for supported revisions (Jones Desougi <jones@ingate.com>)
Bugzilla #413
Harald Welte [Mon, 5 Dec 2005 12:08:03 +0000 (12:08 +0000)]
fix iptables-save of 'goto' target (Closes: #410)
Patrick McHardy [Mon, 5 Dec 2005 01:22:50 +0000 (01:22 +0000)]
Add note that TCPMSS is only valid in the mangle table (not true today, but maybe someday)
Harald Welte [Thu, 24 Nov 2005 17:04:05 +0000 (17:04 +0000)]
fix compilation of iptables on [old] systems that don't have IPT_F_GOTO
Harald Welte [Tue, 22 Nov 2005 22:22:28 +0000 (22:22 +0000)]
note that we can only delete chains that are empty
Harald Welte [Tue, 22 Nov 2005 08:54:28 +0000 (08:54 +0000)]
tcp-rst is the alias, not tcp-reset (Torsten Hilbrich)
Patrick McHardy [Sat, 19 Nov 2005 09:00:03 +0000 (09:00 +0000)]
Add policy match extensions from patch-o-matic
Patrick McHardy [Fri, 18 Nov 2005 18:00:25 +0000 (18:00 +0000)]
Fix some gcc-4 warnings
Patrick McHardy [Fri, 18 Nov 2005 17:59:56 +0000 (17:59 +0000)]
Don't eat numeric arguments for other extensions
Phil Oester [Thu, 17 Nov 2005 13:34:51 +0000 (13:34 +0000)]
The conntrack match does not print any info for --ctproto, thus
breaking iptables-restore of any rules using this option. Below
patch adds output and closes bug #398. (Phil Oester)
Pablo Neira [Thu, 17 Nov 2005 13:04:49 +0000 (13:04 +0000)]
only set revisions on real targets, not on jumps. (Pablo Neira)
Harald Welte [Sat, 12 Nov 2005 10:39:40 +0000 (10:39 +0000)]
- Fix memory leak in TC_COMMIT() (Markus Sundberg)
- Cleanup error path of TC_COMMIT()
- Correctly propagate errors of setsockopt to calling function
Henrik Nordstrom [Sat, 5 Nov 2005 09:26:40 +0000 (09:26 +0000)]
add 'goto' support (Henrik Nordstrom <hno@marasystems.com>)
Deti Fliegl [Thu, 3 Nov 2005 18:43:14 +0000 (18:43 +0000)]
fix connmark, it's now only 32bits (Deti Fliegl <deti@fliegl.de)
We'ver screwed this up with the 2.6.14 release. It refuses any mask that
extends 32bits. We should have fixed this by adding a new target/match
revision, but now it's too late anyway :(
Harald Welte [Mon, 31 Oct 2005 19:22:43 +0000 (19:22 +0000)]
about to release 1.3.4
Tom Eastep [Mon, 19 Sep 2005 15:14:04 +0000 (15:14 +0000)]
The conntrack match extension doesn't handle address inversion correctly. (Tom Eastep)
Phil Oester [Mon, 19 Sep 2005 15:00:33 +0000 (15:00 +0000)]
Kernels higher than 2.6.10 don't support multiple --to arguments in
DNAT and SNAT targets. At present, the error is somewhat vague:
# iptables -t nat -A foo -j SNAT --to 1.2.3.4 --to 2.3.4.5
iptables: Invalid argument
But if we want current iptables to work with kernels <= 2.6.10, we
cannot simply disallow this in all cases.
So the below patch adds kernel version checking to iptables, and
utilizes it in [DS]NAT. Now, users will see a more informative error:
# iptables -t nat -A foo -j SNAT --to 1.2.3.4 --to 2.3.4.5
iptables v1.3.3: Multiple --to-source not supported
This generic infrastructure (shamelessly lifted from procps btw) may
come in handy in the future for other changes.
This fixes bugzilla #367. (Phil Oester)
KOVACS Krisztian [Mon, 19 Sep 2005 14:50:06 +0000 (14:50 +0000)]
* specifying random seed for the Jenkins hash works as documented
* iptables-save seems to work now
Signed-off-by: KOVACS Krisztian <hidden@balabit.hu>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Martin Josefsson [Sun, 11 Sep 2005 17:32:39 +0000 (17:32 +0000)]
Add the aligned_u64 typedef, it's defined in linux/types.h in the kernel.
We can't include that header since it conflicts with sys/types.h
Martin Josefsson [Sun, 11 Sep 2005 17:26:43 +0000 (17:26 +0000)]
Make libipt_connbytes.c compile with the ipt_connbytes version that has been merged into the 2.6 kernel
Harald Welte [Mon, 29 Aug 2005 12:50:20 +0000 (12:50 +0000)]
Update manpage to reflect missing ability to SNAT to multiple ranges in 2.6.11-rc1 and later
Harald Welte [Mon, 29 Aug 2005 12:48:13 +0000 (12:48 +0000)]
Update manpage to reflect missing NAT to multiple ranges support in 2.6.11-rc1 and later.
Pablo Neira [Sun, 28 Aug 2005 08:09:44 +0000 (08:09 +0000)]
update string match to reflect new kernel implementation (Pablo Neira)
Maciej Soltysiak [Fri, 26 Aug 2005 10:32:27 +0000 (10:32 +0000)]
Note which kernel versions are affected by REJECT change (Maciej Soltysiak)
Harald Welte [Sat, 6 Aug 2005 21:13:04 +0000 (21:13 +0000)]
add support for new 'dccp' protocol match
Harald Welte [Fri, 5 Aug 2005 18:36:49 +0000 (18:36 +0000)]
port Eric Leblond's NFQUEUE missing-break fix to ip6tables
Eric Leblond [Fri, 5 Aug 2005 18:35:09 +0000 (18:35 +0000)]
Add missing 'break' to make parsing of NFQUEUE numbers work (Eric Leblond)
Robert de Barth [Sun, 31 Jul 2005 07:04:59 +0000 (07:04 +0000)]
_really_ sort only user defined chains (Robert de Barth <list-netfilter@debarth.co.uk>
Harald Welte [Fri, 29 Jul 2005 13:35:40 +0000 (13:35 +0000)]
1.3.3 release
Marcus Sundberg [Fri, 29 Jul 2005 13:26:35 +0000 (13:26 +0000)]
The call to free_opts() in merge_options() is invalid C. The oldopts
argument always refers to the memory pointed to by the opts global,
which may be freed by the call to free_opts(), but oldopts is used
after the free_opts() call. This patch makes sure we don't use freed
memory. (Marcus Sundberg <marcus@ingate.com>)
ip6tables merge by myself.
Harald Welte [Thu, 28 Jul 2005 15:24:02 +0000 (15:24 +0000)]
update manpage to reflect QUEUE / nfnetlink_queue / NFQUEUE changes
Patrick McHardy [Fri, 22 Jul 2005 06:39:45 +0000 (06:39 +0000)]
Fix NAT of ICMP ID ranges (Patrick McHardy)
Harald Welte [Tue, 19 Jul 2005 22:03:49 +0000 (22:03 +0000)]
get rid of numerous gcc-4 warnings
Harald Welte [Tue, 19 Jul 2005 21:44:58 +0000 (21:44 +0000)]
add NFQUEUE support for ipv4 and ipv6
Harald Welte [Sun, 10 Jul 2005 15:06:21 +0000 (15:06 +0000)]
fix various missing header file / #define issues on old kernels. I've now tested compilation with kernels starting 2.4.17
Harald Welte [Sun, 10 Jul 2005 14:38:37 +0000 (14:38 +0000)]
we need to have this header file included, since old kernels don't define IP6T_LOG_UID.
Harald Welte [Sun, 10 Jul 2005 14:31:09 +0000 (14:31 +0000)]
bump version number to 1.3.2
Harald Welte [Mon, 4 Jul 2005 15:35:34 +0000 (15:35 +0000)]
add note to https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=334
Harald Welte [Wed, 29 Jun 2005 16:54:16 +0000 (16:54 +0000)]
attempt to fix save/restore of '! --uid-owner squid' problem as reported by Costa Tsaousis (backport from ipv4 owner)
Harald Welte [Fri, 24 Jun 2005 16:37:00 +0000 (16:37 +0000)]
add pointer to bugzilla
Harald Welte [Fri, 24 Jun 2005 16:36:09 +0000 (16:36 +0000)]
we don't have any counter issues in sparc64
Patrick McHardy [Fri, 24 Jun 2005 02:15:31 +0000 (02:15 +0000)]
Add --log-uid support to libip6t_LOG (Patrick McHardy <kaber@trash.net>)
Pablo Neira [Thu, 23 Jun 2005 08:51:18 +0000 (08:51 +0000)]
fix deletion of targets where kernel size != userspace size (Pablo Neira)
Yasuyuki KOZAKAI [Wed, 22 Jun 2005 12:24:21 +0000 (12:24 +0000)]
reduce code replication of parse_interface() (Yasuyuki Kozakai)
Yasuyuki KOZAKAI [Wed, 22 Jun 2005 12:22:44 +0000 (12:22 +0000)]
This patch prevents user to set negative port value of SNAT/DNAT.
(Yasuyuki Kozakai)
Yasuyuki KOZAKAI [Mon, 13 Jun 2005 01:06:10 +0000 (01:06 +0000)]
Chain name should not start with '!' (Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>)
Charlie Brady [Sun, 12 Jun 2005 15:54:15 +0000 (15:54 +0000)]
Flush chain with noflush when it is redefined (Charlie Brady <charlieb-netfilter-devel@budge.apana.org.au>)
Evgeniy Polyakov [Sat, 11 Jun 2005 17:06:23 +0000 (17:06 +0000)]
OSF: lib_ipt.c changes to support connector notifications (Evgeniy Polyakov <johnpol@2ka.mipt.ru>)
Phil Oester [Sat, 11 Jun 2005 16:27:10 +0000 (16:27 +0000)]
update multiport manpage (Phil Oester <kernel@linuxace.com>)
Tom Eastep [Sat, 11 Jun 2005 16:17:45 +0000 (16:17 +0000)]
Fix CONNMARK save/restore (Tom Eastep <teastep@shorewall.net>, Pawel Sikora <pluto@agmk.net>)
Pablo Neira [Sun, 29 May 2005 19:05:23 +0000 (19:05 +0000)]
Release previously merged options from merge_opts(), reduces memory-usage of iptables-restore dramatically (Pablo Neira)
Rusty Russell [Wed, 25 May 2005 08:10:03 +0000 (08:10 +0000)]
While adding testing for inversion of multiport, noticed that documentation about --ports is *wrong*. Ports do not have to be equal: either dest or src being in list is enough for match.
Harald Welte [Wed, 4 May 2005 07:34:37 +0000 (07:34 +0000)]
include FIN bit in mask of "--syn" bits
Patrick McHardy [Mon, 2 May 2005 20:37:39 +0000 (20:37 +0000)]
Ignore unknown arguments in libipt_ULOG (Patrick McHardy <kaber@trash.net>)
Piotrek Kaczmarek [Sun, 24 Apr 2005 16:19:51 +0000 (16:19 +0000)]
Fix connbytes command line parsing bug (Piotrek Kaczmarek <kaczorek@daleka.net>)
Harald Welte [Fri, 15 Apr 2005 09:39:55 +0000 (09:39 +0000)]
pull out pmtu changes to fix compilation issues
Harald WeltePablo Neira [Fri, 15 Apr 2005 09:35:50 +0000 (09:35 +0000)]
poll goto specific changes out of trunk
Jonas Berlin [Fri, 15 Apr 2005 09:35:24 +0000 (09:35 +0000)]
fix iptables-save/restore of goto (Jonas Berlin)
Harald WeltePablo Neira [Fri, 15 Apr 2005 09:35:50 +0000 (09:35 +0000)]
omeone forgot to update ipt_conntrack.h header in user space. So, update it to use ip_conntrack_old_tuple. (Pablo Neira)
Florian Lohoff [Sun, 10 Apr 2005 20:34:00 +0000 (20:34 +0000)]
add REJECT with icmp-frag-needed (Florian Lohoff)
Phil Oester [Fri, 1 Apr 2005 07:07:00 +0000 (07:07 +0000)]
don't allow newlines in LOG prefix (Phil Oester) (Closes: #312)
Jonas Berlin [Fri, 1 Apr 2005 06:58:38 +0000 (06:58 +0000)]
re-sync ip6tables with iptables (check for init functions) (Jonas Berlin)
Jonas Berlin [Fri, 1 Apr 2005 06:54:23 +0000 (06:54 +0000)]
add lots of man pages (Jonas Berlin)
Jonas Berlin [Fri, 1 Apr 2005 06:38:25 +0000 (06:38 +0000)]
the optflags array contains a '3' for the OPT_LINENUMBERS entry while everywhere else '0' is used (Jonas Berlin)
Michal Pokrywka [Fri, 18 Mar 2005 08:05:10 +0000 (08:05 +0000)]
SET target bugfix by Michal Pokrywka applied
Torsten Lüttgert [Wed, 16 Mar 2005 14:42:31 +0000 (14:42 +0000)]
Fix TCPLAG version (Torsten Lüttgert <t.luettgert@pressestimmen.de>)
Jonas Berlin [Tue, 15 Mar 2005 19:20:14 +0000 (19:20 +0000)]
improve REDIRECT manpage (Jonas Berlin <xkr47@outerspace.dyndns.org>)
Harald Welte [Mon, 7 Mar 2005 14:15:04 +0000 (14:15 +0000)]
bump version to 1.3.1
Pablo Neira [Mon, 7 Mar 2005 14:02:02 +0000 (14:02 +0000)]
This fixes rule deletion in CLUSTERIP in iptables (Pablo Neira)
Olaf Rempel [Fri, 4 Mar 2005 23:08:30 +0000 (23:08 +0000)]
Restore chain order (Olaf Rempel <razzor@kopf-tisch.de>)
Pablo Neira [Mon, 14 Feb 2005 13:13:04 +0000 (13:13 +0000)]
Kill NFC_* stuff in iptables (Pablo Neira <pablo@eurodev.net>)
Fixes build with conntrack event patch for 2.6
Harald Welte [Sun, 13 Feb 2005 18:17:11 +0000 (18:17 +0000)]
Allow "--realm ! foo" and "! --realm foo" (Closes: #297)
Harald Welte [Sun, 13 Feb 2005 09:30:38 +0000 (09:30 +0000)]
fix missing comma at end of line
Martin Josefsson [Sat, 12 Feb 2005 21:40:16 +0000 (21:40 +0000)]
Fix CONNMARK/connmark issues with 64bit kernel and 32bit userspace.
Also fixes a typo in CONNMARK, --mask set the mark, not the mask.
Initial patch by: Pablo Neira <pablo@eurodev.net>
Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se>
Harald Welte [Sat, 12 Feb 2005 21:06:28 +0000 (21:06 +0000)]
time to release 1.3.0 final
Harald Welte [Sat, 12 Feb 2005 21:03:42 +0000 (21:03 +0000)]
remove way outdated files
Harald Welte [Sat, 12 Feb 2005 21:02:26 +0000 (21:02 +0000)]
update notes to reflect subversion usage
Harald Welte [Tue, 8 Feb 2005 15:54:17 +0000 (15:54 +0000)]
try to fix realm save/restore issue (Adresses: #297)
Samuel Jean [Mon, 7 Feb 2005 18:44:31 +0000 (18:44 +0000)]
Fix rule deletion (hinfo pointer initialized by kernel, don't compare it in userspace). (Samuel Jean)
Nikolai Malykh [Mon, 7 Feb 2005 18:38:49 +0000 (18:38 +0000)]
fix parameter handling in libipt_hashlimit with iptables-save (Nikolai Malykh)