Copyright (c) 2002-2004 Jan Dubiec <jdx@slackware.pl>
Copyright (c) 2007 Alexander Motin <mav@FreeBSD.org>
MPPC stands for Microsoft Point-to-Point Compression. It is a protocol designed for transfering compressed datagrams over point-to-point links. The MPPC algorithm uses an LZ based algorithm with a sliding window history buffer. See RFC2118 for details.
Although the library's source code is completely free, MPPC itself is patented algorithm. Patents for *Microsoft* PPC is holded by the Hifn Inc. To avoid legal problems, US citizens shouldn't use this library. OK, you have been warned, now you can do whatever you want.
This library was written as replacement for Hifn's original MPPC library to work in conjuction with ng_mppc FreeBSD netgraph module. It was originally based on code from "MPPE/MPPC kernel module for Linux" by Jan Dubiec, http://mppe-mppc.alphacron.de/.
This achive includes mppc.h (header file), mppcc.c (compressor part), mppcd.c (decompressor part)
NETGRAPH_MPPC_COMPRESSION?= 0to
NETGRAPH_MPPC_COMPRESSION?= 1
make && make install && make clean
kldunload ng_mppccommand.
options NETGRAPH_MPPC_ENCRYPTION
options NETGRAPH_MPPC_COMPRESSION