• Matt Domsch's avatar
    [PPP]: add PPP MPPE encryption module · b3f9b92a
    Matt Domsch authored
    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: default avatarMatt Domsch <Matt_Domsch@dell.com>
    Cc: James Cameron <james.cameron@hp.com>
    Cc: "David S. Miller" <davem@davemloft.net>
    Signed-off-by: default avatarBrice Goglin <Brice.Goglin@ens-lyon.org>
    Acked-by: default avatarPaul Mackerras <paulus@samba.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    b3f9b92a
ppp_generic.c 66.8 KB