Privet Vladimir

It could be so that the MTU discovery fails for some reason. This is
not necessarily a fault in pptp, but it could be a router/firewall
problem. Why it works in Windows is that they may have a lower
default MTU compared to the linux implementation. The same may apply
to ssh.

I suggest you use the following settings in your ppp configuration:
mru 1440
mtu 1440

If you have not confiugred those in /etc/ppp/options.pptp
you can expect the problem you have seen. I always use those options
in my pptp configuration files to make sure there is no fragmentation
at least when using Ethernet.

This information was part of the configuration documentation on the
webpage a number of years ago, but now it is obviously not there
anymore. Probably due to that path mtu discovery works well in most
cases. However if ICMP is disabled in one of the ends (or somewhere
in between) it will not.

For the reason why the MTU is smaller in ppp and ppptp see here:
http://lists.freebsd.org/pipermail/freebsd-questions/2003-July/012922.html

And here about why path mtu discovery may fail:
http://lartc.org/howto/lartc.cookbook.mtu-discovery.html
http://lartc.org/howto/lartc.cookbook.mtu-mss.html

I hope this helps to resolve this issue.

Best regards,

// Ola


On Sun, Mar 27, 2011 at 03:38:19AM +0400, Vladimir Starvinov wrote:
> On Sun, Mar 27, 2011 at 12:19:05AM +0100, Ola Lundqvist wrote:
> 
> > When you run ppp over ssh then the re-ordering is done by the
> > tcp implementation in Linux which is obviously better than pptp-client
> > implementation when it comes to speed.
> > 
> > It could also be so that the message loss/re-ordering is due to that you
> > have set wrong MTU size so that the messages are fragmented on IP layer.
> > This will not happen if you use TCP with a different MTU.
> > 
> > I suggest you check what MTU size you have set for this tunnel.
> 
> I have do not set MTU as well as do not tuning anything else related to
> TCP. I am using standard debian kernel. Yes, I have look at MTU - it have
> standard value for PPP (bit less then 1500). I have done the same test on some
> other server and got the same. As You can see from referred bug report,
> there are other people with the same problem. All this means that it is
> obvious bug of pptp-linux, that should be fixed.
>  
> 
> *******************************
> ****  Vladimir Stavrinov  *****
> **** vstavri...@gmail.com  ****
> *******************************
> 
> 

-- 
 --- Inguza Technology AB --- MSc in Information Technology ----
/  o...@inguza.com                    Annebergsslingan 37        \
|  o...@debian.org                   654 65 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to