VPN - PPTP giving segfault / timeout in logs.

Hi,

I have a problem with trying to connect to VPN over linux. From OSX and Windows the VPN connection goes through fine.

It was working flawlessly, for the last one month I never used the laptop or the VPN, however after booting recently 1 week ago the VPN always show as timedout.

Some details about the vpn / pptp connection details:
MSCHAPv2 enabled
MPPE enabled
Allow BSD data compression enabled
128 bit security enabled

Logs:

sudo tail -f /var/log/NetworkManager
root’s password:

Jul 25 17:39:32 linux NetworkManager[1400]: <info> Starting VPN service ‘pptp’…
Jul 25 17:39:32 linux NetworkManager[1400]: <info> VPN service ‘pptp’ started (org.freedesktop.NetworkManager.pptp), PID 9081
Jul 25 17:39:32 linux NetworkManager[1400]: <info> VPN service ‘pptp’ appeared; activating connections
Jul 25 17:39:40 linux NetworkManager[1400]: <info> VPN plugin state changed: 3
Jul 25 17:39:40 linux NetworkManager[1400]: <info> VPN connection ‘myVPN’ (Connect) reply received.
Jul 25 17:40:21 linux NetworkManager[1400]: <warn> VPN connection ‘myVPN’ (IP Config Get) timeout exceeded.
Jul 25 17:40:21 linux NetworkManager[1400]: <info> Policy set ‘xxxxxx’ (wlan0) as default for IPv4 routing and DNS.
Jul 25 17:40:27 linux NetworkManager[1400]: <info> VPN service ‘pptp’ disappeared

dmesg I seem to be getting this message:
6963.074140] pptpcm[9097]: segfault at d6961d08 ip 0804e410 sp bfa52140 error 5 in pptp[8048000+e000]

Please share your ideas how to fix this, any help you would be greatly appreciated.

Thanks in advance., askb

I can not help you. But I think you can help others to help you by at least telling which level of openSUSE you use. And if you have installed newer versions of the software involved above the standard levels belonging to that opeSUSE level.

Also, please next time when you post computer text do so between CODE tags: Posting in Code Tags - A Guide . This has several advantages.

Hello Henk, Thank you for let me know the missing information. I am on OpenSUSE 11.4 (x86).

Following are the pptp RPM’s and versions version, which as been installed:

pptp-1.7.2-31.1.i586
NetworkManager-pptp-lang-0.8.2-4.1.noarch
NetworkManager-pptp-kde4-0.9.svn1192577-7.2.i586
NetworkManager-pptp-0.8.2-4.1.i586
NetworkManager-pptp-gnome-0.8.2-4.1.i586

Thanks.

Hi, I tried removing the rpm’s and re-installing to see if it works. But no luck till now.

I also wanted to add that this is something I have been seen from OpenSUSE 11.3.

Following seen on the logs after re-installation.


Jul 26 09:08:48 linux NetworkManager[9741]: <info> Starting VPN service 'pptp'...
Jul 26 09:08:48 linux NetworkManager[9741]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 10132
Jul 26 09:08:48 linux NetworkManager[9741]: <info> VPN service 'pptp' appeared; activating connections
Jul 26 09:08:48 linux NetworkManager[9741]: <info> VPN plugin state changed: 1
Jul 26 09:09:01 linux NetworkManager[9741]: <info> VPN plugin state changed: 3
Jul 26 09:09:01 linux NetworkManager[9741]: <info> VPN connection 'hp_ch' (Connect) reply received.
Jul 26 09:09:05 linux NetworkManager[9741]: <warn> VPN plugin failed: 1
Jul 26 09:09:05  NetworkManager[9741]: last message repeated 2 times
Jul 26 09:09:05 linux NetworkManager[9741]: <info> VPN plugin state changed: 6
Jul 26 09:09:05 linux NetworkManager[9741]: <info> VPN plugin state change reason: 0
Jul 26 09:09:05 linux NetworkManager[9741]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Jul 26 09:09:05 linux NetworkManager[9741]: <info> Policy set 'Auto mywifi' (wlan0) as default for IPv4 routing and DNS.
Jul 26 09:09:11 linux NetworkManager[9741]: <info> VPN service 'pptp' disappeared

Following are the pptp RPM’s and versions version, which as been installed:


pptp-1.7.2-31.1.i586
NetworkManager-pptp-lang-0.8.2-4.1.noarch
NetworkManager-pptp-kde4-0.9.svn1192577-7.2.i586
NetworkManager-pptp-0.8.2-4.1.i586
NetworkManager-pptp-gnome-0.8.2-4.1.i586

Are others facing similar issues with the pptp setup and found possible resolution!

I am afraid, I dont want to move to other flavors and its not a good enough reason, although VPN is very essential for me while travelling.

Thanks in advance, askb

Dear opensuse expert’s & user’s, As mentioned earlier, at this point I am unsure if others are facing the similar issue on opensuse 11.4. Now i tried configuring the pptp over pppd to see if it works, isolating networkmanager and to enable a hand full of debug information. Also I noticed that pon / poff scripts are not included in the standard paths. Here is some more information for your reference, and for the benefit other members who may face something similar.


pty "/usr/sbin/pptp --debug --loglevel 1 my.vpn.gateway.net --nolaunchpppd"

Here are the details for pptp.conf under /etc/ppp/peers/pptp.conf


nodetach
remotename XXXX
name XXXXXXXXXX
require-mppe-128
mppe-stateful
bsdcomp 9
deflate 9
refuse-chap
refuse-eap
refuse-mschap
refuse-pap
usepeerdns
defaultroute

output of the pppd command.

sudo pppd call pptp.conf debug nodetach
using channel 12
Using interface ppp0
Connect: ppp0 <--> /dev/pts/5
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1400> <auth eap> <magic 0x78790abc> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:25.98.4e.d1.34.31.45.7a.8d.95.96.41.47.a9.d1.36.00.00.00.00]> < 17 04 ca 8e>]
sent [LCP ConfRej id=0x1 <callback CBCP> <mrru 1614> < 17 04 ca 8e>]
rcvd [LCP ConfReq id=0x2 <mru 1400> <auth eap> <magic 0x78790abc> <pcomp> <accomp> <endpoint [local:25.98.4e.d1.34.31.45.7a.8d.95.96.41.47.a9.d1.36.00.00.00.00]>]
sent [LCP ConfNak id=0x2 <auth chap MS-v2>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x3 <mru 1400> <auth chap MS-v2> <magic 0x78790abc> <pcomp> <accomp> <endpoint [local:25.98.4e.d1.34.31.45.7a.8d.95.96.41.47.a9.d1.36.00.00.00.00]>]
sent [LCP ConfAck id=0x3 <mru 1400> <auth chap MS-v2> <magic 0x78790abc> <pcomp> <accomp> <endpoint [local:25.98.4e.d1.34.31.45.7a.8d.95.96.41.47.a9.d1.36.00.00.00.00]>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd2b06642> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0xd2b06642]
rcvd [CHAP Challenge id=0x0 <bfc6bf4eea415ce8ce01d3b3e22ebd91>, name = "G1W1647"]
sent [CHAP Response id=0x0 <f86c80ce3e653f0a72c3f9b478455fa00000000000000000d6bdf7ea85eb3c0acceb4b4581284aaa66cffb00ca40f7fd00>, name = "xxxxxxxxxxx"]
rcvd [LCP EchoRep id=0x0 magic=0x78790abc]
Script /usr/sbin/pptp --debug --loglevel 1 my.vpn.gateway.net --nolaunchpppd finished (pid 12468), status = 0x0
Modem hangup
Connection terminated.

Following is seen in the logs every time pppd:

[10023.593491] pptpcm[11987]: segfault at c0db027c ip 0804c251 sp bfda4ce0 error 7 in pptp[8048000+e000]
[10043.591119] pptpcm[12005]: segfault at c0a6593c ip 0804c251 sp bfa5a3a0 error 7 in pptp[8048000+e000]
[10775.608960] pptpcm[12279]: segfault at c0c88c88 ip 0804c251 sp bfc7d6f0 error 7 in pptp[8048000+e000]
[11003.621178] pptpcm[12381]: segfault at c0cbd118 ip 0804c251 sp bfcb1b80 error 7 in pptp[8048000+e000]

I would really appreciate if someone could shed some light on this matter.

Thanks in advance again!

I guess not that many people use pptp. I’ve got no idea how to help You. Why not report a bug on this ? The openSUSE bugzilla is available using the same login as for the forums.

Best regards,
Greg

I agree with @glistwan. It is no lack of willing, but lack of experience and knowledge about the subject that leaves you without any usefull reaction for three days now.

Try a bug report. You have allready gathered a lot of (let us hope usefull) information.

Thanks @glistwan and @hcvv - I have not file a bug report -> Bug 709127

That is fine. Now wait what happens. They may ask for more information.