From ume@mahoroba.org  Sat Nov 26 16:51:09 2005
Return-Path: <ume@mahoroba.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3A93316A41F;
	Sat, 26 Nov 2005 16:51:09 +0000 (GMT)
	(envelope-from ume@mahoroba.org)
Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B43B043D7C;
	Sat, 26 Nov 2005 16:50:54 +0000 (GMT)
	(envelope-from ume@mahoroba.org)
Received: from kasuga.mahoroba.org (IDENT:TIgNJHHKeFT7Z0WA2L/9dg31stGTrigP9x3JbTHYSCeiOXzPf5IJBXPw6s18fyy9@kasuga.mahoroba.org [IPv6:3ffe:501:185b:8010:20b:97ff:fe2e:b521])
	(user=ume mech=CRAM-MD5 bits=0)
	by ameno.mahoroba.org (8.13.4/8.13.4) with ESMTP/inet6 id jAQGoU3I046531
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 27 Nov 2005 01:50:35 +0900 (JST)
	(envelope-from ume@mahoroba.org)
Message-Id: <ygeveyfxsix.wl%ume@mahoroba.org>
Date: Sun, 27 Nov 2005 01:50:30 +0900
From: Hajimu UMEMOTO <ume@freebsd.org>
To: Gael Roualland <gael.roualland@dial.oleane.com>
Cc: FreeBSD-gnats-submit@freebsd.org, Hajimu UMEMOTO <ume@freebsd.org>
In-Reply-To: <200511232143.jANLh7x3022902@jerry.priv>
Subject: Re: [kern/89472] ipfw2 no longer supports filtering IPv6-over-IPv4 on 6.0-RELEASE
References: <200511232143.jANLh7x3022902@jerry.priv>

>Number:         89590
>Category:       kern
>Synopsis:       Re: [kern/89472] ipfw2 no longer supports filtering IPv6-over-IPv4 on 6.0-RELEASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 26 17:00:12 GMT 2005
>Closed-Date:    Sat Nov 26 18:05:11 GMT 2005
>Last-Modified:  Sat Nov 26 18:05:11 GMT 2005
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Hi,
 
 >>>>> On Wed, 23 Nov 2005 22:43:07 +0100 (CET)
 >>>>> Gael Roualland <gael.roualland@dial.oleane.com> said:
 
 gael> 	Before ipfw2 knows about IPv6, it was possible to filter IPv6 
 gael>         traffic which was tunneled in IPv4 by doing something as
 
 gael>             ipfw add allow ipv6 from a.b.c.d to me
   
 gael>         where a.b.c.d was the tunnel end.
 
 gael>         Now that ipfw2 does ipv6, such a line is interpreted as being
 gael>         an IPv6 rule, and is rejected since the specified IP address
 gael>         is not an IPv6.
 
 gael>         The alternate syntax 'allow ip from a.b.c.d to me proto ipv6' 
 gael>         is accepted by ipfw, but does not work in the kernel since the
 gael>         first proto test (IPv4) does not match the extracted protocol 
 gael>         of the packet (IPv6)
 
 `allow ip from a.b.c.d to me proto 41' should work for you.  Don't
 forget a reverse rule:
 
 	allow ip from me to a.b.c.d proto 41
 
 Sincerely,
 
 --
 Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
 ume@mahoroba.org  ume@{,jp.}FreeBSD.org
 http://www.imasy.org/~ume/
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Nov 26 18:04:39 GMT 2005 
State-Changed-Why:  
Misfiled followup to kern/89472; content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Nov 26 18:04:39 GMT 2005 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=89590 
>Unformatted:
