[pptp-server] Problems to connect w/ Encryption

Carlos Castro Pena jcaspen at ittc.ukans.edu
Wed Aug 11 19:02:44 CDT 1999


I am trying to connect w/ encryption enabled, but I get the following
error:

Aug 11 18:34:19 xxx pptpd[428]: MGR: Manager process started
No free connection slots or IPs available - no more clients can connect!

Aug 11 18:43:53 xxxx pptpd[428]: MGR: No free connection slots or IPs -
no more clients can connect!
Aug 11 18:43:53 xxxx pptpd[436]: CTRL: Client a.b.c.d control connection
started
/usr/sbin/pppd: The remote system is required to authenticate itself but
I
/usr/sbin/pppd: couldn't find any suitable secret (password) for it to
use to do so.
Aug 11 18:43:54 xxxx pptpd[436]: CTRL: Starting call (launching pppd,
opening GRE)
Aug 11 18:43:54 xxxx pptpd[436]: GRE: read(fd=5,buffer=804cffc,len=8196)
from PTY failed: status = -1 error = Input/output error
Aug 11 18:43:54 xxxx  pptpd[436]: CTRL: PTY read or GRE write failed
(pty,gre)=(5,6)
Aug 11 18:43:54 xxxx  pptpd[436]: CTRL: Client a.b.c.d control
connection finished
Aug 11 18:43:54 xxxx  pppd[437]: The remote system is required to
authenticate itself but I
Aug 11 18:43:54 xxxx pppd[437]: couldn't find any suitable secret
(password) for it to use to do so.


POPTOP:
------

/etc/ppp/options:

lock
debug
auth
+chap
+chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless

/etc/ppp/chap-secret

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

/etc/pptpd.conf

speed 115200
localip 10.0.2.22
remoteip 10.0.2.30

lsmod  (ppp is compiled in the kernel):

Module                  Size  Used by
ppp_mppe               10432   0  (unused)
ppp_deflate            38460   0  (unused)
bsd_comp                3456   0  (unused)

/user/sbin/pptpd: was generated from kernel 2.3.8 + patch + rc4 files
from SSLeay 0.6.6b


Execution script:

sudo arp --set 10.0.2.22 aa:bb:cc:dd:ee:ff pub
sudo ../pptpd-0.9.11/pptpd


Client:
----
I will put my pptp 1.0.2 client configuration .  I get the same error as
listed before with the Windows 98 clients. Both clients worked without
problems with PoPTop with no encryption.
I installed pppd here as in the PoPtop server (patched w/ rc4)

The linux client  says :

(unknown)[391]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:531]: Client
connection established.
(unknown)[391]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:637]: Outgoing
call established.

/usr/sbin/pppd: The remote system (xxxxxxxx) is required to authenticate
itself but I
/usr/sbin/pppd: couldn't find any suitable secret (password) for it to
use to do so.
(unknown)[391]: log[pptp_read_some:pptp_ctrl.c:368]: read error: Broken
pipe

The Windows client says that I was disconnected.

/etc/ppp/options:

lock
debug
auth
+chap
+chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless

/etc/ppp/chap-screts:

# client        server  secret                  IP addresses
xxxxxxxx  server     xxxxxxxx  *


Execution script:

sudo ../pptp-linux-1.0.2/pptp hostname name xxxxxxxx remotename xxxxxxxx

The name and remotename user here are the same as the ones defined in
the chap-secrets file of PoPTop


Any suggestion?





More information about the pptp-server mailing list