From tim@robbins.dropbear.id.au  Mon Nov 17 03:17:49 2003
Return-Path: <tim@robbins.dropbear.id.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6DFFA16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Nov 2003 03:17:49 -0800 (PST)
Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B87B043F85
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 Nov 2003 03:17:48 -0800 (PST)
	(envelope-from tim@robbins.dropbear.id.au)
Received: from robbins.dropbear.id.au (210.50.205.181) by smtp02.syd.iprimus.net.au (7.0.020)
        id 3F8F522A00A8AD56 for FreeBSD-gnats-submit@freebsd.org; Mon, 17 Nov 2003 22:17:47 +1100
Received: by robbins.dropbear.id.au (Postfix, from userid 1000)
	id 31D61611E; Mon, 17 Nov 2003 22:18:19 +1100 (EST)
Message-Id: <20031117111819.31D61611E@robbins.dropbear.id.au>
Date: Mon, 17 Nov 2003 22:18:19 +1100 (EST)
From: Tim Robbins <tim@robbins.dropbear.id.au>
Reply-To: Tim Robbins <tim@robbins.dropbear.id.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: pppctl does not work with IPV6
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         59369
>Category:       bin
>Synopsis:       pppctl does not work with IPV6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 17 03:20:17 PST 2003
>Closed-Date:    Sun Dec 07 00:40:14 PST 2003
>Last-Modified:  Sun Dec 07 00:40:14 PST 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: tjr 
State-Changed-When: Sun Dec 7 00:39:51 PST 2003 
State-Changed-Why:  
Fixed, will not MFC. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59369 
>Unformatted:
