Bug 59369 - pppctl does not work with IPV6
Summary: pppctl does not work with IPV6
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-17 11:20 UTC by Tim J. Robbins
Modified: 2003-12-07 08:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim J. Robbins 2003-11-17 11:20:17 UTC
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.

Fix: 

Make ppp listen on IPV4, or make pppctl support IPV6. The first one is
easy, but the second one is more politically correct.
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
Comment 1 Tim Robbins freebsd_committer freebsd_triage 2003-12-07 08:39:51 UTC
State Changed
From-To: open->closed

Fixed, will not MFC.