From: "Ionut Turturica" <ionut.turturica@galati.uti.ro>
To: linux-ppp@vger.kernel.org
Subject: Re: IPCP problem
Date: Sun, 29 Jan 2006 21:46:44 +0000 [thread overview]
Message-ID: <op.s35tf6n1blqxiz@jono> (raw)
In-Reply-To: <op.s35d59crblqxiz@jono>
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
<carlsonj@workingcode.com> 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 <mppe +H -M +S -L -D -C>]
>
> 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 <mppe -H -M +S -L -D -C>]
>
> The peer says that it agrees to 128 bit MPPE, but only if stateful
> (-H) mode is used.
>
>> sent [CCP ConfReq id=0x2 <mppe -H -M +S -L -D -C>]
>
> We re-request using the peer's options.
>
>> rcvd [CCP ConfAck id=0x2 <mppe -H -M +S -L -D -C>]
>> 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 <mppe +H -M +S -L -D -C>]
>> 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.
>
prev parent reply other threads:[~2006-01-29 21:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-29 16:16 IPCP problem Ionut Turturica
2006-01-29 20:20 ` James Carlson
2006-01-29 21:46 ` Ionut Turturica [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.s35tf6n1blqxiz@jono \
--to=ionut.turturica@galati.uti.ro \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox