]> git.ipfire.org Git - thirdparty/iptables.git/log
thirdparty/iptables.git
20 years agoAdd comment about time not adhering DST (Phil Oester) (Closes: #75)
Phil Oester [Sun, 26 Sep 2004 07:44:48 +0000 (07:44 +0000)] 
Add comment about time not adhering DST (Phil Oester) (Closes: #75)

20 years agoReplace O(n) with O(1) when TC_INSERT_ENTRY() inserts an entry at the end.
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.

20 years agoSpelling error.
Martin Josefsson [Thu, 23 Sep 2004 18:24:29 +0000 (18:24 +0000)] 
Spelling error.

20 years agoFix returnvalue of TC_BUILTIN()
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.

20 years agoMake sure to zero all the memory we allocate for the new table.
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.

20 years agoMake TC_DELETE_ENTRY() and TC_DELETE_NUM_ENTRY() actually do something practical
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

20 years agoFix two more rulenumber off by 1 errors
Martin Josefsson [Wed, 22 Sep 2004 21:31:09 +0000 (21:31 +0000)] 
Fix two more rulenumber off by 1 errors

20 years agoInsertion of rules with -I was broken.
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...

20 years agoFix rule counting
Martin Josefsson [Wed, 22 Sep 2004 21:00:19 +0000 (21:00 +0000)] 
Fix rule counting

20 years agoFix listing of module targets.
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.

20 years agorealm: fix inversion (Simon Lodal)
Simon Lodal [Wed, 22 Sep 2004 01:57:41 +0000 (01:57 +0000)] 
realm: fix inversion (Simon Lodal)

20 years agoFix half-working ipv6 limit invert check (Phil Oester)
Phil Oester [Tue, 21 Sep 2004 10:49:13 +0000 (10:49 +0000)] 
Fix half-working ipv6 limit invert check (Phil Oester)

20 years agoFix half-working dstlimit 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)

20 years agolimit match does not support invert, warn about it. Closes bugzilla #95 (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)

20 years agoAdd comment match extension (Brad Fisher)
Brad Fisher [Mon, 20 Sep 2004 08:52:19 +0000 (08:52 +0000)] 
Add comment match extension (Brad Fisher)

20 years agofix segfault from memory allocation: handle->entries is actualy struct ipt_get_entrie...
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

20 years agofix psd option parsing (Phil Oester)
Phil Oester [Sat, 18 Sep 2004 17:45:41 +0000 (17:45 +0000)] 
fix psd option parsing (Phil Oester)

20 years agoPrint error when '!' is used with multiport. Based on patch by 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.

20 years agoport physdev to ip6tables (Bart De Schuymer)
Bart De Schuymer [Sun, 12 Sep 2004 22:37:31 +0000 (22:37 +0000)] 
port physdev to ip6tables (Bart De Schuymer)

20 years agoFix typo. (Phil Oester) Closes #239
Phil Oester [Thu, 9 Sep 2004 09:57:11 +0000 (09:57 +0000)] 
Fix typo. (Phil Oester) Closes #239

20 years agoFix number parsing (Piotr Gasidlo)
Piotr Gasidło [Thu, 2 Sep 2004 20:54:43 +0000 (20:54 +0000)] 
Fix number parsing (Piotr Gasidlo)

20 years agoadd delete by matching-rule to libiptc2 (still untested)
Harald Welte [Mon, 30 Aug 2004 20:28:53 +0000 (20:28 +0000)] 
add delete by matching-rule to libiptc2 (still untested)

20 years agoslightly different semantics of iptc_builtin
Harald Welte [Mon, 30 Aug 2004 16:00:32 +0000 (16:00 +0000)] 
slightly different semantics of iptc_builtin

20 years agofix slightly changed semantics of iptc_is_builtin
Harald Welte [Mon, 30 Aug 2004 16:00:09 +0000 (16:00 +0000)] 
fix slightly changed semantics of iptc_is_builtin

20 years agocomplete libiptc rewrite. Time to load 10k rules goes down from 2.20 minutes to...
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.

20 years agoadd missing spaces in 'save' printout (youza@post.cz) (Closes: #235)
Youza Youzovic [Tue, 24 Aug 2004 18:59:05 +0000 (18:59 +0000)] 
add missing spaces in 'save' printout (youza@post.cz) (Closes: #235)

20 years agoCleanup ttl-match option parsing, fixes bugzilla #183 (Phil Oester)
Phil Oester [Mon, 23 Aug 2004 20:45:17 +0000 (20:45 +0000)] 
Cleanup ttl-match option parsing, fixes bugzilla #183 (Phil Oester)

20 years agoFix conntrack-match typo, fixes bugzilla #194 (Phil Oester)
Phil Oester [Mon, 23 Aug 2004 18:41:44 +0000 (18:41 +0000)] 
Fix conntrack-match typo, fixes bugzilla #194 (Phil Oester)

21 years agoAllocate enough memory for addr-list in host_to_addr()
Patrick McHardy [Tue, 3 Aug 2004 22:38:39 +0000 (22:38 +0000)] 
Allocate enough memory for addr-list in host_to_addr()

21 years agoLimit ttl-value to 0-255 (Maciej Soltysiak <solt@dns.toxicfilms.tv>)
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>)

21 years agoCheck that TTL is between 0 and 255 (Nicolas Bouliane)
Nicolas Bouliane [Tue, 27 Jul 2004 21:46:21 +0000 (21:46 +0000)] 
Check that TTL is between 0 and 255 (Nicolas Bouliane)

21 years agoupdate to ipt_account 0.1.16 (Piotr Gasid?o)
Piotr Gasidło [Fri, 23 Jul 2004 00:01:03 +0000 (00:01 +0000)] 
update to ipt_account 0.1.16 (Piotr Gasid?o)

21 years agoIn C, we declare variables at the top of function (Olivier Clerget)
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)

21 years agoGiving --dst-range twice to iprange did not ring the bell
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

21 years agofix syntax of help message
Harald Welte [Sun, 11 Jul 2004 20:17:53 +0000 (20:17 +0000)] 
fix syntax of help message

21 years agofix dual-free bug with multiple-A dns records (keso@klister.net)
keso [Sun, 4 Jul 2004 15:20:53 +0000 (15:20 +0000)] 
fix dual-free bug with multiple-A dns records (keso@klister.net)

21 years agoAdd addrtype match to list of unconditionally built extensions
Patrick McHardy [Mon, 28 Jun 2004 12:38:03 +0000 (12:38 +0000)] 
Add addrtype match to list of unconditionally built extensions

21 years agoAdd ipt_addrtype.h
Patrick McHardy [Mon, 28 Jun 2004 12:33:40 +0000 (12:33 +0000)] 
Add ipt_addrtype.h

21 years agomake DO_MULTI=1 documented in INSTALL file
Joszef Kadlecsik [Mon, 28 Jun 2004 08:09:19 +0000 (08:09 +0000)] 
make DO_MULTI=1 documented in INSTALL file

21 years agoMissing file from multi patch added
Joszef Kadlecsik [Sun, 27 Jun 2004 01:12:07 +0000 (01:12 +0000)] 
Missing file from multi patch added

21 years agoBastiaan Bakker's patch to combine iptables, iptables-save and iptables-restore
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

21 years agoadd missing include
Harald Welte [Mon, 21 Jun 2004 21:44:08 +0000 (21:44 +0000)] 
add missing include

21 years agopom-ng only deals with numerical versions
Harald Welte [Thu, 17 Jun 2004 12:21:11 +0000 (12:21 +0000)] 
pom-ng only deals with numerical versions

21 years agoSemicolon were missing in the added assigment lines
Joszef Kadlecsik [Thu, 17 Jun 2004 09:02:35 +0000 (09:02 +0000)] 
Semicolon were missing in the added assigment lines

21 years agoFix for empty extra match/target man page list processing
Joszef Kadlecsik [Thu, 17 Jun 2004 08:48:30 +0000 (08:48 +0000)] 
Fix for empty extra match/target man page list processing

21 years agofix 'make distrib'
Harald Welte [Mon, 14 Jun 2004 22:07:06 +0000 (22:07 +0000)] 
fix 'make distrib'

21 years agoWith a 64bit kernel only the high 32bits of nfmark was used regardless of
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.

21 years agoGet rid of some warnings when compiling 64bit.
Martin Josefsson [Wed, 26 May 2004 16:04:48 +0000 (16:04 +0000)] 
Get rid of some warnings when compiling 64bit.

21 years agoFix 64bit kernel / 32bit userspace issue.
Martin Josefsson [Wed, 26 May 2004 15:58:07 +0000 (15:58 +0000)] 
Fix 64bit kernel / 32bit userspace issue.
Sync header with kernel.

21 years agoAdd versions of string_to_number() for use in 32bit userspace with 64bit 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.

21 years agoFix 64bit kernel / 32bit userspace issue.
Martin Josefsson [Wed, 26 May 2004 15:50:57 +0000 (15:50 +0000)] 
Fix 64bit kernel / 32bit userspace issue.

21 years agoBetter(?) detection for 64bit kernel / 32bit userspace.
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.

21 years agoWhat is this doing here? Go away.
Martin Josefsson [Wed, 26 May 2004 15:43:33 +0000 (15:43 +0000)] 
What is this doing here? Go away.

21 years agoWhen compiled static, don't show help-messages for all matches and targets,
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.

21 years agoGet rid of some memoryleaks.
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.

21 years agocosmetic fix (space between include directive and filename)
Harald Welte [Sun, 16 May 2004 09:05:07 +0000 (09:05 +0000)] 
cosmetic fix (space between include directive and filename)

21 years agoCompiler warnings due to missing include files (Stephane Ouellette)
Stephane Ouellette [Fri, 14 May 2004 08:21:06 +0000 (08:21 +0000)] 
Compiler warnings due to missing include files (Stephane Ouellette)

21 years agodon't use signed things...
Martin Josefsson [Sat, 8 May 2004 14:02:36 +0000 (14:02 +0000)] 
don't use signed things...

21 years agoFabrice's time match update + Tom Eastep's conntrack mach fix applied (JK)
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)

21 years agoAdd connrate match userspace part (Nuuti Kotivuori)
Nuuti Kotivuori [Sun, 18 Apr 2004 17:33:26 +0000 (17:33 +0000)] 
Add connrate match userspace part (Nuuti Kotivuori)

21 years agoinclude netdb.h if we use getprotobynumber
Harald Welte [Thu, 15 Apr 2004 10:10:19 +0000 (10:10 +0000)] 
include netdb.h if we use getprotobynumber

21 years agoiptables-1.2.10 coming up
Harald Welte [Thu, 15 Apr 2004 09:33:07 +0000 (09:33 +0000)] 
iptables-1.2.10 coming up

21 years agofix typo
Harald Welte [Thu, 15 Apr 2004 09:28:00 +0000 (09:28 +0000)] 
fix typo

21 years agoFix missing 6 (Bjorn Mattsson)
Martin Josefsson [Wed, 7 Apr 2004 13:00:43 +0000 (13:00 +0000)] 
Fix missing 6 (Bjorn Mattsson)

21 years agofix case where somebody uses '-i +' as interface name (Ozgur AKAN)
Ozgur AKAN [Wed, 7 Apr 2004 09:36:29 +0000 (09:36 +0000)] 
fix case where somebody uses '-i +' as interface name (Ozgur AKAN)

17 years agouse /etc/protocols when printing protocol names (Pedro Lamarão)
Pedro Lamarão [Wed, 7 Apr 2004 09:33:17 +0000 (09:33 +0000)] 
use /etc/protocols when printing protocol names (Pedro Lamarão)

21 years agoadd userspace support for 'ipt_account' match (Piotr Gasid'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)

21 years agobetter wording for '-i' (Matthew Strait)
Matthew Strait [Wed, 17 Mar 2004 14:26:08 +0000 (14:26 +0000)] 
better wording for '-i' (Matthew Strait)

21 years agoadd definition for IPPROTO_SCTP for systems with old header files
Harald Welte [Thu, 4 Mar 2004 07:45:30 +0000 (07:45 +0000)] 
add definition for IPPROTO_SCTP for systems with old header files

21 years agoFix missing newline in libipt_DSCP help-text (Maciej Soltysiak)
Maciej Soltysiak [Thu, 4 Mar 2004 00:14:03 +0000 (00:14 +0000)] 
Fix missing newline in libipt_DSCP help-text (Maciej Soltysiak)

21 years agoupdate for matching chunk flags (Kiran Kumar)
Kiran Kumar [Tue, 2 Mar 2004 18:38:27 +0000 (18:38 +0000)] 
update for matching chunk flags (Kiran Kumar)

21 years agoadd support for netlink reporting to ipt_osf (Evgeniy Polyakov)
Evgeniy Polyakov [Sun, 29 Feb 2004 21:19:30 +0000 (21:19 +0000)] 
add support for netlink reporting to ipt_osf (Evgeniy Polyakov)

21 years agodon't print/save parameters that were automatically chosen. Only show real values...
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.

21 years agoadd userspace part of SCTP match
Harald Welte [Sat, 21 Feb 2004 09:20:34 +0000 (09:20 +0000)] 
add userspace part of SCTP match

21 years agoadd childlevel match support
Harald Welte [Tue, 17 Feb 2004 20:56:40 +0000 (20:56 +0000)] 
add childlevel match support

21 years ago- work with new matchinfo struct
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

21 years agoadd save() of dstlimit-name
Harald Welte [Mon, 16 Feb 2004 01:56:38 +0000 (01:56 +0000)] 
add save() of dstlimit-name

21 years agofix various errors in save() function
Harald Welte [Mon, 16 Feb 2004 01:55:50 +0000 (01:55 +0000)] 
fix various errors in save() function

21 years agoUserspace part of sets: ipset added (JK)
Joszef Kadlecsik [Mon, 9 Feb 2004 13:47:01 +0000 (13:47 +0000)] 
Userspace part of sets: ipset added (JK)

21 years agoAdd Patrick to manpage
Martin Josefsson [Wed, 4 Feb 2004 23:43:35 +0000 (23:43 +0000)] 
Add Patrick to manpage

21 years agofix mask '/0' case (David Ahern) (Closes: #147)
Harald Welte [Wed, 4 Feb 2004 09:02:23 +0000 (09:02 +0000)] 
fix mask '/0' case (David Ahern) (Closes: #147)

21 years agofix '--icmp-type any' case
Harald Welte [Wed, 4 Feb 2004 08:42:37 +0000 (08:42 +0000)] 
fix '--icmp-type any' case

21 years agolatest version of CONNMARK updates (Henrik Nordstrom)
Henrik Nordstrom [Tue, 3 Feb 2004 09:49:45 +0000 (09:49 +0000)] 
latest version of CONNMARK updates (Henrik Nordstrom)

21 years agolatest version of CONNMARK (Henrik Nordstrom)
Henrik Nordstrom [Tue, 3 Feb 2004 08:19:04 +0000 (08:19 +0000)] 
latest version of CONNMARK (Henrik Nordstrom)

21 years ago(Continuing the bloody-series) Bloody missing resync (Did I mention how much I hate...
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?)

21 years ago(Continuing the bloody-series) Bloody typos :)
Martin Josefsson [Mon, 2 Feb 2004 20:12:33 +0000 (20:12 +0000)] 
(Continuing the bloody-series) Bloody typos :)

21 years agoBloody copy-n-edit. Make sure to use matches in the order they are given...
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...

21 years agoMake sure to use matches in the order they are given when calling do_command() multip...
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.

21 years agoBloody copy-n-edit. Add --test (-t) in order to test...
Martin Josefsson [Mon, 2 Feb 2004 19:59:17 +0000 (19:59 +0000)] 
Bloody copy-n-edit. Add --test (-t) in order to test...

21 years agoBloody copy-n-edit. Complain when COMMIT is missing...
Martin Josefsson [Mon, 2 Feb 2004 19:58:36 +0000 (19:58 +0000)] 
Bloody copy-n-edit. Complain when COMMIT is missing...

21 years agoAdd --test (-t) in order to test the whole file without changing anything if somethin...
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

21 years agoComplain when COMMIT is missing for the last table in the input
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

21 years agoAnother minor codestyle fix
Martin Josefsson [Sat, 31 Jan 2004 19:41:49 +0000 (19:41 +0000)] 
Another minor codestyle fix

21 years agoMinor codestyle fix
Martin Josefsson [Sat, 31 Jan 2004 19:33:47 +0000 (19:33 +0000)] 
Minor codestyle fix

21 years agoI guess nobody actually used --verbose
Martin Josefsson [Sat, 31 Jan 2004 19:28:13 +0000 (19:28 +0000)] 
I guess nobody actually used --verbose

21 years agoFix even more possibly not zero-terminated strings after copy (Karsten Desler)
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)

21 years agoFix another possibly not zero-terminated string 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)

21 years agoFix 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)

21 years agouse <stddef.h> instead of <linux/stddef.h> (Henrik Nordstrom)
Henrik Nordstrom [Tue, 27 Jan 2004 13:15:10 +0000 (13:15 +0000)] 
use <stddef.h> instead of <linux/stddef.h> (Henrik Nordstrom)

21 years agosplit manpages into per-extension manpage snippet (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)