]>
git.ipfire.org Git - thirdparty/iptables.git/log
Patrick McHardy [Wed, 5 Sep 2007 14:02:28 +0000 (14:02 +0000)]
Build IPv6 hbh/dst matches unconditionally
Patrick McHardy [Wed, 5 Sep 2007 14:00:15 +0000 (14:00 +0000)]
Build IPv6 rt match unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:58:58 +0000 (13:58 +0000)]
Build ipv6header match unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:57:28 +0000 (13:57 +0000)]
Build IPv6 mh match unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:56:30 +0000 (13:56 +0000)]
Resync header files and build IPv6 frag match unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:55:27 +0000 (13:55 +0000)]
Resync header file and build IPv6 ah match unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:53:55 +0000 (13:53 +0000)]
Build IPv6 REJECT target unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:52:15 +0000 (13:52 +0000)]
Resync header file and build CLUSTERIP target unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:50:33 +0000 (13:50 +0000)]
Build recent match unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:48:50 +0000 (13:48 +0000)]
Build dccp match unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:47:58 +0000 (13:47 +0000)]
Build string match unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:47:05 +0000 (13:47 +0000)]
Build statistic match unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:46:02 +0000 (13:46 +0000)]
Build connbytes match unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:44:51 +0000 (13:44 +0000)]
Build quota match unconditionally
Patrick McHardy [Wed, 5 Sep 2007 13:42:58 +0000 (13:42 +0000)]
Build NFLOG target unconditionally
Peter Riley [Sun, 2 Sep 2007 13:09:07 +0000 (13:09 +0000)]
Remove last vestiges of NFC (Peter Riley <Peter.Riley@hotpop.com>)
zhangxiliang [Wed, 29 Aug 2007 20:05:57 +0000 (20:05 +0000)]
Fix dscp match manpage (zhangxiliang <zhangxiliang@cn.fujitsu.com>)
The description for the value in option "-m dscp -dscp" should be
modified to 0~63.
The option can match 6 bit DSCP field within the TOS field in the IP
header. So the range for the option should be 0~(26-1) that is 0~63.
Patrick McHardy [Thu, 23 Aug 2007 16:39:36 +0000 (16:39 +0000)]
Resync ip6t_REJECT.h with kernel - seems the entire time we had an imcompatible
header :(
Noticed by Peter Riley <Peter.Riley@hotpop.com>
Dan Nicholson [Mon, 6 Aug 2007 10:01:45 +0000 (10:01 +0000)]
In <xsl:param name="$node"/>, "$node" is not a valid QName.
See http://www.w3.org/TR/xslt#variables
Dan Nicholson <dbn.lists@gmail.com>
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:28:23 +0000 (08:28 +0000)]
Add IPv6 support to statistic match
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:26:59 +0000 (08:26 +0000)]
Add IPv6 support to helper match
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:25:43 +0000 (08:25 +0000)]
Add IPv6 support to connbytes match
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:24:29 +0000 (08:24 +0000)]
Add IPv6 support to DSCP target
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:23:13 +0000 (08:23 +0000)]
Add IPv6 support to CLASSIFY target
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:22:03 +0000 (08:22 +0000)]
Unifies libip[6]t_TRACE into libxt_TRACE
Yasuyuki KOZAKAIYasuyuki KOZAKAI [Sat, 4 Aug 2007 08:21:16 +0000 (08:21 +0000)]
Unifies libip[6]t_NFLOG into libxt_NFLOG
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:19:38 +0000 (08:19 +0000)]
Revert commit 6990.
That log is not correct and .NF_LOG-testx has incorrect mode.
Yasuyuki KOZAKAIYasuyuki KOZAKAI [Sat, 4 Aug 2007 08:21:16 +0000 (08:21 +0000)]
Unifies libip[6]t_state into libxt_state
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:09:51 +0000 (08:09 +0000)]
Unifies libip[6]t_state into libxt_state
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:09:04 +0000 (08:09 +0000)]
Unifies libip[6]t_connmark into libxt_connmark
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:08:20 +0000 (08:08 +0000)]
Unifies libip[6]t_hashlimit into libxt_hashlimit
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:06:55 +0000 (08:06 +0000)]
Unifies libip[6]t_MARK into libxt_MARK
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:05:46 +0000 (08:05 +0000)]
Unifies libip[6]t_CONNSECMARK into libxt_CONNSECMARK
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 08:04:43 +0000 (08:04 +0000)]
Add IPv6 support to CONNMARK match
Yasuyuki KOZAKAI [Sat, 4 Aug 2007 05:22:17 +0000 (05:22 +0000)]
Tries to load libxt_*.so at first.
If failed, it tries libip[6]t_*.so.
Jan Engelhardt [Wed, 1 Aug 2007 15:19:15 +0000 (15:19 +0000)]
Make @msg argument a const char *, just like printf().
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Jan Engelhardt [Tue, 31 Jul 2007 16:47:38 +0000 (16:47 +0000)]
Moves libip{,6}t_connlimit to libxt.
Also fixes an option parsing bug (connlimit_parse() may receive
a 'c' that is not from the connlimit options table).
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Jan Engelhardt [Mon, 30 Jul 2007 14:46:51 +0000 (14:46 +0000)]
Make the option structures const.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Jan Engelhardt [Mon, 30 Jul 2007 14:32:26 +0000 (14:32 +0000)]
Makes it possible to omit extra_opts of matches/targets if unnecessary.
(Jan Engelhardt <jengelh@gmx.de>)
A nice side effect is that merge_option() doesn't copy options in that case.
Jan Engelhardt [Mon, 30 Jul 2007 13:56:15 +0000 (13:56 +0000)]
The option struct needs to be terminated, otherwise ip{,6}tables
will access illegal memory in merge_options().
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Jan Engelhardt [Mon, 30 Jul 2007 13:38:44 +0000 (13:38 +0000)]
Remove the .next=NULL field. This is automatically initialized to zero.
I've kept .print=NULL and .save=NULL so it stands out
(since iptables will do the print/save then).
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Jan Engelhardt [Mon, 30 Jul 2007 13:20:43 +0000 (13:20 +0000)]
Make xtables_target->extra_opts const (xtables_match->extra_opts already is)
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 08:24:37 +0000 (08:24 +0000)]
Changes permissions of test scripts of dccp, string, and quota match
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:29:36 +0000 (07:29 +0000)]
Unifies libip[6]t_NFQUEUE.c into libxt_NFQUEUE.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:27:02 +0000 (07:27 +0000)]
Unifies libip[6]t_SECMARK.c into libxt_SECMARK.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:22:24 +0000 (07:22 +0000)]
Unifies libip[6]t_TCPMSS.c into libxt_TCPMSS.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:21:17 +0000 (07:21 +0000)]
Add IPv6 support to comment match
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:19:41 +0000 (07:19 +0000)]
Add IPv6 support to dccp match.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:17:23 +0000 (07:17 +0000)]
Add IPv6 support to dscp match.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:16:20 +0000 (07:16 +0000)]
Unifies libip[6]t_esp.c into libxt_esp.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:15:03 +0000 (07:15 +0000)]
Unifies libip[6]t_length.c into libxt_length.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:11:26 +0000 (07:11 +0000)]
Unifies libip[6]t_limit.c into libxt_limit.c.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:09:51 +0000 (07:09 +0000)]
Unifies libip[6]t_mac.c into libxt_mac.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:06:57 +0000 (07:06 +0000)]
Unifies libip[6]t_physdev.c into libxt_physdev.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:05:45 +0000 (07:05 +0000)]
Add IPv6 support to pkttype match
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:03:59 +0000 (07:03 +0000)]
Add IPv6 support to quota match
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:02:26 +0000 (07:02 +0000)]
Unifies libip[6]t_sctp.c into libxt_sctp.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 07:00:40 +0000 (07:00 +0000)]
Unifies libip[6]t_standard.c into libxt_standard.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:59:00 +0000 (06:59 +0000)]
Unifies libip[6]t_tcp.c into libxt_tcp.c.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:57:56 +0000 (06:57 +0000)]
Add IPv6 support to tcpmss match
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:56:21 +0000 (06:56 +0000)]
Unifies libip[6]t_udp.c into libxt_udp.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:55:05 +0000 (06:55 +0000)]
Unifies libip[6]_mark.c into libxt_mark.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:53:14 +0000 (06:53 +0000)]
Use unified API in libipt_mark.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:52:16 +0000 (06:52 +0000)]
Add IPv6 support to string match
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:51:30 +0000 (06:51 +0000)]
Moves libipt_string.c to libxt_string.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:50:03 +0000 (06:50 +0000)]
Use unified API in string match
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:49:15 +0000 (06:49 +0000)]
Unifies libip[6]t_multiport.c into libipxt_multiport.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:47:36 +0000 (06:47 +0000)]
Moves libipt_multiport.c to libxt_multiport.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:46:08 +0000 (06:46 +0000)]
Splits ipt_multport into family dependent parts and others
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:45:03 +0000 (06:45 +0000)]
Use unified API in multiport match
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:43:55 +0000 (06:43 +0000)]
Add IPv6 support to NOTRACK
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:42:15 +0000 (06:42 +0000)]
Renames libipt_NOTRACK.c to libxt_NOTRACK.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:41:01 +0000 (06:41 +0000)]
Use unified API in NOTRACK target.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:39:40 +0000 (06:39 +0000)]
Moves all declarations in iptables_common.h to xtables.h.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:09:15 +0000 (06:09 +0000)]
Installs libxt_*.so to DEST_IPT_LIBIDR and link libip[6]t_*.so to it.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:08:05 +0000 (06:08 +0000)]
Introduces DEST_IPT_LIBDIR to simplify $(DESTDIR)$(LIBDIR)/iptables
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:06:59 +0000 (06:06 +0000)]
Fixes warning on compilation, part 2
This changes the type of arguments as follows in multiport, DNAT, SNAT,
MASQUERADE, and REDIRECT
- ip[6]t_ip[6] * -> void *
- ip[6]t_entry * -> void *
and adds lines to cast these pointer with intended type.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:03:45 +0000 (06:03 +0000)]
Fixes warning on compilation of ip6tables matches/targets
This changes the type of arguments as follows
- ip6t_ip6 * -> void *
- ip6t_entry * -> void *
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 06:02:05 +0000 (06:02 +0000)]
Fixes warning on compilation of iptables matches/targets
This changes the type of arguments as follows
- ipt_ip * -> void *
- ipt_entry * -> void *
This patch doesn't change multiport, DNAT, SNAT, MASQUERADE, REDIRECT
because these need more changes (casting void * variable with intended type)
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:58:56 +0000 (05:58 +0000)]
Replaces ip6t_entry_* with xt_entry_* in matches/targets
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:57:28 +0000 (05:57 +0000)]
Replaces ipt_entry_* with xt_entry_* in matches/targets
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:55:12 +0000 (05:55 +0000)]
Moves IPPROTO_* and IP[6]T_LIB_DIR definitions to xtables.h
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:53:48 +0000 (05:53 +0000)]
Moves some duplicated functions in ip[6]tables.c to xtables.c
string_to_number_ll, string_to_number_l, string_to_number,
service_to_port, parse_port, parse_interface, are moved.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:52:07 +0000 (05:52 +0000)]
Introduces xtables match/target registration
- moves lib_dir to xtables.c
- introduces struct pfinfo which has protocol family dependent infomations.
- unifies load_ip[6]tables_ko() and moves them as load_xtables_ko()
- introduces xt_{match,match_rule,target,tryload} and replaces
ip[6]t_* with them
- unifies following functions and move them to xtables.c
- find_{match,find_target}
- compatible_revision, compatible_{match,target}_revision
- introduces xtables_register_{match,target} and make
register_{match,target}[6] call them. xtables_register_* register ONLY
matches/targets matched protocol family
Some concepts:
- source compatibility for libip[6]t_xxx.c with warning on compilation
not binary compatibility.
- binary compatibility between 2.4/2.6 kernel and iptables/ip6tables,
of cause.
- xtables is enough to support only one address family at runtime.
Then xtables keeps infomations of only the focused address famiy
in struct afinfo.
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:47:40 +0000 (05:47 +0000)]
Moves ip[6]tables_insmod() to xtables.c as xtables_insmod()
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:45:33 +0000 (05:45 +0000)]
Moves common fw_malloc() and fw_calloc() to xtables.c
Yasuyuki KOZAKAI [Tue, 24 Jul 2007 05:44:11 +0000 (05:44 +0000)]
Adds xtables.[ch] and change Makefile to compile it
Sam Liddicott [Tue, 17 Jul 2007 17:02:04 +0000 (17:02 +0000)]
iptables-xml
Attached are:
1. A man page for iptables-xml
2. A fix for iptables.xslt allowing for an arbitrary depth of arguments
or modifiers.
Although iptables-xml cannot generate more than two levels deep, xml
generated by other systems may prefer to generate
<action>
<restore-mark>
<mask>0xff00</mask>
</restore-mark>
</action>
than
<action>
<restore-mark/>
<mask>0xff00</mask>
</action>
(which is what iptables-xml generates)
even though the same iptables is re-generated on conversion.
3. A fix for iptables-xml.c so that combining of consecutive targets of
rules with the same match into one XML rule, will not combine over a
terminating action; i.e. there is no point in converting
-A table -p tcp -j DROP
-A table -p tcp -j MARK --set-mark 25
-A table -p tcp -j RETURN
into one XML rule with multiple actions as they are probably not
logically combined in the mind of the author.
Signed-off by: Sam Liddicott <azez@ufomechanic.net>
Patrick McHardyYasuyuki KOZAKAI [Mon, 16 Jul 2007 15:27:38 +0000 (15:27 +0000)]
Ignore generated files
Patrick McHardyYasuyuki KOZAKAI [Mon, 16 Jul 2007 15:27:38 +0000 (15:27 +0000)]
Adds missing explanations about FIN in mask part of '--syn' in libip[6]_tcp.c
and libip6t_tcp.man.
Yasuyuki KOZAKAI [Mon, 16 Jul 2007 10:07:30 +0000 (10:07 +0000)]
Adds missing FIN to mask part generated by '--syn' of libip6t_tcp
Sven Wegener [Sun, 15 Jul 2007 17:13:24 +0000 (17:13 +0000)]
Change default KERNEL_DIR location and add KBUILD_OUTPUT (Sven Wegener <sven.wegener@stealer.net>)
Yasuyuki KOZAKAI [Fri, 13 Jul 2007 15:07:10 +0000 (15:07 +0000)]
Fixes compile error of connlimit where NO_SHARED_LIBS=1 is specified
Jan Engelhardt [Mon, 9 Jul 2007 16:50:17 +0000 (16:50 +0000)]
PATCH: Add connlimit to iptables.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Nicolas Bouliane [Tue, 3 Jul 2007 12:52:55 +0000 (12:52 +0000)]
libipt_statistic: add a few missing validity checks
Signed-off-by: Nicolas Bouliane
Yasuyuki KOZAKAI [Sat, 30 Jun 2007 10:47:57 +0000 (10:47 +0000)]
Removes KERNEL_64_USERSPACE_32
The recent kernel has compat layer for iptables. It doesn't have
compat layer for libipq and ip6tables, but ip6tables with
KERNEL_64_USERSPACE_32 is still broken. We should fix kernel instead of
fixing them if and when we want use their 32bit binary with 64bit kernel.
Yasuyuki KOZAKAI [Thu, 28 Jun 2007 16:41:50 +0000 (16:41 +0000)]
Removes some KERNEL_64_USERSPACE_32 because linux 2.6 has compat layer
Patrick McHardy [Tue, 26 Jun 2007 15:29:45 +0000 (15:29 +0000)]
Fix "iptables getsockopt failed strangely" when querying revisions for non-existant matches and targets
Reported by Joseph Jezak <josejx@gentoo.org>.
Patrick McHardy [Mon, 25 Jun 2007 14:33:07 +0000 (14:33 +0000)]
Add Jozsef's TRACE target.
Changed to be built unconditionally by myself since it doesn't need any
headerfiles anyways.
Pablo Neira Ayuso [Mon, 25 Jun 2007 12:01:12 +0000 (12:01 +0000)]
bump version