public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: James Cameron <james.cameron@hp.com>
To: Matt Domsch <Matt_Domsch@dell.com>
Cc: linux-kernel@vger.kernel.org, fcusack@fcusack.com,
	dsd@gentoo.org, akpm@osdl.org
Subject: Re: ppp_mppe+pptp for 2.6.14?
Date: Tue, 30 Aug 2005 14:11:33 +1000	[thread overview]
Message-ID: <20050830041133.GA3389@hp.com> (raw)
In-Reply-To: <20050829235131.GB20452@hp.com>

[-- Attachment #1: Type: text/plain, Size: 1881 bytes --]

My problems with ENOPROTOOPT were due to lack of coffee.  They were
caused by ICMP protocol unreachable responses from the test server
because I'd taken away it's pppd.  My mistake.

On Mon, Aug 29, 2005 at 05:10:34PM -0500, Matt Domsch wrote:
> I've asked James Cameron, pptp project lead, to try a test to force
> the server side to issue a CCP DOWN, to make sure the client-side
> kernel ppp_generic module does the right thing and drops packets.

I've tested this now with a host running kernel 2.6.13 with Matt's
SC_MUST_COMP patch to the kernel and to ppp 2.4.4b1, sending SIGUSR2 to
the pppd while flooding the connection with pings from the server.

The result is an LCP TermReq from the server to the client, after which
no further data packets appear.  All the data packets up to the LCP
TermReq are encrypted.  The client sends an LCP TermAck, then takes down
the interface.  There's sign of CCP down, in that a CCP ConfReq appears
from the server just after the LCP TermReq.

I'm not sure this is an adequate test, and will take advice on that.

Test configuration;

- server, 2.6.13 + SC_MUST_COMP, ppp 2.4.4b1 + SC_MUST_COMP, pptpd 1.3.1
- client, 2.6.12.5 + SC_MUST_COMP, ppp 2.4.4b1 + SC_MUST_COMP, pptp 1.5.0

Client side pppd log fragment;

local  IP address 10.8.0.2
remote IP address 10.8.0.1
Script /etc/ppp/ip-up started (pid 5036)
Script /etc/ppp/ip-up finished (pid 5036), status = 0x0
rcvd [LCP TermReq id=0x2 "MPPE disabled"]
LCP terminated by peer (MPPE disabled)
Connect time 0.4 minutes.
Sent 262920 bytes, received 262920 bytes.
Script /etc/ppp/ip-down started (pid 5048)
sent [LCP TermAck id=0x2]
rcvd [CCP ConfReq id=0x2 <mppe +H -M +S -L -D -C>]
Discarded non-LCP packet when LCP not open
Script /etc/ppp/ip-down finished (pid 5048), status = 0x0
Connection terminated.
Modem hangup

-- 
James Cameron

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-08-30  4:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-29 17:12 ppp_mppe+pptp for 2.6.14? Daniel Drake
     [not found] ` <ec92bc305082910272da17f87@mail.gmail.com>
2005-08-29 17:30   ` Anshuman Gholap
2005-08-29 22:10 ` Matt Domsch
2005-08-29 23:51   ` James Cameron
2005-08-30  4:11     ` James Cameron [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-08-30 13:37 Matt_Domsch

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=20050830041133.GA3389@hp.com \
    --to=james.cameron@hp.com \
    --cc=Matt_Domsch@dell.com \
    --cc=akpm@osdl.org \
    --cc=dsd@gentoo.org \
    --cc=fcusack@fcusack.com \
    --cc=linux-kernel@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