LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-25-2006, 06:34 AM   #1
onorua
LQ Newbie
 
Registered: May 2006
Location: Ukraine, Kiev
Distribution: Debian, Gentoo
Posts: 7

Rep: Reputation: 0
issues with VPN pptpd server


Hello everybody!
I'm getting annoying error while connecting to my pptpd server:
================================
Aug 25 10:33:19 social pptpd[3227]: CTRL: Made a START CTRL CONN RPLY
packet
Aug 25 10:33:19 social pptpd[3227]: CTRL: I wrote 156 bytes to the
client.
Aug 25 10:33:19 social pptpd[3227]: CTRL: Sent packet to client
Aug 25 10:33:20 social pptpd[3227]: CTRL: Received PPTP Control Message
(type: 7)
Aug 25 10:33:20 social pptpd[3227]: CTRL: Set parameters to 10000000
maxbps, 3 window size
Aug 25 10:33:20 social pptpd[3227]: CTRL: Made a OUT CALL RPLY packet
Aug 25 10:33:20 social pptpd[3227]: CTRL: Starting call (launching pppd,
opening GRE)
Aug 25 10:33:20 social pptpd[3227]: CTRL: pty_fd = 4
Aug 25 10:33:20 social pptpd[3227]: CTRL: tty_fd = 5
Aug 25 10:33:20 social pptpd[3228]: CTRL (PPPD Launcher): program binary
= /usr/sbin/pppd
Aug 25 10:33:20 social pptpd[3228]: CTRL (PPPD Launcher): local address
= 10.100.8.1
Aug 25 10:33:20 social pptpd[3228]: CTRL (PPPD Launcher): remote address
= 10.100.8.2
Aug 25 10:33:20 social pppd[3228]: Plugin
/usr/lib/pptpd/pptpd-logwtmp.so loaded.
Aug 25 10:33:20 social pppd[3228]: pptpd-logwtmp: $Version$
Aug 25 10:33:20 social pptpd[3227]: CTRL: I wrote 32 bytes to the
client.
Aug 25 10:33:20 social pptpd[3227]: CTRL: Sent packet to client
Aug 25 10:33:20 social pptpd[3227]: GRE: Bad checksum from pppd.
Aug 25 10:33:50 social pptpd[3227]: GRE:
read(fd=4,buffer=804e6c0,len=8196) from PTY failed: status = -1 error =
Input/output error, usually caused by unexpected termination of pppd,
check option syntax and pppd logs
Aug 25 10:33:50 social pptpd[3227]: CTRL: PTY read or GRE write failed
(pty,gre)=(4,5)
Aug 25 10:33:50 social pptpd[3227]: CTRL: Reaping child PPP[3228]
Aug 25 10:33:50 social pptpd[3227]: CTRL: Client 172.16.3.33 control
connection finished
Aug 25 10:33:50 social pptpd[3227]: CTRL: Exiting now
Aug 25 10:33:50 social pptpd[3015]: MGR: Reaped child 3227
Aug 25 10:34:17 social pptpd[2752]: CTRL: Received PPTP Control Message
(type: 5)
Aug 25 10:34:17 social pptpd[2752]: CTRL: Made a ECHO RPLY packet
Aug 25 10:34:17 social pptpd[2752]: CTRL: I wrote 20 bytes to the
client.
Aug 25 10:34:17 social pptpd[2752]: CTRL: Sent packet to client
Aug 25 10:34:19 social pptpd[3261]: MGR: Launching /usr/sbin/pptpctrl to
handle client
Aug 25 10:34:19 social pptpd[3261]: CTRL: local address = 10.100.8.1
Aug 25 10:34:19 social pptpd[3261]: CTRL: remote address = 10.100.8.3
Aug 25 10:34:19 social pptpd[3261]: CTRL: pppd options file =
/etc/ppp/pptpd.options.vpn
Aug 25 10:34:19 social pptpd[3261]: CTRL: Client 172.16.3.33 control
connection started
Aug 25 10:34:19 social pptpd[3261]: CTRL: Received PPTP Control Message
(type: 1)
Aug 25 10:34:19 social pptpd[3261]: CTRL: Made a START CTRL CONN RPLY
packet
Aug 25 10:34:19 social pptpd[3261]: CTRL: I wrote 156 bytes to the
client.
Aug 25 10:34:19 social pptpd[3261]: CTRL: Sent packet to client
Aug 25 10:34:20 social pptpd[3261]: CTRL: Received PPTP Control Message
(type: 7)
Aug 25 10:34:20 social pptpd[3261]: CTRL: Set parameters to 10000000
maxbps, 3 window size
Aug 25 10:34:20 social pptpd[3261]: CTRL: Made a OUT CALL RPLY packet
Aug 25 10:34:20 social pptpd[3261]: CTRL: Starting call (launching pppd,
opening GRE)
Aug 25 10:34:20 social pptpd[3261]: CTRL: pty_fd = 4
Aug 25 10:34:20 social pptpd[3261]: CTRL: tty_fd = 5
Aug 25 10:34:20 social pptpd[3262]: CTRL (PPPD Launcher): program binary
= /usr/sbin/pppd
Aug 25 10:34:20 social pptpd[3262]: CTRL (PPPD Launcher): local address
= 10.100.8.1
Aug 25 10:34:20 social pptpd[3262]: CTRL (PPPD Launcher): remote address
= 10.100.8.3
Aug 25 10:34:20 social pppd[3262]: Plugin
/usr/lib/pptpd/pptpd-logwtmp.so loaded.
Aug 25 10:34:20 social pppd[3262]: pptpd-logwtmp: $Version$
Aug 25 10:34:20 social pptpd[3261]: CTRL: I wrote 32 bytes to the
client.
Aug 25 10:34:20 social pptpd[3261]: CTRL: Sent packet to client
Aug 25 10:34:20 social pptpd[3261]: GRE: Bad checksum from pppd.
Aug 25 10:34:28 social pptpd[3015]: CTRL: Closing child BCrelay with pid
0
Aug 25 10:34:50 social pptpd[3261]: GRE:
read(fd=4,buffer=804e6c0,len=8196) from PTY failed: status = -1 error =
Input/output error, usually caused by unexpected termination of pppd,
check option syntax and pppd logs
Aug 25 10:34:50 social pptpd[3261]: CTRL: PTY read or GRE write failed
(pty,gre)=(4,5)
Aug 25 10:34:50 social pptpd[3261]: CTRL: Reaping child PPP[3262]
Aug 25 10:34:50 social pptpd[3261]: CTRL: Client 172.16.3.33 control
connection finished
Aug 25 10:34:50 social pptpd[3261]: CTRL: Exiting now
=========================================

And the finally, my connection getting lost.

But, when I'm connecting from external network, VPN connection
established pretty fine.

And what is most strage, this configuration worked few days ago, but no luck now.

Does anybody saw such issue?

Useful info:
================================
Poptop v1.2.1

cat /etc/pptpd.conf
====================
option /etc/ppp/pptpd.options.vpn
debug
logwtmp
speed 57600
localip 10.100.8.1
remoteip 10.100.8.2-245

cat /etc/ppp/pptpd.options.vpn
==============================
debug ## change 'servername' to whatever you specify as your server name
in chap-secrets
name test
auth
require-pap
login
ms-dns 10.61.0.4
proxyarp

Debian linux sarge;
uname -a
================================
Linux social 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686 GNU/Linux

lsmod | grep ppp

ppp_deflate 6336 2
zlib_deflate 22776 1 ppp_deflate
ppp_async 11648 1
crc_ccitt 2144 1 ppp_async
ppp_generic 30164 7 ppp_deflate,bsd_comp,ppp_async
slhc 7488 1 ppp_generic
 
Old 08-25-2006, 03:45 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
If you are using M$ clients, remove compression from their options.
And remove compression from pptpd.conf.

Which version of ppp have you installed?
You may have to use the cvs version from www.samba.org.
An explanation is on www.poptop.org
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN-PPTPD conflicting with my WIFI Connection depam Linux - Software 0 03-29-2006 07:37 PM
VPN with pptpd m1111 Linux - Networking 0 02-07-2006 01:42 PM
VPN pptpd problems ?!?!? thewonka Linux - Networking 1 02-23-2005 06:44 AM
VPN Question Win98->internet->Router->Linux VPN Server->Win2k Server patrickrea Linux - Networking 1 08-10-2004 02:09 AM
VPN PPTPD POPTOP , not Stable, need some help! phtkiller Linux - Networking 0 11-05-2003 05:55 AM


All times are GMT -5. The time now is 01:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration