]>
git.ipfire.org Git - thirdparty/iptables.git/log
Phil Oester [Sun, 26 Sep 2004 07:44:48 +0000 (07:44 +0000)]
Add comment about time not adhering DST (Phil Oester) (Closes: #75)
Martin Josefsson [Thu, 23 Sep 2004 19:25:06 +0000 (19:25 +0000)]
Replace O(n) with O(1) when TC_INSERT_ENTRY() inserts an entry at the end.
Do the same with TC_DELETE_NUM_ENTRY() when deleting the last rule.
My rule management script does both of these things in certain situations.
Created a file with 50.000 rules which my script converted into
iptables-restore format but inserting each rule with an index instead of
appending like the iptables-save output does. That took a while without this
optimization. Same thing when deleting the 45.000 last rules in that chain,
the script outputs deletes by number starting from the bottom.
Inserting or deleting (by number) in the middle of the chain is still O(n)
where n is the rulenumber where the insert/delete is taking place.
Martin Josefsson [Thu, 23 Sep 2004 18:24:29 +0000 (18:24 +0000)]
Spelling error.
Martin Josefsson [Thu, 23 Sep 2004 18:23:20 +0000 (18:23 +0000)]
Fix returnvalue of TC_BUILTIN()
All jumps to nonexisting chains were believed to be jumps to builtin chains,
that's bad as it made it impossible to add rules with external targets.
Martin Josefsson [Wed, 22 Sep 2004 22:04:07 +0000 (22:04 +0000)]
Make sure to zero all the memory we allocate for the new table.
Makes flushing of chains containing more than a few entries work without
potentially oopsing the kernel.
Martin Josefsson [Wed, 22 Sep 2004 21:37:41 +0000 (21:37 +0000)]
Make TC_DELETE_ENTRY() and TC_DELETE_NUM_ENTRY() actually do something practical
Martin Josefsson [Wed, 22 Sep 2004 21:31:09 +0000 (21:31 +0000)]
Fix two more rulenumber off by 1 errors
Martin Josefsson [Wed, 22 Sep 2004 21:04:07 +0000 (21:04 +0000)]
Insertion of rules with -I was broken.
It checked if a rule existed on the position we were inserting to.
Thus inserting into an empty chain didn't work.
And it didn't care about the fact that the first rule in the chain has index 1
the rulenumer we get starts at 0...
Martin Josefsson [Wed, 22 Sep 2004 21:00:19 +0000 (21:00 +0000)]
Fix rule counting
Martin Josefsson [Wed, 22 Sep 2004 19:39:40 +0000 (19:39 +0000)]
Fix listing of module targets.
Type was only set for standard targets.
Harald: please review.
Simon Lodal [Wed, 22 Sep 2004 01:57:41 +0000 (01:57 +0000)]
realm: fix inversion (Simon Lodal)
Phil Oester [Tue, 21 Sep 2004 10:49:13 +0000 (10:49 +0000)]
Fix half-working ipv6 limit invert check (Phil Oester)
Phil Oester [Tue, 21 Sep 2004 10:46:40 +0000 (10:46 +0000)]
Fix half-working dstlimit invert check (Phil Oester)
Phil Oester [Tue, 21 Sep 2004 10:43:45 +0000 (10:43 +0000)]
limit match does not support invert, warn about it. Closes bugzilla #95 (Phil Oester)
Brad Fisher [Mon, 20 Sep 2004 08:52:19 +0000 (08:52 +0000)]
Add comment match extension (Brad Fisher)
Harald Welte [Sun, 19 Sep 2004 21:00:12 +0000 (21:00 +0000)]
fix segfault from memory allocation: handle->entries is actualy struct ipt_get_entries plus the size
Phil Oester [Sat, 18 Sep 2004 17:45:41 +0000 (17:45 +0000)]
fix psd option parsing (Phil Oester)
Patrick McHardy [Sat, 18 Sep 2004 17:43:36 +0000 (17:43 +0000)]
Print error when '!' is used with multiport. Based on patch by Phil Oester.
Bart De Schuymer [Sun, 12 Sep 2004 22:37:31 +0000 (22:37 +0000)]
port physdev to ip6tables (Bart De Schuymer)
Phil Oester [Thu, 9 Sep 2004 09:57:11 +0000 (09:57 +0000)]
Fix typo. (Phil Oester) Closes #239
Piotr Gasidło [Thu, 2 Sep 2004 20:54:43 +0000 (20:54 +0000)]
Fix number parsing (Piotr Gasidlo)
Harald Welte [Mon, 30 Aug 2004 20:28:53 +0000 (20:28 +0000)]
add delete by matching-rule to libiptc2 (still untested)
Harald Welte [Mon, 30 Aug 2004 16:00:32 +0000 (16:00 +0000)]
slightly different semantics of iptc_builtin
Harald Welte [Mon, 30 Aug 2004 16:00:09 +0000 (16:00 +0000)]
fix slightly changed semantics of iptc_is_builtin
Harald Welte [Sun, 29 Aug 2004 23:32:14 +0000 (23:32 +0000)]
complete libiptc rewrite. Time to load 10k rules goes down from 2.20 minutes to 1.255 seconds (!). Might still contain bugs, use with caution.
Youza Youzovic [Tue, 24 Aug 2004 18:59:05 +0000 (18:59 +0000)]
add missing spaces in 'save' printout (youza@post.cz) (Closes: #235)
Phil Oester [Mon, 23 Aug 2004 20:45:17 +0000 (20:45 +0000)]
Cleanup ttl-match option parsing, fixes bugzilla #183 (Phil Oester)
Phil Oester [Mon, 23 Aug 2004 18:41:44 +0000 (18:41 +0000)]
Fix conntrack-match typo, fixes bugzilla #194 (Phil Oester)
Patrick McHardy [Tue, 3 Aug 2004 22:38:39 +0000 (22:38 +0000)]
Allocate enough memory for addr-list in host_to_addr()
Maciej Soltysiak [Wed, 28 Jul 2004 14:08:22 +0000 (14:08 +0000)]
Limit ttl-value to 0-255 (Maciej Soltysiak <solt@dns.toxicfilms.tv>)
Nicolas Bouliane [Tue, 27 Jul 2004 21:46:21 +0000 (21:46 +0000)]
Check that TTL is between 0 and 255 (Nicolas Bouliane)
Piotr Gasidło [Fri, 23 Jul 2004 00:01:03 +0000 (00:01 +0000)]
update to ipt_account 0.1.16 (Piotr Gasid?o)
Harald Welte [Fri, 16 Jul 2004 13:51:42 +0000 (13:51 +0000)]
In C, we declare variables at the top of function (Olivier Clerget)
Nicolas Bouliane [Mon, 12 Jul 2004 07:16:54 +0000 (07:16 +0000)]
Giving --dst-range twice to iprange did not ring the bell
Bug reported and fixed by Nicolas Bouliane
Harald Welte [Sun, 11 Jul 2004 20:17:53 +0000 (20:17 +0000)]
fix syntax of help message
keso [Sun, 4 Jul 2004 15:20:53 +0000 (15:20 +0000)]
fix dual-free bug with multiple-A dns records (keso@klister.net)
Patrick McHardy [Mon, 28 Jun 2004 12:38:03 +0000 (12:38 +0000)]
Add addrtype match to list of unconditionally built extensions
Patrick McHardy [Mon, 28 Jun 2004 12:33:40 +0000 (12:33 +0000)]
Add ipt_addrtype.h
Joszef Kadlecsik [Mon, 28 Jun 2004 08:09:19 +0000 (08:09 +0000)]
make DO_MULTI=1 documented in INSTALL file
Joszef Kadlecsik [Sun, 27 Jun 2004 01:12:07 +0000 (01:12 +0000)]
Missing file from multi patch added
Bastiaan Bakker [Fri, 25 Jun 2004 11:18:57 +0000 (11:18 +0000)]
Bastiaan Bakker's patch to combine iptables, iptables-save and iptables-restore
for size reduction applied
Harald Welte [Mon, 21 Jun 2004 21:44:08 +0000 (21:44 +0000)]
add missing include
Harald Welte [Thu, 17 Jun 2004 12:21:11 +0000 (12:21 +0000)]
pom-ng only deals with numerical versions
Joszef Kadlecsik [Thu, 17 Jun 2004 09:02:35 +0000 (09:02 +0000)]
Semicolon were missing in the added assigment lines
Joszef Kadlecsik [Thu, 17 Jun 2004 08:48:30 +0000 (08:48 +0000)]
Fix for empty extra match/target man page list processing
Harald Welte [Mon, 14 Jun 2004 22:07:06 +0000 (22:07 +0000)]
fix 'make distrib'
Martin Josefsson [Wed, 26 May 2004 21:56:26 +0000 (21:56 +0000)]
With a 64bit kernel only the high 32bits of nfmark was used regardless of
32/64bit userspace. This makes it quite hard to interoperate with 'tc'.
Sync ipv6 versions with ipv4 versions.
Tested on x86 and sparc64 with both 32bit and 64bit userspace.
Martin Josefsson [Wed, 26 May 2004 16:04:48 +0000 (16:04 +0000)]
Get rid of some warnings when compiling 64bit.
Martin Josefsson [Wed, 26 May 2004 15:58:07 +0000 (15:58 +0000)]
Fix 64bit kernel / 32bit userspace issue.
Sync header with kernel.
Martin Josefsson [Wed, 26 May 2004 15:54:49 +0000 (15:54 +0000)]
Add versions of string_to_number() for use in 32bit userspace with 64bit kernel.
Martin Josefsson [Wed, 26 May 2004 15:50:57 +0000 (15:50 +0000)]
Fix 64bit kernel / 32bit userspace issue.
Martin Josefsson [Wed, 26 May 2004 15:46:27 +0000 (15:46 +0000)]
Better(?) detection for 64bit kernel / 32bit userspace.
Add some ld-flags for sparc64.
Martin Josefsson [Wed, 26 May 2004 15:43:33 +0000 (15:43 +0000)]
What is this doing here? Go away.
Martin Josefsson [Wed, 26 May 2004 15:41:54 +0000 (15:41 +0000)]
When compiled static, don't show help-messages for all matches and targets,
only show help for specified ones.
Martin Josefsson [Tue, 18 May 2004 18:09:43 +0000 (18:09 +0000)]
Get rid of some memoryleaks.
Will make ip(6)tables-restore sessions use less memory.
Harald Welte [Sun, 16 May 2004 09:05:07 +0000 (09:05 +0000)]
cosmetic fix (space between include directive and filename)
Stephane Ouellette [Fri, 14 May 2004 08:21:06 +0000 (08:21 +0000)]
Compiler warnings due to missing include files (Stephane Ouellette)
Martin Josefsson [Sat, 8 May 2004 14:02:36 +0000 (14:02 +0000)]
don't use signed things...
Joszef Kadlecsik [Wed, 5 May 2004 10:10:33 +0000 (10:10 +0000)]
Fabrice's time match update + Tom Eastep's conntrack mach fix applied (JK)
Nuuti Kotivuori [Sun, 18 Apr 2004 17:33:26 +0000 (17:33 +0000)]
Add connrate match userspace part (Nuuti Kotivuori)
Harald Welte [Thu, 15 Apr 2004 10:10:19 +0000 (10:10 +0000)]
include netdb.h if we use getprotobynumber
Harald Welte [Thu, 15 Apr 2004 09:33:07 +0000 (09:33 +0000)]
iptables-1.2.10 coming up
Harald Welte [Thu, 15 Apr 2004 09:28:00 +0000 (09:28 +0000)]
fix typo
Martin Josefsson [Wed, 7 Apr 2004 13:00:43 +0000 (13:00 +0000)]
Fix missing 6 (Bjorn Mattsson)
Ozgur AKAN [Wed, 7 Apr 2004 09:36:29 +0000 (09:36 +0000)]
fix case where somebody uses '-i +' as interface name (Ozgur AKAN)
Pedro Lamarão [Wed, 7 Apr 2004 09:33:17 +0000 (09:33 +0000)]
use /etc/protocols when printing protocol names (Pedro Lamarão)
Piotr Gasidło [Wed, 17 Mar 2004 14:40:03 +0000 (14:40 +0000)]
add userspace support for 'ipt_account' match (Piotr Gasid'o)
Matthew Strait [Wed, 17 Mar 2004 14:26:08 +0000 (14:26 +0000)]
better wording for '-i' (Matthew Strait)
Harald Welte [Thu, 4 Mar 2004 07:45:30 +0000 (07:45 +0000)]
add definition for IPPROTO_SCTP for systems with old header files
Maciej Soltysiak [Thu, 4 Mar 2004 00:14:03 +0000 (00:14 +0000)]
Fix missing newline in libipt_DSCP help-text (Maciej Soltysiak)
Kiran Kumar [Tue, 2 Mar 2004 18:38:27 +0000 (18:38 +0000)]
update for matching chunk flags (Kiran Kumar)
Evgeniy Polyakov [Sun, 29 Feb 2004 21:19:30 +0000 (21:19 +0000)]
add support for netlink reporting to ipt_osf (Evgeniy Polyakov)
Harald Welte [Sun, 22 Feb 2004 20:37:40 +0000 (20:37 +0000)]
don't print/save parameters that were automatically chosen. Only show real values as specified by administrator.
Harald Welte [Sat, 21 Feb 2004 09:20:34 +0000 (09:20 +0000)]
add userspace part of SCTP match
Harald Welte [Tue, 17 Feb 2004 20:56:40 +0000 (20:56 +0000)]
add childlevel match support
Harald Welte [Mon, 16 Feb 2004 23:58:51 +0000 (23:58 +0000)]
- work with new matchinfo struct
- fix save() function
- fix dstport/destport ambiguity
Harald Welte [Mon, 16 Feb 2004 01:56:38 +0000 (01:56 +0000)]
add save() of dstlimit-name
Harald Welte [Mon, 16 Feb 2004 01:55:50 +0000 (01:55 +0000)]
fix various errors in save() function
Joszef Kadlecsik [Mon, 9 Feb 2004 13:47:01 +0000 (13:47 +0000)]
Userspace part of sets: ipset added (JK)
Martin Josefsson [Wed, 4 Feb 2004 23:43:35 +0000 (23:43 +0000)]
Add Patrick to manpage
Harald Welte [Wed, 4 Feb 2004 09:02:23 +0000 (09:02 +0000)]
fix mask '/0' case (David Ahern) (Closes: #147)
Harald Welte [Wed, 4 Feb 2004 08:42:37 +0000 (08:42 +0000)]
fix '--icmp-type any' case
Henrik Nordstrom [Tue, 3 Feb 2004 09:49:45 +0000 (09:49 +0000)]
latest version of CONNMARK updates (Henrik Nordstrom)
Henrik Nordstrom [Tue, 3 Feb 2004 08:19:04 +0000 (08:19 +0000)]
latest version of CONNMARK (Henrik Nordstrom)
Martin Josefsson [Mon, 2 Feb 2004 20:14:56 +0000 (20:14 +0000)]
(Continuing the bloody-series) Bloody missing resync (Did I mention how much I hate copy-n-edits?)
Martin Josefsson [Mon, 2 Feb 2004 20:12:33 +0000 (20:12 +0000)]
(Continuing the bloody-series) Bloody typos :)
Martin Josefsson [Mon, 2 Feb 2004 20:02:10 +0000 (20:02 +0000)]
Bloody copy-n-edit. Make sure to use matches in the order they are given...
Martin Josefsson [Mon, 2 Feb 2004 20:01:18 +0000 (20:01 +0000)]
Make sure to use matches in the order they are given when calling do_command() multiple times.
Martin Josefsson [Mon, 2 Feb 2004 19:59:17 +0000 (19:59 +0000)]
Bloody copy-n-edit. Add --test (-t) in order to test...
Martin Josefsson [Mon, 2 Feb 2004 19:58:36 +0000 (19:58 +0000)]
Bloody copy-n-edit. Complain when COMMIT is missing...
Martin Josefsson [Sun, 1 Feb 2004 22:03:27 +0000 (22:03 +0000)]
Add --test (-t) in order to test the whole file without changing anything if something fails
Martin Josefsson [Sun, 1 Feb 2004 21:46:04 +0000 (21:46 +0000)]
Complain when COMMIT is missing for the last table in the input
Martin Josefsson [Sat, 31 Jan 2004 19:41:49 +0000 (19:41 +0000)]
Another minor codestyle fix
Martin Josefsson [Sat, 31 Jan 2004 19:33:47 +0000 (19:33 +0000)]
Minor codestyle fix
Martin Josefsson [Sat, 31 Jan 2004 19:28:13 +0000 (19:28 +0000)]
I guess nobody actually used --verbose
Karsten Desler [Sat, 31 Jan 2004 15:33:55 +0000 (15:33 +0000)]
Fix even more possibly not zero-terminated strings after copy (Karsten Desler)
Karsten Desler [Sat, 31 Jan 2004 15:14:38 +0000 (15:14 +0000)]
Fix another possibly not zero-terminated string after copy (Karsten Desler)
Karsten Desler [Sat, 31 Jan 2004 13:22:18 +0000 (13:22 +0000)]
Fix possibly not zero-terminated string after copy (Karsten Desler)
Henrik Nordstrom [Tue, 27 Jan 2004 13:15:10 +0000 (13:15 +0000)]
use <stddef.h> instead of <linux/stddef.h> (Henrik Nordstrom)
Henrik Nordstrom [Thu, 22 Jan 2004 15:04:24 +0000 (15:04 +0000)]
split manpages into per-extension manpage snippet (Henrik Nordstrom)
add lots of missing manpage snippets (Harald Welte)