Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 13:22:50 -0700
From:      Lars Eggert <larse@ISI.EDU>
To:        Mikko Hyvarinen <mikko.hyvarinen@morphy.iki.fi>
Cc:        net@freebsd.org, snap-users@kame.net
Subject:   Re: tun device & IPv6
Message-ID:  <3CE2C39A.2010803@isi.edu>
References:  <3CE1A2C0.8050201@isi.edu> <20020515220541.C95759@morphy.iki.fi>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Mikko Hyvarinen wrote:
>>could someone with more knowledge of the tun device please take a look 
>>at the code around line 387 in net/if_tun.c? It looks like tunoutput() 
>>drops all packets here that aren't of the AF_INET family - most notably, 
>>it drops IPv6 packets.
>>
>>We hacked around this with the simple fix below, but I'm not sure if 
>>there are any drawbacks...
>>
> Is there a specific reason why you are not using the "multi-af" mode?
> IPv6 works just nicely with /usr/sbin/ppp (PPPoE), which uses if_tun in
> "multi-af" mode.

The specific reason was that I didn't know about it :-) I'm currently 
patching net/vtund so it uses multi-af mode.

Lars
-- 
Lars Eggert <larse@isi.edu>           USC Information Sciences Institute

[-- Attachment #2 --]
0	*H
010	+0	*H
00G0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
010824164000Z
020824164000Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu00
	*H
0|\Pw v~~FDooӦA\-	 Cˀ4.)&{肋,z(ܷر߈T7_'txGH^tt/ҹB8%t<#ֲNV0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
aJPMՒ]cѭC+kS+wZ1gY",YT41
j6:~℩D~Kؚ‡l=u(ՎM?cF7@}T00G0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
010824164000Z
020824164000Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu00
	*H
0|\Pw v~~FDooӦA\-	 Cˀ4.)&{肋,z(ܷر߈T7_'txGH^tt/ҹB8%t<#ֲNV0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
aJPMՒ]cѭC+kS+wZ1gY",YT41
j6:~℩D~Kؚ‡l=u(ՎM?cF7@}T0)00
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
000830000000Z
020829235959Z010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000
	*H
032c	%E>nx'gڈD)c5*mp<ܮto034qmOe
KaU5u'rװ|CBPQ<9TIf-	kiN0L0)U"0 010UPrivateLabel1-2970U00U0
	*H
so&e4KYbDI

j&*bctmSK8P:l4撜n#	KrgPo.XPWՈ9[9}4%MjÑ/<RbH100010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30G0	+a0	*H
	1	*H
0	*H
	1
020515202252Z0#	*H
	1UQ	ck`c<X~|Z0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0*H
	1010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30G0
	*H
f4ݬM=EFcY!'I2e~CX
	g4luty:}]LTy>qR$6hƗ޹`%yc\Bv

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CE2C39A.2010803>