[pptp-server] pptpd problem

Igor N. Kolomiyets igor.kolomiyets at piercom.ie
Thu Feb 14 10:09:05 CST 2002


Hi,

i'm trying to connect linux box to pptpd on another linux box with 128-bit
encryption enabled.
What's happening is when i run pptp on client node it terminates with error:

ERROR!  Connection timed out.

on server side log file consists the following:

Feb 14 15:39:39 gimli pptpd[15199]: MGR: Launching /usr/local/sbin/pptpctrl
to handle client
Feb 14 15:39:39 gimli pptpd[15199]: CTRL: Client xxx.xxx.xxx.xxx control
connection started
Feb 14 15:39:39 gimli pptpd[15199]: CTRL: Received PPTP Control Message
(type: 1)
Feb 14 15:39:39 gimli pptpd[15199]: CTRL: Made a START CTRL CONN RPLY packet
Feb 14 15:39:39 gimli pptpd[15199]: CTRL: I wrote 156 bytes to the client.
Feb 14 15:39:39 gimli pptpd[15199]: CTRL: Sent packet to client
Feb 14 15:39:40 gimli pptpd[15199]: CTRL: Received PPTP Control Message
(type: 7)
Feb 14 15:39:40 gimli pptpd[15199]: CTRL: 0 min_bps, 152 max_bps, 32 window
size
Feb 14 15:39:40 gimli pptpd[15199]: CTRL: Made a OUT CALL RPLY packet
Feb 14 15:39:40 gimli pptpd[15199]: CTRL: Starting call (launching pppd,
opening GRE)
Feb 14 15:39:40 gimli pptpd[15199]: CTRL: pty_fd = 4
Feb 14 15:39:40 gimli pptpd[15199]: CTRL: tty_fd = 5
Feb 14 15:39:40 gimli pptpd[15200]: CTRL (PPPD Launcher): Connection speed =
115200
Feb 14 15:39:40 gimli pppd[15200]: pppd 2.4.0 started by root, uid 0
Feb 14 15:39:40 gimli pptpd[15199]: CTRL: I wrote 32 bytes to the client.
Feb 14 15:39:40 gimli pptpd[15199]: CTRL: Sent packet to client
Feb 14 15:39:40 gimli pppd[15200]: using channel 54
Feb 14 15:39:40 gimli pppd[15200]: Using interface ppp0
Feb 14 15:39:40 gimli pppd[15200]: Connect: ppp0 <--> /dev/pts/0
Feb 14 15:39:40 gimli pppd[15200]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth chap 81> <magic 0xe1f9c1a2> <pcomp> <accomp>]
Feb 14 15:39:40 gimli pptpd[15199]: GRE: Bad checksum from pppd
Feb 14 15:39:42 gimli pppd[15200]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth chap 81> <magic 0x6f361ef3> <pcomp> <accomp>]
Feb 14 15:39:42 gimli pppd[15200]: sent [LCP ConfAck id=0x1 <asyncmap 0x0>
<auth chap 81> <magic 0x6f361ef3> <pcomp> <accomp>]
Feb 14 15:39:43 gimli pppd[15200]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth chap 81> <magic 0xe1f9c1a2> <pcomp> <accomp>]
Feb 14 15:39:43 gimli pppd[15200]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<auth chap 81> <magic 0xe1f9c1a2> <pcomp> <accomp>]
Feb 14 15:39:43 gimli pppd[15200]: sent [CHAP Challenge id=0x1
<c29e8a1aa237e690972946e19bf460a9>, name = "domino"]
Feb 14 15:39:43 gimli pppd[15200]: rcvd [CHAP Challenge id=0x1
<1745df9f80f695451698a08b97e1eac9>, name = "domino"]
Feb 14 15:39:43 gimli pppd[15200]: sent [CHAP Response id=0x1
<fe6158f5597c066c0835e772c53b7106000000000000000080187d6b05f4c006f1ae743583c
a0492d8d5154d93f35a7200>, name = "domino"]
Feb 14 15:39:43 gimli pppd[15200]: rcvd [CHAP Response id=0x1
<b4a6fddc29a7e49f6a5ab26c92e7e8a8000000000000000041ebcdc6dd2176cc4ba36e33ecf
c1f3f1e798335b329b05300>, name = "domino"]
Feb 14 15:39:46 gimli pppd[15200]: sent [CHAP Challenge id=0x2
<fe6158f5597c066c0835e772c53b7106>, name = "domino"]
Feb 14 15:39:46 gimli pppd[15200]: sent [CHAP Response id=0x1
<fe6158f5597c066c0835e772c53b7106000000000000000080187d6b05f4c006f1ae743583c
a0492d8d5154d93f35a7200>, name = "domino"]
Feb 14 15:39:46 gimli pppd[15200]: rcvd [CHAP Challenge id=0x2
<b4a6fddc29a7e49f6a5ab26c92e7e8a8>, name = "domino"]

 and so on

on client node in pptp.log is the following:

Feb 14 17:05:21 balrog pptp[20096]:
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:548]: Client connection
established.
Feb 14 17:05:22 balrog pptp[20096]:
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:655]: Outgoing call established
(call ID 0, peer's call ID 0).
Feb 14 17:05:22 balrog pppd[20100]: pppd 2.4.0 started by root, uid 0
Feb 14 17:05:22 balrog pppd[20100]: Using interface ppp1
Feb 14 17:05:22 balrog pppd[20100]: Connect: ppp1 <--> /dev/pts/2
Feb 14 17:05:52 balrog pptpd[15513]: CTRL: Received PPTP Control Message
(type: 5)
Feb 14 17:05:52 balrog pptpd[15513]: CTRL: Made a ECHO RPLY packet
Feb 14 17:05:52 balrog pptpd[15513]: CTRL: I wrote 20 bytes to the client.
Feb 14 17:05:52 balrog pptpd[15513]: CTRL: Sent packet to client


both ends have chap-secrets file something like:

guest    *    guestpwd    *
domino    *    domino    *

No errors except timeout were produced.
Does anybody experienced something similar?

Best regards,
igor.





More information about the pptp-server mailing list