Date: Sat, 8 Apr 2000 22:15:12 -0700 (PDT) From: greg@greg.rim.or.jp To: freebsd-gnats-submit@FreeBSD.org Subject: kern/17873: Can not routing IPV6 packet with tun-device Message-ID: <200004090515.WAA19417@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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<JQKQ-/C#"IBS1R`)D&@<
MQ.,H@3`(`LNV[:-TD&Y:N*H;`%2-QO&/,2%&-9N!2RZ<!&P\+V`VLP#.?0LL
M.!5EOFT+!B=5K:@HF?(V)Y;]'4XTWB_X*??2K[,F>_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))%<S.=T?;M8I;?=":\=<O.P3!>_
MKN[3R=<PC@WT@M`U2.G=?1B%DX]5CR)9%I[@+_0Y^[ME):KQ8M[[L\B*JQQ)
MF1N4FF#/D!_^9X!>]EKB()-0/<8Z7#L0X#/\F,7&CIAU7_Y[F=+5PW+I@!3_
@6,7/6OS=U'"HS0NV<Z=2T*+9D<-$;]8[SBY;51X#``!U
`
end
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004090515.WAA19417>
