The # symbol can't be used (as part of a password) in the /etc/ppp/chap-secrets file

Bug #1482314 reported by Koen Schellens
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pptpd (Ubuntu)
New
Low
Unassigned

Bug Description

Title says it all. Sample file below would be perfectly valid:

# Secrets for authentication using CHAP
# client server secret IP addresses

koen * Jekeke543 *

However, in my daily password, I use a #. So the chap-secret below gives me errors:

# Secrets for authentication using CHAP
# client server secret IP addresses

koen * Jekeke543# *

This generates the following error lines in syslog:

Aug 6 19:12:49 SERVER pppd[12738]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Aug 6 19:12:49 SERVER pppd[12738]: pptpd-logwtmp: $Version$
Aug 6 19:12:49 SERVER pppd[12738]: The remote system is required to authenticate itself
Aug 6 19:12:49 SERVER pppd[12738]: but I couldn't find any suitable secret (password) for it to use to do so.
Aug 6 19:12:49 SERVER pppd[12738]: (None of the available passwords would let it use an IP address.)
Aug 6 19:12:49 SERVER pptpd[12737]: GRE: read(fd=6,buffer=7f2a008454a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unex$
Aug 6 19:12:49 SERVER pptpd[12737]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Aug 6 19:12:49 SERVER pptpd[12737]: CTRL: Reaping child PPP[12738]
Aug 6 19:12:49 SERVER pptpd[12737]: CTRL: Client x.x.x.x control connection finished

Revision history for this message
Koen Schellens (k-schellens) wrote :
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This type of bug should be resolved upstream. It needs someone to check if the bug still affects the latest upstream release without distribution packaging, and if it does, the bug should be reported and fixed upstream first.

tags: added: needs-upstream-report
Changed in pptpd (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.