mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: Frank Cusack <fcusack@fcusack.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: MPPE in kernel?
Date: Tue, 13 May 2003 14:38:31 +1000	[thread overview]
Message-ID: <16064.30407.556492.770195@argo.ozlabs.ibm.com> (raw)
In-Reply-To: <20030512151312.C30310@google.com>

Frank Cusack writes:

> When (if) CCP goes down, pppd shuts down LCP if MPPE was running.

Not good enough - you have a window when the kernel will be
transmitting unencrypted datagrams while pppd responds.

Look at the places in ppp_generic.c where the driver clears
SC_COMP_RUN or SC_DECOMP_RUN - for example when it receives a CCP
terminate-request or configure-request.  You need to do something to
make sure that the kernel never transmits data packets when
SC_COMP_RUN is clear if you are doing MPPE.  Similarly, if you are
doing MPPE you probably need to discard received unencrypted data
packets.

Paul.

  reply	other threads:[~2003-05-13  4:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-12 11:59 Frank Cusack
2003-05-12 12:13 ` Christoph Hellwig
2003-05-12 12:16 ` Alan Cox
2003-05-12 12:36 ` Paul Mackerras
2003-05-12 13:02   ` Frank Cusack
2003-05-12 13:07     ` Paul Mackerras
2003-05-12 22:13       ` Frank Cusack
2003-05-13  4:38         ` Paul Mackerras [this message]
2003-05-12 14:59 ` James Morris
2003-05-12 22:16   ` Frank Cusack
2003-05-12 15:04 ` Valdis.Kletnieks
2003-05-12 22:23   ` Frank Cusack

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=16064.30407.556492.770195@argo.ozlabs.ibm.com \
    --to=paulus@samba.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

all inboxes | Powered by JetHome®