]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PPP]: add PPP MPPE encryption module
authorMatt Domsch <Matt_Domsch@dell.com>
Tue, 8 Nov 2005 17:40:47 +0000 (09:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Nov 2005 17:40:47 +0000 (09:40 -0800)
commitb3f9b92a6ec1a9a5e4b4b36e484f2f62cc73277c
tree7ca8e019573362620638e14e32bb519770ee6945
parent6722e78c90054101e6797d5944cdc81af9897a0a
[PPP]: add PPP MPPE encryption module

From: Matt Domsch <Matt_Domsch@dell.com>

The patch below implements the Microsoft Point-to-Point Encryption method
as a PPP compressor/decompressor.  This is necessary for Linux clients and
servers to interoperate with Microsoft Point-to-Point Tunneling Protocol
(PPTP) servers (either Microsoft PPTP servers or the poptop project) which
use MPPE to encrypt data when creating a VPN.

This patch differs from the kernel_ppp_mppe DKMS pacakge at
pptpclient.sourceforge.net by utilizing the kernel crypto routines rather
than providing its own SHA1 and arcfour implementations.

Minor changes to ppp_generic.c try to prevent a link from disabling
compression (in our case, the encryption) after it has started using
compression (encryption).

Feedback to <pptpclient-devel@lists.sourceforge.net> please.

Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
Cc: James Cameron <james.cameron@hp.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ppp_generic.c
drivers/net/ppp_mppe.c [new file with mode: 0644]
drivers/net/ppp_mppe.h [new file with mode: 0644]
include/linux/if_ppp.h
include/linux/ppp-comp.h