From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ionut Turturica" Date: Sun, 29 Jan 2006 21:46:44 +0000 Subject: Re: IPCP problem Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ppp@vger.kernel.org Yes, when MPPE is disabled the link comes up but obviously I don't want a not encrypted link. The confusing thing is that Windows' native PPTP client works just fine, pppd does not. I have no idea what software the peer uses and I can't find out, my guess is that it's a M$ Windows. It would be nice to have some similar logs from windows' client to see how does it handle this. There must be a bug in the peer software. On Sun, 29 Jan 2006 22:20:49 +0200, James Carlson wrote: > Ionut Turturica writes: >> It looks like the pptpd server requests first time mppe-stateful, then >> it >> changes its mind and wants mppe-stateless. Is there any way to fix this? >> (I don't have access to pptpd's config) > > That's not how I read this log. > >> sent [CCP ConfReq id=0x1 ] > > The local system tells its peer that it would like to do 128 bit MPPE > (+S) with stateless mode (+H). > >> rcvd [CCP ConfReq id=0x1] > > The peer says that it doesn't want to use MPPE or CCP at all. Are you > sure that you should be using MPPE with this peer? > >> sent [CCP ConfAck id=0x1] > > The local system agrees to avoid MPPE for the peer! That looks like a > bug to me. It's theoretically possible, to encrypt in just one > direction, but it doesn't sound like a good thing. This should have > been a CCP Configure-Nak instead. > >> rcvd [CCP ConfNak id=0x1 ] > > The peer says that it agrees to 128 bit MPPE, but only if stateful > (-H) mode is used. > >> sent [CCP ConfReq id=0x2 ] > > We re-request using the peer's options. > >> rcvd [CCP ConfAck id=0x2 ] >> MPPE 128-bit stateful receive compression enabled > > MPPE is now up in one direction (data sent from the peer to this > system -- the receive side -- should be encrypted, the other side is > not). > >> rcvd [CCP ConfReq id=0x1] >> MPPE disabled > > The peer is pretty confused. It just restarted CCP negotiation for no > apparent reason. As a result, we've torn down MPPE, as required by > the protocol. > >> sent [LCP TermReq id=0x2 "MPPE disabled"] >> sent [CCP ConfReq id=0x3 ] >> sent [CCP ConfAck id=0x1] > > We're apparently trying to restart CCP. > >> rcvd [LCP TermAck id=0x2] > > The peer loses its mind and shuts down the link. > > I'm not sure that the peer agrees that this link should be using MPPE > at all. Though there's one anomalous thing coming out of pppd, it > seems to me that the real problems here are on the peer's side. > > Other than disabling MPPE entirely, I'm not sure what you can do to > fix this. >