From: Frank Cusack <fcusack@fcusack.com>
To: Paul Mackerras <paulus@samba.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: MPPE in kernel?
Date: Mon, 12 May 2003 06:02:10 -0700 [thread overview]
Message-ID: <20030512060210.C29881@google.com> (raw)
In-Reply-To: <16063.38221.73659.403481@argo.ozlabs.ibm.com>; from paulus@samba.org on Mon, May 12, 2003 at 10:36:29PM +1000
On Mon, May 12, 2003 at 10:36:29PM +1000, Paul Mackerras wrote:
> Frank Cusack writes:
>
> > What are the chances of getting MPPE (PPP encryption) into the 2.4.21
> > and/or 2.5.x kernels?
>
> First, are there any patent issues that you are aware of?
There are none for MPPE. It's just MPPC that has patent problems.
> The fundamental problem is that MPPE is misusing CCP (compression
> control protocol) for something for which it was never intended. The
> specific place where this is a problem is that the compression code in
> ppp_generic doesn't guarantee that it will never send a packet out
> uncompressed, but MPPE requires that. How do you get around that
> problem?
I have the compressor return a 3-valued return code (<0, 0, >0) instead of
two-valued (>0, other). A negative value tells ppp_generic to drop the
packet. 0 means the same as it does now--the compressor failed for some
reason. (All current compressors always return 0 or >0, so the negative
return is compatible.)
0 could also mean that CCP isn't up yet, but pppd userland doesn't allow
NCP's to come up until CCP completes (iff trying to negotiate MPPE).
Note that ECP would have this same problem, it's addressed the same way.
/fc
next prev parent reply other threads:[~2003-05-12 12:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-12 11:59 MPPE in kernel? 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 [this message]
2003-05-12 13:07 ` Paul Mackerras
2003-05-12 22:13 ` Frank Cusack
2003-05-13 4:38 ` Paul Mackerras
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=20030512060210.C29881@google.com \
--to=fcusack@fcusack.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.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