Networking Forums

Networking Forums > Computer Networking > Linux Networking > pptpd vpn problem

Reply
Thread Tools Display Modes

pptpd vpn problem

 
 
oakfan52
Guest
Posts: n/a

 
      12-14-2003, 07:09 PM
am having trouble setting up my vpn server in linux. i am using
poptop. i have patched the kernel and ppp for mppe support. but when i
enable mppe and try to connect with my win2k client i get the follow
output in my syslog:

Dec 7 21:44:20 linuxsrv pptpd[431]: MGR: Launching /usr/sbin/pptpctrl
to handle client
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: local address = 192.168.0.1
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: remote address =
192.168.1.231
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: pppd speed = 115200
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: pppd options file =
/etc/ppp/pptpd-options
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Client 67.161.180.72 control
connection started
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Received PPTP Control
Message (type: 1)
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Made a START CTRL CONN RPLY
packet
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: I wrote 156 bytes to the
client.
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Sent packet to client
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Received PPTP Control
Message (type: 7)
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: 0 min_bps, 1525 max_bps, 32
window size
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Made a OUT CALL RPLY packet
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Starting call (launching
pppd, opening GRE)
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: pty_fd = 5
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: tty_fd = 6
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: I wrote 32 bytes to the
client.
Dec 7 21:44:20 linuxsrv pptpd[432]: CTRL (PPPD Launcher): Connection
speed = 115200
Dec 7 21:44:20 linuxsrv pptpd[432]: CTRL (PPPD Launcher): local
address = 192.168.0.1
Dec 7 21:44:20 linuxsrv pptpd[432]: CTRL (PPPD Launcher): remote
address = 192.168.1.231
Dec 7 21:44:20 linuxsrv pppd[432]: In file /etc/ppp/pptpd-options:
unrecognized option 'mppe-128'
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Sent packet to client
Dec 7 21:44:20 linuxsrv pptpd[431]: Error reading from pppd:
Input/output error
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: GRE read or PTY write failed
(gre,pty)=(6,5)
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Client 67.161.180.72 control
connection finished
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Exiting now
Dec 7 21:44:20 linuxsrv pptpd[222]: MGR: Reaped child 431


Here is the debug log:
Dec 7 21:44:20 linuxsrv pptpd[431]: MGR: Launching /usr/sbin/pptpctrl
to handle client
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: local address = 192.168.0.1
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: remote address =
192.168.1.231
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: pppd speed = 115200
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: pppd options file =
/etc/ppp/pptpd-options
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Received PPTP Control
Message (type: 1)
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Made a START CTRL CONN RPLY
packet
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: I wrote 156 bytes to the
client.
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Sent packet to client
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Received PPTP Control
Message (type: 7)
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: 0 min_bps, 1525 max_bps, 32
window size
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Made a OUT CALL RPLY packet
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: pty_fd = 5
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: tty_fd = 6
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: I wrote 32 bytes to the
client.
Dec 7 21:44:20 linuxsrv pptpd[432]: CTRL (PPPD Launcher): Connection
speed = 115200
Dec 7 21:44:20 linuxsrv pptpd[432]: CTRL (PPPD Launcher): local
address = 192.168.0.1
Dec 7 21:44:20 linuxsrv pptpd[432]: CTRL (PPPD Launcher): remote
address = 192.168.1.231
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Sent packet to client
Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Exiting now
Dec 7 21:44:20 linuxsrv pptpd[222]: MGR: Reaped child 431
 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      12-14-2003, 08:10 PM
oakfan52 <(E-Mail Removed)> wrote:
> am having trouble setting up my vpn server in linux. i am using
> poptop. i have patched the kernel and ppp for mppe support. but when i
> enable mppe and try to connect with my win2k client i get the follow
> output in my syslog:


....

> Dec 7 21:44:20 linuxsrv pppd[432]: In file /etc/ppp/pptpd-options:
> unrecognized option 'mppe-128'


This pppd doesn't support the option mppe-128 and that caused it to exit.

> Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Sent packet to client
> Dec 7 21:44:20 linuxsrv pptpd[431]: Error reading from pppd:
> Input/output error
> Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: GRE read or PTY write failed
> (gre,pty)=(6,5)


Pppd exited and didn't create the PTY PPP interface so the pptpd "CTRL"
can't write to the PTY or read a GRE packet from it.

> Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Client 67.161.180.72 control
> connection finished
> Dec 7 21:44:20 linuxsrv pptpd[431]: CTRL: Exiting now
> Dec 7 21:44:20 linuxsrv pptpd[222]: MGR: Reaped child 431


The end.

Remove the offending option (mppe-128), or find a pppd that supports
it. I think one such pppd is ppp-2.4.2b3, available from ftp.samba.org,
except there the option is likely the one called require-mppe-128.

But 2.4.2b3 doesn't support the MCCP part of MS-CCP because MCCP is
patented. And if the MCCP option is requested by the peer (the Windows
2000 "client" then you're in trouble since the "client" almost certainly
won't allow the PPP link to come up.

Confused? Blame Microsoft.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* The wealth of a nation is created by the productive labor of its
* citizens. */
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pptpd error Gio67 Linux Networking 2 05-08-2005 03:14 PM
pptpd - what is localip? C3 Linux Networking 2 08-28-2004 12:21 PM
Redhat 9.0 PPTPD Problem Michael Walzl Linux Networking 2 12-18-2003 08:30 PM
config of pptpd when using a NAT router Markus Epp Linux Networking 0 11-14-2003 10:39 PM
pptpd vpn trouble Elliot English Linux Networking 2 09-23-2003 04:28 AM



1 2 3 4 5 6 7 8 9 10 11