linux/net/ipv6/netfilter
Patrick McHardy 1f9352ae22 netfilter: {ip,ip6,arp}_tables: fix incorrect loop detection
Commit e1b4b9f ([NETFILTER]: {ip,ip6,arp}_tables: fix exponential worst-case
search for loops) introduced a regression in the loop detection algorithm,
causing sporadic incorrectly detected loops.

When a chain has already been visited during the check, it is treated as
having a standard target containing a RETURN verdict directly at the
beginning in order to not check it again. The real target of the first
rule is then incorrectly treated as STANDARD target and checked not to
contain invalid verdicts.

Fix by making sure the rule does actually contain a standard target.

Based on patch by Francis Dupont <Francis_Dupont@isc.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-03-25 19:26:35 +01:00
..
Kconfig netfilter: xtables: add backward-compat options 2009-02-19 11:16:03 +01:00
Makefile netfilter: Combine ipt_ttl and ip6t_hl source 2009-02-18 18:39:31 +01:00
ip6_queue.c netfilter: auto-load ip6_queue module when socket opened 2009-03-16 15:30:14 +01:00
ip6_tables.c netfilter: {ip,ip6,arp}_tables: fix incorrect loop detection 2009-03-25 19:26:35 +01:00
ip6t_LOG.c netfilter: use a linked list of loggers 2009-03-16 14:54:21 +01:00
ip6t_REJECT.c netns xfrm: lookup in netns 2008-11-25 17:35:18 -08:00
ip6t_ah.c netfilter: xtables: move extension arguments into compound structure (2/6) 2008-10-08 11:35:18 +02:00
ip6t_eui64.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00
ip6t_frag.c netfilter: xtables: move extension arguments into compound structure (2/6) 2008-10-08 11:35:18 +02:00
ip6t_hbh.c netfilter: xtables: move extension arguments into compound structure (2/6) 2008-10-08 11:35:18 +02:00
ip6t_ipv6header.c netfilter: xtables: move extension arguments into compound structure (2/6) 2008-10-08 11:35:18 +02:00
ip6t_mh.c netfilter: xtables: move extension arguments into compound structure (2/6) 2008-10-08 11:35:18 +02:00
ip6t_rt.c netfilter: xtables: move extension arguments into compound structure (2/6) 2008-10-08 11:35:18 +02:00
ip6table_filter.c netfilter: x_tables: remove unneeded initializations 2009-02-18 16:30:20 +01:00
ip6table_mangle.c netfilter: x_tables: remove unneeded initializations 2009-02-18 16:30:20 +01:00
ip6table_raw.c netfilter: x_tables: remove unneeded initializations 2009-02-18 16:30:20 +01:00
ip6table_security.c netfilter: x_tables: remove unneeded initializations 2009-02-18 16:30:20 +01:00
nf_conntrack_l3proto_ipv6.c netfilter: remove IPvX specific parts from nf_conntrack_l4proto.h 2009-03-16 15:15:35 +01:00
nf_conntrack_proto_icmpv6.c netfilter: log invalid new icmpv6 packet with nf_log_packet() 2009-02-18 16:30:56 +01:00
nf_conntrack_reasm.c net: '&' redux 2008-11-03 18:21:05 -08:00