]>
git.ipfire.org Git - thirdparty/iptables.git/log
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)
Phil Oester [Fri, 4 Feb 2005 07:38:02 +0000 (07:38 +0000)]
Revert the recent addition of memset()'s to TC_COMMIT. One of them is bogus and the other one needs more investigation to why valgrind is complaining.
Noticed and reverted by Phil Oester.
Phil Oester [Wed, 2 Feb 2005 19:20:15 +0000 (19:20 +0000)]
Add support for inversion to multiport revision 1.
Signed-off-by: Phil Oester <kernel@linuxace.com>
Harald Welte [Tue, 1 Feb 2005 16:47:35 +0000 (16:47 +0000)]
we now need to exclude .svn instead of CVS
Harald Welte [Tue, 1 Feb 2005 16:46:26 +0000 (16:46 +0000)]
release rc1
Harald Welte [Tue, 1 Feb 2005 16:45:56 +0000 (16:45 +0000)]
re-implement alphabetic sorting to not confuse users who upgrade to 1.3.0
Harald Welte [Tue, 1 Feb 2005 15:53:07 +0000 (15:53 +0000)]
fix compiler warning about discarding const
Harald Welte [Tue, 1 Feb 2005 15:42:08 +0000 (15:42 +0000)]
add missing comma
Harald Welte [Tue, 1 Feb 2005 15:41:07 +0000 (15:41 +0000)]
fix typo
Harald Welte [Tue, 1 Feb 2005 15:38:20 +0000 (15:38 +0000)]
make structure initializers use C99 standard (Harald Welte)
Martin Josefsson [Tue, 1 Feb 2005 15:22:20 +0000 (15:22 +0000)]
typo
Harald Welte [Tue, 1 Feb 2005 15:14:15 +0000 (15:14 +0000)]
check for colons
Harald Welte [Tue, 1 Feb 2005 15:13:31 +0000 (15:13 +0000)]
be more specific what INPUT means (Matthias Bruestle)
Harald Welte [Tue, 1 Feb 2005 13:36:46 +0000 (13:36 +0000)]
Use C99 initializers
Derrik Pates [Tue, 1 Feb 2005 13:28:14 +0000 (13:28 +0000)]
- Sets the 'iptc_fn' global variable to the pointer to the current functions in all major TC_* functions. This is necessary because in certain cases, an error return from a function that doesn't set 'iptc_fn' will conflict with a function-specific error return from one that does, causing TC_STRERROR() to return the wrong error string. This ensures that the right one will be returned.
- Implements a simple reference counter for the netlink socket global variable 'sockfd'; this is necessary for IPTables::IPv4, where multiple tables (filter, nat, mangle, untracked) may be opened at one time. The way libiptc does it in the official version causes previously-opened tables to break such that attempts to commit changes will fail.
- Adds a couple of memset() invocations in TC_COMMIT, based on past analysis with valgrind. It claimed that allocated structure were not being fully initialized, and adding the memset()s corrected this warning.
(Derrik Pates <demon@devrandom.net>)
Phil Oester [Tue, 1 Feb 2005 12:56:16 +0000 (12:56 +0000)]
John McCann points out via bugzilla that iptables happily accepts this
syntax on DNAT/SNAT:
--to x.x.x.x:y:z
but doesn't actually make use of the second port. Clear up the confusion
by only accepting a dash between the ports.
This closes bugzilla #265.
Signed-off-by: Phil Oester <kernel@linuxace.com>
Nikolai Malykh [Sat, 22 Jan 2005 13:47:31 +0000 (13:47 +0000)]
fix name of 'extra_opts' structure member (Nikolai Malykh)
Martin Josefsson [Wed, 5 Jan 2005 15:21:15 +0000 (15:21 +0000)]
Make it compile on current kernels, the future isn't here yet.
Rusty Russell [Mon, 3 Jan 2005 09:51:58 +0000 (09:51 +0000)]
Testsuite found an issue: multiport accepts -p ! tcp.
Pablo Neira [Mon, 3 Jan 2005 09:37:07 +0000 (09:37 +0000)]
Pablo Neira:
Multiport revision 1 userspace support.
Martin Josefsson [Mon, 3 Jan 2005 07:48:06 +0000 (07:48 +0000)]
Remove leftover debug printf
Martin Josefsson [Mon, 3 Jan 2005 07:46:07 +0000 (07:46 +0000)]
Replace memchr with strlen and fix up one of the statements.
Rusty Russell [Mon, 3 Jan 2005 03:48:40 +0000 (03:48 +0000)]
Extension revision number support (if kernel supports the getsockopts).
Enhance MARK match with second revision.
Committed in anticipation of the kernel patch being applied.