]>
git.ipfire.org Git - thirdparty/iptables.git/log
Jesper Dangaard Brouer [Mon, 19 Jun 2006 16:53:03 +0000 (16:53 +0000)]
Add new exit value to indicate concurrency issues (Jesper Dangaard Brouer <hawk@comx.dk>)
Phil Oester [Mon, 29 May 2006 22:59:13 +0000 (22:59 +0000)]
trivial connlimit manpage fix (Phil Oester <kernel@linuxace.com>)
Simon Lodal [Wed, 24 May 2006 16:25:09 +0000 (16:25 +0000)]
Use lowercase letters for match name (Simon Lodal <simonl@parknet.dk>)
Evan Miller [Wed, 24 May 2006 16:21:57 +0000 (16:21 +0000)]
Add information about :<port> syntax (Evan Miller <evanm@frap.net>)
James Morris [Wed, 24 May 2006 16:15:27 +0000 (16:15 +0000)]
secmark: Add libip6t_CONNSECMARK
This patch adds the shared library module for the CONNSECMARK target
(IPv6).
Signed-off-by: James Morris <jmorris@namei.org>
Patrick McHardy [Wed, 24 May 2006 16:15:03 +0000 (16:15 +0000)]
D'oh .. I'm not too smart, forgot to add the new files in the previous patches :)
James Morris [Wed, 24 May 2006 16:12:55 +0000 (16:12 +0000)]
secmark: Add libipt_CONNSECMARK
This patch adds the shared library module for the CONNSECMARK target
(IPv4).
Signed-off-by: James Morris <jmorris@namei.org>
James Morris [Wed, 24 May 2006 16:12:40 +0000 (16:12 +0000)]
secmark: Add libip6t_SECMARK
This patch adds the shared library module for the SECMARK target (IPv6).
Signed-off-by: James Morris <jmorris@namei.org>
James Morris [Wed, 24 May 2006 16:12:24 +0000 (16:12 +0000)]
secmark: Add libipt_SECMARK
This patch adds the shared library module for the SECMARK target (IPv4).
Signed-off-by: James Morris <jmorris@namei.org>
James Morris [Wed, 24 May 2006 16:11:58 +0000 (16:11 +0000)]
secmark: Add libselinux support
This patch adds the infrastructure for linking iptables against
libselinux, for use with the SECMARK target. This is enabled
by setting DO_SELINUX=1 in the build environment.
Signed-off-by: James Morris <jmorris@namei.org>
Patrick McHardy [Fri, 28 Apr 2006 08:10:08 +0000 (08:10 +0000)]
Add DCCP/SCTP support to multiport. Patch for kernel will go in 2.6.18.
Patrick McHardy [Fri, 28 Apr 2006 08:09:07 +0000 (08:09 +0000)]
Replace annoying "Something wrong... deleting dependencies" message by something more useful.
Patrick McHardy [Sat, 22 Apr 2006 02:08:56 +0000 (02:08 +0000)]
Don't overwrite errno with return value of setsockopt (which is -1 on error).
Fixes "Unknown error
4294967295 " message (bugzilla #460).
Patrick McHardyHarald Welte [Sat, 22 Apr 2006 02:08:12 +0000 (02:08 +0000)]
Revert incorrect fix for "Unknown error
4294967295 " problem
Harald Welte [Fri, 21 Apr 2006 12:31:53 +0000 (12:31 +0000)]
When entering an invalid command (such as iptables -A INPUT -j MARK --set-mark
1), the error message "Unknown error
4294967295 " is displayed; (Closes: #460)
Patrick McHardyHarald Welte [Sat, 22 Apr 2006 02:08:12 +0000 (02:08 +0000)]
In ip[6]tables.c, NUMBER_OF_OPT was increased to 12 for the OPT_COUNTERS
option. However, the new array element is not initialized in either
commands_v_options[NUMBER_OF_CMD][NUMBER_OF_OPT] or
inverse_for_options[NUMBER_OF_OPT]. (Closes: #462)
Harald Welte [Fri, 21 Apr 2006 11:56:30 +0000 (11:56 +0000)]
cmdflags is used in cmd2char() to return the option for a command. It uses the
bit position of the command mask as an index in the array. There's no entry for
CMD_CHECK (0x0800U), so lookups for CMD_RENAME_CHAIN (0x1000U) index outside the
array. (Closes: #463)
Yasuyuki KOZAKAI [Sat, 15 Apr 2006 03:11:15 +0000 (03:11 +0000)]
[IPTABLES,IP6TABLES]: check invalid esp spi range
Yasuyuki KOZAKAI [Sat, 15 Apr 2006 03:09:37 +0000 (03:09 +0000)]
[IP6TABLES] kill manual comparing protocol name with "ipv6-icmp".
Yasuyuki KOZAKAI [Sat, 15 Apr 2006 03:05:41 +0000 (03:05 +0000)]
fix loading shared library of ICMPv6 match.
The current ip6tables tries to load libip6t_icmp6.so when user types
'ip6tables -p icmpv6 ...' or 'ip6tables ... -m icmpv6' ...', and it fails.
This patch renames libip6t_icmpv6.c to libip6t_icmp6.c so that ip6tables
can load it. Now kernel module and user library has same name 'icmp6'.
It can reduce confusion about name mismatch. That's why I renamed it
instead of reverting change in find_match() which brought this bug.
This patch keeps compatibiity and we can use '-p icmpv6', '-p ipv6-icmpv6',
'-m icmpv6', '-m ipv6-icmpv6', and '-m icmp6', as ever.
Harald Welte [Wed, 12 Apr 2006 10:58:41 +0000 (10:58 +0000)]
[IPTABLES,IP6TABLES]: fix the path to detect esp/connbytes support in kernel
The recent kernels don't have ipt_connbytes.c and ip6t_esp.c.
Daniel De Graaf [Fri, 31 Mar 2006 01:31:29 +0000 (01:31 +0000)]
Correct iptables-save output of osf module (Daniel De Graaf)
Yasuyuki KOZAKAI [Wed, 29 Mar 2006 09:24:43 +0000 (09:24 +0000)]
don't allow to specify protocol of IPv6 extension header (Yasuyuki Kozakai)
Sometimes I hear that people do 'ip6tables -p ah ...' which never matches
any packet. IPv6 extension headers except of ESP are skipped and invalid
as argument of '-p'. Then I propose that ip6tables exits with error in such
case.
Joszef Kadlecsik [Fri, 3 Mar 2006 09:36:50 +0000 (09:36 +0000)]
Multiple matches of the same type can be specified on the commandline.
If two or more matches of the same type are detected then the options
are assumed to be grouped in order to tell which option belongs
to which match:
... -m foo ... <options0> ... -m foo ... <options1> ...
Otherwise the commandline parsing is unmodified.
Harald Welte [Sat, 11 Feb 2006 09:50:11 +0000 (09:50 +0000)]
Make '-p all' a special case that is handled before calling getprotoent() (Closes: #446)
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>)