From owner-freebsd-bugs Sat Apr 8 22:20: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9581E37B6F5 for ; Sat, 8 Apr 2000 22:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA19884; Sat, 8 Apr 2000 22:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 276FD37B553 for ; Sat, 8 Apr 2000 22:15:11 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA19417; Sat, 8 Apr 2000 22:15:12 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Message-Id: <200004090515.WAA19417@freefall.freebsd.org> Date: Sat, 8 Apr 2000 22:15:12 -0700 (PDT) From: greg@greg.rim.or.jp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/17873: Can not routing IPV6 packet with tun-device Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17873 >Category: kern >Synopsis: Can not routing IPV6 packet with tun-device >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 8 22:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Kensaku Masuda >Release: FreeBSD 4.0-STABLE i386 >Organization: >Environment: Enable INET6 And setting up INET6 routing. >Description: V6 enviroment was completed. And after setting up tun device for V6. creating a static routeing information by od -h /dev/tun0 & route add -inet6 default -interface tun0 And execute ping6 -I tun0 fe80::1 At normal case. V6 packet was routed into interface tun0. But packet was rejected before tun device. So problem dose exist on initializing routine. if tun device is staticaly network interface, Seem to be no problem. But it is not. Must execute a initializing routine "in6_ifattach" directly. >How-To-Repeat: Open and configure some tun for v6. And send some v6 packet which is routed into tun device. >Fix: This is a diffs for net/if_tun.c begin 644 if_tun.c.diff M'XL(`-:S[3@"`VU274_C,!!\;G[%"EXH^702A6M[5$5W5*I42@5!]VB%Q*:6 M2A)BI[J>X+^SCM42X*3(BF=F=W8G<5T7!*>J+;W_8VTV]X4^4:UL9QA)9V M'#LDZ)Q/!2\8A\7J.NV7H8?V\45I^K&R$-QR]2Q'?=*;[%"08$5"!<^4RO*- MKOVL\74\^YI)0YFVGWW]QYIWIE]QD^PN:PZ[$#)R1IAB&#GX*?0V`\%K=XI" M4>5J"Y>`!8)WETF/K5I5M\K0YKW/\FWV))%_ MKN[3R=]EKB()-0/<8Z7#L0X#/\F,7&CIAU7_Y[F=+5PW+I@!3_ @6,7/6OS=U'"HS0NVRelease-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message