Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pptpd + mppe patch not working properly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Thu Apr 21, 2005 4:58 pm    Post subject: pptpd + mppe patch not working properly Reply with quote

Hi,

I'm trying to run pptpd to allow Windows clients to connect via VPN. I have the latest versions of pptpd, ppp (with mppe-mppc patch) and gentoo-sources 2.6.11 (with mppe-mppc patch).

When I try to connect from my windows machine, it fails with error 629. My sytem reports the following:

Code:
Apr 21 12:50:18 the_gibson pptpd[6118]: MGR: Launching /usr/sbin/pptpctrl to handle client
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: local address = 10.2.0.1
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: remote address = 10.1.0.91
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: pppd options file = /etc/ppp/options.pptpd
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Client 10.2.0.254 control connection started
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Received PPTP Control Message (type: 1)
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Made a START CTRL CONN RPLY packet
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: I wrote 156 bytes to the client.
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Sent packet to client
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Received PPTP Control Message (type: 7)
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Set parameters to 0 maxbps, 16 window size
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Made a OUT CALL RPLY packet
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Starting call (launching pppd, opening GRE)
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: pty_fd = 4
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: tty_fd = 5
Apr 21 12:50:18 the_gibson pptpd[6119]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
Apr 21 12:50:18 the_gibson pptpd[6119]: CTRL (PPPD Launcher): local address = 10.2.0.1
Apr 21 12:50:18 the_gibson pptpd[6119]: CTRL (PPPD Launcher): remote address = 10.1.0.91
Apr 21 12:50:18 the_gibson pppd[6119]: In file /etc/ppp/options.pptpd: unrecognized option 'require-mppe-128'
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: I wrote 32 bytes to the client.
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Sent packet to client
Apr 21 12:50:18 the_gibson pptpd[6118]: GRE: read(fd=4,buffer=804e6e0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: PTY read or GRE write failed (pty,gre)=(4,5)
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Reaping child PPP[6119]
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Client 10.2.0.254 control connection finished
Apr 21 12:50:18 the_gibson pptpd[6118]: CTRL: Exiting now
Apr 21 12:50:18 the_gibson pptpd[6108]: MGR: Reaped child 6118


I've researched as much as possible, and "require-mppe-128" SHOULD work with ppp 2.4.2. I think that's the root of the problem, but I've been unable to figure out how to fix it.

my /etc/ppp/options.pptpd looks like this:

Code:
name pptpd

refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128

lock
nobsdcomp
defaultroute



Any help would be appreciated.

Thanks in advance!
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Thu Apr 21, 2005 5:01 pm    Post subject: Re: pptpd + mppe patch not working properly Reply with quote

rev138 wrote:
I've researched as much as possible, and "require-mppe-128" SHOULD work with ppp 2.4.2. I think that's the root of the problem, but I've been unable to figure out how to fix it.


For clarification, I've also tried using "require-mppe" and just plain "mppe". Those are unrecognized as well.
Back to top
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Thu Apr 21, 2005 6:37 pm    Post subject: Reply with quote

I played around with it for a bit. It seems to work now:

I upgraded to ppp-2.4.3-r1 (masked) and changed the options file.

/etc/ppp/options.pptp
Code:
name pptpd

refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
+mppe stateless


I'm not sure if there's anything else I should have enabled.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum