Re: MPPE in kernel?

Frank Cusack (fcusack@fcusack.com)
Mon, 12 May 2003 06:02:10 -0700


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/