From owner-freebsd-net@FreeBSD.ORG Mon Sep 18 03:53:50 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D4D716A416; Mon, 18 Sep 2006 03:53:50 +0000 (UTC) (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 C394A43D60; Mon, 18 Sep 2006 03:53:45 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:vNTjmqJEVW3CRTxW19T8Ml5KzWQ/Yt/hF55fEVDstCltdqg/8wrj3Ox3W95KZ4N8@kasuga-iwi.mahoroba.org [IPv6:2001:2f0:104:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.8/8.13.8) with ESMTP/inet6 id k8I3rIfW057380 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 Sep 2006 12:53:23 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Mon, 18 Sep 2006 12:53:17 +0900 Message-ID: From: Hajimu UMEMOTO To: "Julian H. Stacey" In-Reply-To: <200609172135.k8HLZvN5094226@fire.jhs.private> References: <200609141344.k8EDiI42092840@flat.berklix.org> <20060917120701.4d8eb7ec@dev.lan.Awfulhak.org> <200609172135.k8HLZvN5094226@fire.jhs.private> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.2-PRERELEASE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0a6 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Mon, 18 Sep 2006 12:53:24 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.5 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on ameno.mahoroba.org Cc: Gary Jennejohn , Brian Somers , net@freebsd.org Subject: Re: ppp command port does not listens on ipv4 unless no INET6 in kernel X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 03:53:50 -0000 Hi, >>>>> On Sun, 17 Sep 2006 23:35:57 +0200 >>>>> "Julian H. Stacey" said: > AFAIR I had trouble getting that code to work and was advised at > the time that I'd just get the mapped port for free. I haven't > been using IPv6 on production machines for some time, so I haven't > seen the problem :( > > It'd be great if you'd commit the patch if Julian says it works > ok for him. jhs> Tested. It Works. Thanks ! jhs> I tested the patch on PPP running under both kernels IPV4+6 & V4only jhs> just to be sure, it works on both, & allows me to type dial & down jhs> (all I tried or wanted.) jhs> Output With patch: ------------------------ jhs> strings /boot/kernel/kernel | grep ___ | grep INET jhs> ___options INET jhs> ___options INET6 jhs> sockstat -l jhs> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS jhs> root ppp 939 9 tcp46 *:12345 *:* ------------------------ jhs> strings /boot/kernel/kernel | grep ___ | grep INET jhs> ___options INET jhs> ___# options INET6 jhs> sockstat -l jhs> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS jhs> root ppp 931 9 tcp4 *:12345 *:* ------------------------ jhs> Old V4+6 Kernel pre patch: jhs> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS jhs> root ppp 1020 9 tcp6 *:12345 *:* jhs> I hope it's commited. (Dont't know if a 2nd tester is needed to verify ?) Thank you for testing. I've just committed it. jhs> Thanks Hajimu :-) You are welcome. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/