netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Peter Bieringer <pb@bieringer.de>
Cc: Maillist netdev <netdev@oss.sgi.com>,
	Netfilter development mailing list
	<netfilter-devel@lists.netfilter.org>,
	USAGI core <usagi-core@linux-ipv6.org>,
	Harald Welte <laforge@gnumonks.org>
Subject: Re: ip6tables: accept of IPv6 transport esp packages not possible - no rule matches
Date: Sat, 25 Dec 2004 16:46:23 +0100	[thread overview]
Message-ID: <41CD8B4F.6010402@trash.net> (raw)
In-Reply-To: <5F6ACA5CEF52DBFBF11FBF94@t1mobil.muc.aerasec.de>

[-- Attachment #1: Type: text/plain, Size: 172 bytes --]

Peter Bieringer wrote:
> Looks like there is something going wrong in the protocol matching 
> algorithm in netfilter6.

Does this patch fix the problem ?

Regards
Patrick

[-- Attachment #2: x --]
[-- Type: text/plain, Size: 447 bytes --]

===== net/ipv6/netfilter/ip6_tables.c 1.34 vs edited =====
--- 1.34/net/ipv6/netfilter/ip6_tables.c	2004-11-10 01:44:26 +01:00
+++ edited/net/ipv6/netfilter/ip6_tables.c	2004-12-25 16:42:21 +01:00
@@ -234,7 +234,7 @@
 			 * we will change the return 0 to 1*/
 			if ((currenthdr == IPPROTO_NONE) || 
 				(currenthdr == IPPROTO_ESP))
-				return 0;
+				break;
 
 			hp = skb_header_pointer(skb, ptr, sizeof(_hdr), &_hdr);
 			BUG_ON(hp == NULL);

  reply	other threads:[~2004-12-25 15:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-24  9:45 ip6tables: accept of IPv6 transport esp packages not possible - no rule matches Peter Bieringer
2004-12-24 15:59 ` Peter Bieringer
2004-12-25 15:46   ` Patrick McHardy [this message]
2005-01-02  9:01     ` Peter Bieringer
2005-01-02 11:42       ` Patrick McHardy
2005-01-02 12:15         ` Peter Bieringer
2005-01-02 21:14           ` Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41CD8B4F.6010402@trash.net \
    --to=kaber@trash.net \
    --cc=laforge@gnumonks.org \
    --cc=netdev@oss.sgi.com \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=pb@bieringer.de \
    --cc=usagi-core@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).