Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2003 22:18:19 +1100 (EST)
From:      Tim Robbins <tim@robbins.dropbear.id.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/59369: pppctl does not work with IPV6
Message-ID:  <20031117111819.31D61611E@robbins.dropbear.id.au>
Resent-Message-ID: <200311171120.hAHBKHhR085836@freefall.freebsd.org>

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

>Number:         59369
>Category:       bin
>Synopsis:       pppctl does not work with IPV6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 17 03:20:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tim Robbins
>Release:        FreeBSD 5.1-tjr i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD wombat.robbins.dropbear.id.au 5.1-tjr FreeBSD 5.1-tjr #15: Fri Nov 7 16:02:54 EST 2003 tim@wombat.robbins.dropbear.id.au:/usr/obj/usr/p4/sys/WOMBAT i386

	
>Description:

pppctl does not work when IPV6 is enabled in the kernel, which is is by
default. This is because ppp sees that IPV6 is supported, and listens
on an IPV6 socket instead of an IPV4 one, but pppctl only supports
IPV4.

>How-To-Repeat:

Add "set server +3000 mypass" to /etc/ppp/ppp.conf. Start ppp.

See that it's only listening on IPV6:
	$ netstat -na | grep 3000
	tcp6       0      0  *.3000                 *.*                    LISTEN

Run "pppctl 3000" and see that it doesn't work:
	$ pppctl 3000 
	pppctl: cannot connect to socket 3000: Connection refused

>Fix:

Make ppp listen on IPV4, or make pppctl support IPV6. The first one is
easy, but the second one is more politically correct.
>Release-Note:
>Audit-Trail:
>Unformatted:



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