Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412075 - PPTP-VPN connection unstable/slow when require-mppe is used
Summary: PPTP-VPN connection unstable/slow when require-mppe is used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-15 10:35 UTC by Peter Silie
Modified: 2012-04-15 10:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/ppp/mycompany (mycompany,379 bytes, text/plain)
2012-04-15 10:36 UTC, Peter Silie
Details
/etc/ppp/mycompany (mycompany,380 bytes, text/plain)
2012-04-15 10:40 UTC, Peter Silie
Details
emerge --info (emerge.info.txt,4.58 KB, text/plain)
2012-04-15 10:42 UTC, Peter Silie
Details
patch (ppp_mppe.patch,591 bytes, text/plain)
2012-04-15 10:58 UTC, Peter Silie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Silie 2012-04-15 10:35:12 UTC
Scenario:

  gentoo-linux workstation sets up a VPN-Tunnel. The remote site is running a microsoft PPTP-VPN server.

Symptom:

  Login always succeeds. But the VPN connection is unstable and-or very slow when the require-mppe option is used.

Analysis:

  there are a lot of lines inside /var/log/messsages saying

    kernel: mppe_decompress[0]: FLUSHED bit not set in stateless mode



Reproducible: Always

Steps to Reproduce:
1. run pptpsetup --create mycompany ...
2. edit /etc/ppp/peers/mycompany and set the require-mppe-128 option (see attachment /etc/ppp/peers/mycompany)
3. pon mycompany
4. route add -net xx.xx.xx.00 netmask 255.255.255.0 dev ppp0
Actual Results:  
slow and unreliable VPN connection

Expected Results:  
stable *and* fast connection as with Windows7 VPN client

The VPN connection is stable *and* fast when I use the Windows7 (64bit) workstation.
Comment 1 Peter Silie 2012-04-15 10:36:19 UTC
Created attachment 309027 [details]
/etc/ppp/mycompany

ppp peer options
Comment 2 Peter Silie 2012-04-15 10:40:46 UTC
Created attachment 309029 [details]
/etc/ppp/mycompany

ppp peer options
Comment 3 Peter Silie 2012-04-15 10:42:29 UTC
Created attachment 309031 [details]
emerge --info
Comment 4 Peter Silie 2012-04-15 10:48:37 UTC
also see attachment 'emerge --info'

I found an older ubuntu related thread which seems to address the same issue - see http://ubuntuforums.org/showthread.php?t=1095189.
Comment 5 Peter Silie 2012-04-15 10:58:00 UTC
Created attachment 309033 [details]
patch

cd /usr/src/linux
patch -p0 < ppp_mppe.patch
Comment 6 Peter Silie 2012-04-15 10:58:40 UTC
the suggested patch from the ubuntu forum solved the issue for me (see attachment)