bin/59369: pppctl does not work with IPV6

Tim Robbins tim at robbins.dropbear.id.au
Mon Nov 17 03:20:19 PST 2003


>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 at 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:


More information about the freebsd-bugs mailing list