Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2006 12:53:17 +0900
From:      Hajimu UMEMOTO <ume@freebsd.org>
To:        "Julian H. Stacey" <jhs@flat.berklix.net>
Cc:        Gary Jennejohn <gj@freebsd.org>, Brian Somers <brian@Awfulhak.org>, net@freebsd.org
Subject:   Re: ppp command port does not listens on ipv4 unless no INET6 in kernel 
Message-ID:  <yge3bap96fm.wl%ume@mahoroba.org>
In-Reply-To: <200609172135.k8HLZvN5094226@fire.jhs.private>
References:  <200609141344.k8EDiI42092840@flat.berklix.org> <ygeu036katk.wl%ume@mahoroba.org> <20060917120701.4d8eb7ec@dev.lan.Awfulhak.org> <200609172135.k8HLZvN5094226@fire.jhs.private>

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

>>>>> On Sun, 17 Sep 2006 23:35:57 +0200
>>>>> "Julian H. Stacey" <jhs@flat.berklix.net> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yge3bap96fm.wl%ume>