]> git.ipfire.org Git - thirdparty/iptables.git/log
thirdparty/iptables.git
20 years agoOSF: lib_ipt.c changes to support connector notifications (Evgeniy Polyakov <johnpol...
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>)

20 years agoupdate multiport manpage (Phil Oester <kernel@linuxace.com>)
Phil Oester [Sat, 11 Jun 2005 16:27:10 +0000 (16:27 +0000)] 
update multiport manpage (Phil Oester <kernel@linuxace.com>)

20 years agoFix CONNMARK save/restore (Tom Eastep <teastep@shorewall.net>, Pawel Sikora <pluto...
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>)

20 years agoRelease previously merged options from merge_opts(), reduces memory-usage of iptables...
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)

20 years agoWhile adding testing for inversion of multiport, noticed that documentation about...
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.

20 years agoinclude FIN bit in mask of "--syn" bits
Harald Welte [Wed, 4 May 2005 07:34:37 +0000 (07:34 +0000)] 
include FIN bit in mask of "--syn" bits

20 years agoIgnore unknown arguments in libipt_ULOG (Patrick McHardy <kaber@trash.net>)
Patrick McHardy [Mon, 2 May 2005 20:37:39 +0000 (20:37 +0000)] 
Ignore unknown arguments in libipt_ULOG (Patrick McHardy <kaber@trash.net>)

20 years agoFix connbytes command line parsing bug (Piotrek Kaczmarek <kaczorek@daleka.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>)

20 years agopull out pmtu changes to fix compilation issues
Harald Welte [Fri, 15 Apr 2005 09:39:55 +0000 (09:39 +0000)] 
pull out pmtu changes to fix compilation issues

20 years agopoll goto specific changes out of trunk
Harald WeltePablo Neira [Fri, 15 Apr 2005 09:35:50 +0000 (09:35 +0000)] 
poll goto specific changes out of trunk

20 years agofix iptables-save/restore of goto (Jonas Berlin)
Jonas Berlin [Fri, 15 Apr 2005 09:35:24 +0000 (09:35 +0000)] 
fix iptables-save/restore of goto (Jonas Berlin)

20 years agoomeone forgot to update ipt_conntrack.h header in user space. So, update it to use...
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)

20 years agoadd REJECT with icmp-frag-needed (Florian Lohoff)
Florian Lohoff [Sun, 10 Apr 2005 20:34:00 +0000 (20:34 +0000)] 
add REJECT with icmp-frag-needed (Florian Lohoff)

20 years agodon't allow newlines in LOG prefix (Phil Oester) (Closes: #312)
Phil Oester [Fri, 1 Apr 2005 07:07:00 +0000 (07:07 +0000)] 
don't allow newlines in LOG prefix (Phil Oester) (Closes: #312)

20 years agore-sync ip6tables with iptables (check for init functions) (Jonas Berlin)
Jonas Berlin [Fri, 1 Apr 2005 06:58:38 +0000 (06:58 +0000)] 
re-sync ip6tables with iptables (check for init functions) (Jonas Berlin)

20 years agoadd lots of man pages (Jonas Berlin)
Jonas Berlin [Fri, 1 Apr 2005 06:54:23 +0000 (06:54 +0000)] 
add lots of man pages (Jonas Berlin)

20 years agothe optflags array contains a '3' for the OPT_LINENUMBERS entry while everywhere...
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)

20 years agoSET target bugfix by Michal Pokrywka applied
Michal Pokrywka [Fri, 18 Mar 2005 08:05:10 +0000 (08:05 +0000)] 
SET target bugfix by Michal Pokrywka applied

20 years agoFix TCPLAG version (Torsten Lüttgert <t.luettgert@pressestimmen.de>)
Torsten Lüttgert [Wed, 16 Mar 2005 14:42:31 +0000 (14:42 +0000)] 
Fix TCPLAG version (Torsten Lüttgert <t.luettgert@pressestimmen.de>)

20 years agoimprove REDIRECT manpage (Jonas Berlin <xkr47@outerspace.dyndns.org>)
Jonas Berlin [Tue, 15 Mar 2005 19:20:14 +0000 (19:20 +0000)] 
improve REDIRECT manpage (Jonas Berlin <xkr47@outerspace.dyndns.org>)

20 years agobump version to 1.3.1 v1.3.1
Harald Welte [Mon, 7 Mar 2005 14:15:04 +0000 (14:15 +0000)] 
bump version to 1.3.1

20 years agoThis fixes rule deletion in CLUSTERIP in iptables (Pablo Neira)
Pablo Neira [Mon, 7 Mar 2005 14:02:02 +0000 (14:02 +0000)] 
This fixes rule deletion in CLUSTERIP in iptables (Pablo Neira)

20 years agoRestore chain order (Olaf Rempel <razzor@kopf-tisch.de>)
Olaf Rempel [Fri, 4 Mar 2005 23:08:30 +0000 (23:08 +0000)] 
Restore chain order (Olaf Rempel <razzor@kopf-tisch.de>)

20 years agoKill NFC_* stuff in iptables (Pablo Neira <pablo@eurodev.net>)
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

20 years agoAllow "--realm ! foo" and "! --realm foo" (Closes: #297)
Harald Welte [Sun, 13 Feb 2005 18:17:11 +0000 (18:17 +0000)] 
Allow "--realm ! foo" and  "! --realm foo" (Closes: #297)

20 years agofix missing comma at end of line
Harald Welte [Sun, 13 Feb 2005 09:30:38 +0000 (09:30 +0000)] 
fix missing comma at end of line

20 years agoFix CONNMARK/connmark issues with 64bit kernel and 32bit userspace.
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>
20 years agotime to release 1.3.0 final v1.3.0
Harald Welte [Sat, 12 Feb 2005 21:06:28 +0000 (21:06 +0000)] 
time to release 1.3.0 final

20 years agoremove way outdated files
Harald Welte [Sat, 12 Feb 2005 21:03:42 +0000 (21:03 +0000)] 
remove way outdated files

20 years agoupdate notes to reflect subversion usage
Harald Welte [Sat, 12 Feb 2005 21:02:26 +0000 (21:02 +0000)] 
update notes to reflect subversion usage

20 years agotry to fix realm save/restore issue (Adresses: #297)
Harald Welte [Tue, 8 Feb 2005 15:54:17 +0000 (15:54 +0000)] 
try to fix realm save/restore issue (Adresses: #297)

20 years agoFix rule deletion (hinfo pointer initialized by kernel, don't compare it in userspace...
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)

20 years agofix parameter handling in libipt_hashlimit with iptables-save (Nikolai Malykh)
Nikolai Malykh [Mon, 7 Feb 2005 18:38:49 +0000 (18:38 +0000)] 
fix parameter handling in libipt_hashlimit with iptables-save (Nikolai Malykh)

20 years agoRevert the recent addition of memset()'s to TC_COMMIT. One of them is bogus and the...
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.

20 years agoAdd support for inversion to multiport revision 1.
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>
20 years agowe now need to exclude .svn instead of CVS v1.3.0-rc1
Harald Welte [Tue, 1 Feb 2005 16:47:35 +0000 (16:47 +0000)] 
we now need to exclude .svn instead of CVS

20 years agorelease rc1
Harald Welte [Tue, 1 Feb 2005 16:46:26 +0000 (16:46 +0000)] 
release rc1

20 years agore-implement alphabetic sorting to not confuse users who upgrade to 1.3.0
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

20 years agofix compiler warning about discarding const
Harald Welte [Tue, 1 Feb 2005 15:53:07 +0000 (15:53 +0000)] 
fix compiler warning about discarding const

20 years agoadd missing comma
Harald Welte [Tue, 1 Feb 2005 15:42:08 +0000 (15:42 +0000)] 
add missing comma

20 years agofix typo
Harald Welte [Tue, 1 Feb 2005 15:41:07 +0000 (15:41 +0000)] 
fix typo

20 years agomake structure initializers use C99 standard (Harald Welte)
Harald Welte [Tue, 1 Feb 2005 15:38:20 +0000 (15:38 +0000)] 
make structure initializers use C99 standard (Harald Welte)

20 years agotypo
Martin Josefsson [Tue, 1 Feb 2005 15:22:20 +0000 (15:22 +0000)] 
typo

20 years agocheck for colons
Harald Welte [Tue, 1 Feb 2005 15:14:15 +0000 (15:14 +0000)] 
check for colons

20 years agobe more specific what INPUT means (Matthias Bruestle)
Harald Welte [Tue, 1 Feb 2005 15:13:31 +0000 (15:13 +0000)] 
be more specific what INPUT means (Matthias Bruestle)

20 years agoUse C99 initializers
Harald Welte [Tue, 1 Feb 2005 13:36:46 +0000 (13:36 +0000)] 
Use C99 initializers

20 years ago- Sets the 'iptc_fn' global variable to the pointer to the current functions in all...
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>)

20 years agoJohn McCann points out via bugzilla that iptables happily accepts this
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>
20 years agofix name of 'extra_opts' structure member (Nikolai Malykh)
Nikolai Malykh [Sat, 22 Jan 2005 13:47:31 +0000 (13:47 +0000)] 
fix name of 'extra_opts' structure member (Nikolai Malykh)

20 years agoMake it compile on current kernels, the future isn't here yet.
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.

20 years agoTestsuite found an issue: multiport accepts -p ! tcp.
Rusty Russell [Mon, 3 Jan 2005 09:51:58 +0000 (09:51 +0000)] 
Testsuite found an issue: multiport accepts -p ! tcp.

20 years agoPablo Neira:
Pablo Neira [Mon, 3 Jan 2005 09:37:07 +0000 (09:37 +0000)] 
Pablo Neira:
Multiport revision 1 userspace support.

20 years agoRemove leftover debug printf
Martin Josefsson [Mon, 3 Jan 2005 07:48:06 +0000 (07:48 +0000)] 
Remove leftover debug printf

20 years agoReplace memchr with strlen and fix up one of the statements.
Martin Josefsson [Mon, 3 Jan 2005 07:46:07 +0000 (07:46 +0000)] 
Replace memchr with strlen and fix up one of the statements.

20 years agoExtension revision number support (if kernel supports the getsockopts).
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.

20 years agoPrevent user from using --helper multiple times (Nicolas Bouliane <nib@cookinglinux...
Nicolas Bouliane [Sun, 2 Jan 2005 23:34:48 +0000 (23:34 +0000)] 
Prevent user from using --helper multiple times (Nicolas Bouliane <nib@cookinglinux.org>)

20 years agoAdd --log-uid option (John Lange <john.lange@open-it.ca>)
John Lange [Sun, 2 Jan 2005 23:33:12 +0000 (23:33 +0000)] 
Add --log-uid option (John Lange <john.lange@open-it.ca>)

20 years agoStupid typo that meant we didn't compare target data when doing delete-by-matching...
Rusty Russell [Wed, 29 Dec 2004 11:14:52 +0000 (11:14 +0000)] 
Stupid typo that meant we didn't compare target data when doing delete-by-matching-rule (found by nfsim test).

20 years agoFix compile error introduced by C99 conversion.
Rusty Russell [Wed, 29 Dec 2004 11:13:12 +0000 (11:13 +0000)] 
Fix compile error introduced by C99 conversion.

20 years agoPablo Neira: extensions conversion to C99 structure initialization
Pablo Neira [Tue, 28 Dec 2004 13:11:59 +0000 (13:11 +0000)] 
Pablo Neira: extensions conversion to C99 structure initialization

(I removed the revision stuff for the moment, but this needs to go in before the code moves too much --RR)

20 years agoFix setting lib_dir in ip*tables-{save,restore}
Martin Josefsson [Mon, 27 Dec 2004 19:49:28 +0000 (19:49 +0000)] 
Fix setting lib_dir in ip*tables-{save,restore}

20 years agoUse string_to_number. Don't check for no optarg: we set has_arg to 1 in option array...
Rusty Russell [Wed, 22 Dec 2004 04:26:53 +0000 (04:26 +0000)] 
Use string_to_number.  Don't check for no optarg: we set has_arg to 1 in option array, so getopt does that for us.

20 years agoDon't need ipt_entry_target()/ip6t_entry_target() now kernel uses static inline inste...
Rusty Russell [Wed, 22 Dec 2004 00:37:10 +0000 (00:37 +0000)] 
Don't need ipt_entry_target()/ip6t_entry_target() now kernel uses static inline instead of extern inline (otherwise it doesn't compile without -O).
Don't re-initialize libiptc/libip6t unless modprobe attempt actually succeeds.  This makes nfsim run about 20 times faster, as it doesn't have to explore failures in the first iptc_init().

20 years agoImplement IPTABLES_LIB_DIR and IP6TABLES_LIB_DIR environment variables, and set them...
Rusty Russell [Mon, 20 Dec 2004 05:29:52 +0000 (05:29 +0000)] 
Implement IPTABLES_LIB_DIR and IP6TABLES_LIB_DIR environment variables, and set them in testsuite if we're running iptables within tree.

20 years agoNicolas Bouliane: I was writing an nfsim .sim for the match tos, when I realized...
Nicolas Bouliane [Mon, 20 Dec 2004 05:11:59 +0000 (05:11 +0000)] 
Nicolas Bouliane: I was writing an nfsim .sim for the match tos, when I realized that when we enter --tos twice the second overwrite the first.

20 years agoImplement some optimization for finding rules to replace in TC_REPLACE_ENTRY.
Martin Josefsson [Sat, 18 Dec 2004 17:18:49 +0000 (17:18 +0000)] 
Implement some optimization for finding rules to replace in TC_REPLACE_ENTRY.
Stolen from TC_DELETE_NUM_ENTRY.

20 years agoMake "is_same" test basics and entries only: targets are generic.
Rusty Russell [Thu, 16 Dec 2004 14:22:23 +0000 (14:22 +0000)] 
Make "is_same" test basics and entries only: targets are generic.
Make target testing aware of different kinds of rules.
Change reverse logic: target_different now target_same.
Set type to MODULE in iptcc_map_target.
Add testcase for this.

20 years agoRemove GET_TARGET() define: this was for compiling iptables for debugging (ie. withou...
Rusty Russell [Thu, 16 Dec 2004 13:21:44 +0000 (13:21 +0000)] 
Remove GET_TARGET() define: this was for compiling iptables for debugging (ie. without -O) on old kernels where ipt_get_target() was defined "extern inline".  These days it's "static inline", and only developers build without -O anyway.
Fix up DUMP_ENTRIES a little, but remove calls: it only dumps the table as loaded, not the changed (cached) table, which is misleading.
Fix TC_DELETE_ENTRY: we need to use iptcc_map_target() before comparing, otherwise "-j DROP" (as an example) doesn't work.

20 years agoROUTE --tee target extension (Patrick Schaaf)
Patrick Schaaf [Tue, 14 Dec 2004 02:58:31 +0000 (02:58 +0000)] 
ROUTE --tee target extension (Patrick Schaaf)

20 years agoipset 2 related updates (JK)
Joszef Kadlecsik [Wed, 1 Dec 2004 09:11:33 +0000 (09:11 +0000)] 
ipset 2 related updates (JK)

20 years agofix some compiler warnings and errors
Harald Welte [Thu, 18 Nov 2004 22:59:36 +0000 (22:59 +0000)] 
fix some compiler warnings and errors

20 years agosync with latest patch-o-matic-ng update (support direction and mode parameters)
Harald Welte [Thu, 18 Nov 2004 22:50:01 +0000 (22:50 +0000)] 
sync with latest patch-o-matic-ng update (support direction and mode parameters)

20 years agoSearch backwards when inserting/deleting in/from the top half of the rules in a chain.
Martin Josefsson [Sun, 24 Oct 2004 22:27:31 +0000 (22:27 +0000)] 
Search backwards when inserting/deleting in/from the top half of the rules in a chain.

before:

insert 50k rules without any previous rules
real    0m1.314s
user    0m1.184s
sys     0m0.123s

insert 50k with one already existing rule
real    2m38.052s
user    2m37.296s
sys     0m0.353s

insert 50k rules in the middle of 20k already existing rules
real    2m43.831s
user    2m43.005s
sys     0m0.414s

delete rule #70000 10k times with 100k rules
real    1m37.990s
user    1m37.247s
sys     0m0.500s

after:

insert 50k without any previous rules
real    0m1.315s
user    0m1.184s
sys     0m0.125s

insert 50k with one already existing rule
real    0m1.313s
user    0m1.189s
sys     0m0.119s

insert 50k rules in the middle of 20k already existing rules
real    0m8.550s
user    0m8.327s
sys     0m0.197s

delete rule #70000 10k times with 100k rules
real    0m35.566s
user    0m35.062s
sys     0m0.416s

20 years agoFix module-autoloading in certain cases (Fixse Debian Bug 219686)
Harald Welte [Fri, 22 Oct 2004 08:14:07 +0000 (08:14 +0000)] 
Fix module-autoloading in certain cases (Fixse Debian Bug 219686)

20 years agominor syntax fixes
Harald Welte [Wed, 20 Oct 2004 22:02:47 +0000 (22:02 +0000)] 
minor syntax fixes

20 years ago- add hashlimit to makefile
Harald Welte [Wed, 20 Oct 2004 14:49:56 +0000 (14:49 +0000)] 
- add hashlimit to makefile
- fix typo in libipt_hashlimit

20 years agomove ipt_hashlimit to it's correct location
Harald Welte [Wed, 20 Oct 2004 14:49:13 +0000 (14:49 +0000)] 
move ipt_hashlimit to it's correct location

20 years agoadd hashlimit kernel header file
Harald Welte [Wed, 20 Oct 2004 14:06:58 +0000 (14:06 +0000)] 
add hashlimit kernel header file

20 years agohashlimit port of userspace plugin
Harald Welte [Wed, 20 Oct 2004 13:28:17 +0000 (13:28 +0000)] 
hashlimit port of userspace plugin

20 years agoadd paragraph about raw table
Harald Welte [Wed, 6 Oct 2004 12:32:54 +0000 (12:32 +0000)] 
add paragraph about raw table

20 years agoMention owner brokenness in manpage
Patrick McHardy [Sun, 3 Oct 2004 20:36:54 +0000 (20:36 +0000)] 
Mention owner brokenness in manpage

20 years agonote owner match brokenness in helptext, closes bugzilla #244 (Phil Oester)
Phil Oester [Fri, 1 Oct 2004 21:32:39 +0000 (21:32 +0000)] 
note owner match brokenness in helptext, closes bugzilla #244 (Phil Oester)

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.