From nobody@FreeBSD.org  Sat Dec 30 18:59:21 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8C9CC16A407
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 30 Dec 2006 18:59:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 7E22813C44C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 30 Dec 2006 18:59:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBUIxLhL079858
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 30 Dec 2006 18:59:21 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kBUIxLdr079853;
	Sat, 30 Dec 2006 18:59:21 GMT
	(envelope-from nobody)
Message-Id: <200612301859.kBUIxLdr079853@www.freebsd.org>
Date: Sat, 30 Dec 2006 18:59:21 GMT
From: Antonio Querubin<tony@lava.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: IPv6 6to4 broken in FreeBSD 6.1-RELEASE-p11
X-Send-Pr-Version: www-3.0

>Number:         107358
>Category:       kern
>Synopsis:       [ipv6] IPv6 6to4 broken in FreeBSD 6.1-RELEASE-p11 (regression)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bmah
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 30 19:00:32 GMT 2006
>Closed-Date:    Wed Jan 10 15:56:59 GMT 2007
>Last-Modified:  Wed Jan 10 15:56:59 GMT 2007
>Originator:     Antonio Querubin
>Release:        FreeBSD 6.1-RELEASE-p11 i386
>Organization:
LavaNet
>Environment:
System: FreeBSD localhost 6.1-RELEASE-p11 FreeBSD 6.1-RELEASE-p11 #0: Mon Dec 18 05:01:40 HST 2006 root@localhost:/usr/obj/usr/src/sys/GENERIC i386
>Description:
IPv6 6to4 broke somewhere between 6.1-p2 and 6.1-p11.  This effectively
disables IPv6 connectivity for hosts on non-native IPv6 networks.

>How-To-Repeat:
Using a system on a network which has no native IPv6 connectivity:

In /etc/rc.conf:

  - Enable IPv6.
  - Configure stf_interface_ipv4addr with the local IPv4 address.
  - Set ipv6_defaultrouter to the standard RFC 3068 address 2002:c058:6301::

Boot generic kernel 6.1-p11.

Verify the stf0 interface is up and configured with a 6to4 address.

ping6 the stf0 IPv6 address and you get no response.

ping6 or traceroute6 to any outside IPv6 host (eg. www.isc.org) and you
get no response.

>Fix:
Boot generic kernel 6.1-p2 and repeat above tests.  You should get ping
responses from the local stf0 address as well as outside IPv6 hosts.

I suspect this broke beginning in p5 and any kernel prior to p5 will also work.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jan 1 13:28:53 UTC 2007 
Responsible-Changed-Why:  
Perhaps someone on -net has an idea. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107358 

From: "Bruce A. Mah" <bmah@freebsd.org>
To: bug-followup@freebsd.org
Cc: tony@lava.net
Subject: Re: kern/107358: [ipv6] IPv6 6to4 broken in FreeBSD 6.1-RELEASE-p11
 (regression)
Date: Tue, 09 Jan 2007 13:33:18 -0800

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enig3807A02A1C245B21A0F49067
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 If memory serves me right, Mark Linimon wrote:
 > Old Synopsis: IPv6 6to4 broken in FreeBSD 6.1-RELEASE-p11
 > New Synopsis: [ipv6] IPv6 6to4 broken in FreeBSD 6.1-RELEASE-p11 (regre=
 ssion)
 >=20
 > Responsible-Changed-From-To: freebsd-bugs->freebsd-net
 > Responsible-Changed-By: linimon
 > Responsible-Changed-When: Mon Jan 1 13:28:53 UTC 2007
 > Responsible-Changed-Why:=20
 > Perhaps someone on -net has an idea.
 >=20
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D107358
 
 This looks to me like it could be a duplicate of kern/103415, which was
 fixed on HEAD and RELENG_6 (prior to RELENG_6_2 creation, so 6.2 should
 be OK, as well as both of the 6.2-RC snapshots).  If this is true, a
 possible fix might be to apply revision 1.51.2.10 of src/sys/netinet6/in6=
 =2Ec.
 
 I don't really have an environment conducive to testing 6to4, so this
 hypothesis is completely untested.
 
 Bruce.
 
 
 --------------enig3807A02A1C245B21A0F49067
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFFpAoj2MoxcVugUsMRAmvSAKD6Ob8UcClH1vV56IOw8GXRwXoWHACaA/s7
 rmEydKBElBocJJ34i1emxK4=
 =Kppv
 -----END PGP SIGNATURE-----
 
 --------------enig3807A02A1C245B21A0F49067--

From: Antonio Querubin <tony@lava.net>
To: "Bruce A. Mah" <bmah@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/107358: [ipv6] IPv6 6to4 broken in FreeBSD 6.1-RELEASE-p11
 (regression)
Date: Wed, 10 Jan 2007 00:10:45 -1000 (HST)

 On Tue, 9 Jan 2007, Bruce A. Mah wrote:
 
 > If memory serves me right, Mark Linimon wrote:
 >> Old Synopsis: IPv6 6to4 broken in FreeBSD 6.1-RELEASE-p11
 >> New Synopsis: [ipv6] IPv6 6to4 broken in FreeBSD 6.1-RELEASE-p11 (regression)
 >>
 >> Responsible-Changed-From-To: freebsd-bugs->freebsd-net
 >> Responsible-Changed-By: linimon
 >> Responsible-Changed-When: Mon Jan 1 13:28:53 UTC 2007
 >> Responsible-Changed-Why:
 >> Perhaps someone on -net has an idea.
 >>
 >> http://www.freebsd.org/cgi/query-pr.cgi?pr=107358
 >
 > This looks to me like it could be a duplicate of kern/103415, which was
 > fixed on HEAD and RELENG_6 (prior to RELENG_6_2 creation, so 6.2 should
 > be OK, as well as both of the 6.2-RC snapshots).  If this is true, a
 > possible fix might be to apply revision 1.51.2.10 of src/sys/netinet6/in6.c.
 >
 > I don't really have an environment conducive to testing 6to4, so this
 > hypothesis is completely untested.
 
 I applied the patch for in6.c to 6.1-RELEASE-p11 and IPv6 connectivity is 
 working again.  Thanks!
 
 Tony
State-Changed-From-To: open->closed 
State-Changed-By: bmah 
State-Changed-When: Wed Jan 10 15:54:57 UTC 2007 
State-Changed-Why:  
Closing this PR, as the problem originally described has been fixed 
in 6.2 and later versions. 



Responsible-Changed-From-To: freebsd-net->bmah 
Responsible-Changed-By: bmah 
Responsible-Changed-When: Wed Jan 10 15:54:57 UTC 2007 
Responsible-Changed-Why:  
Take. 

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