[pptp-server] Some Questions

Nate Carlson natecars at real-time.com
Fri Jan 28 18:10:15 CST 2000


On Fri, 28 Jan 2000, Blake Watters wrote:

> I am in the process of setting up a VPN on my Linux box to serve a zoo of Windows 9x/NT/2000 clients and plan to be using pptp as the backbone of the setup. I am however a bit frustrated as I patched ppp to support the encryption needed by Microsoft OS's and went merrilly on my way to compile the kernel modules when I was rudely interupted by errors concerning the nonexistence of RC4 algorithms in the kernel codebase. So off I went to kerneli.org to grab the patches and found none in existence for 2.2.14. So the questions I put before you are as follows:
> 
> Is it a necessity to make use of the encryption? (I mean easily - distributing registry hacks is not an option)
> And can anyone point me to a link where I can obtain the needed patches?
> 
> Blake
> 

www.openssl.org, just copy all the rc4 files it asks for over. read the
howto; it's helpful. this might be helpful too (from an internal-use rpm
for pptpd; sorry, i can't distribute it, i'm in a non-free country)

# bring in risky-patched ppp files
cp -f $RPM_SOURCE_DIR/ppp.c $RPM_SOURCE_DIR/ppp_mppe.c \
$RPM_SOURCE_DIR/ppp_lzscomp.c $RPM_SOURCE_DIR/ppp_lzscomp.h \
$RPM_SOURCE_DIR/mppe.h $RPM_SOURCE_DIR/sha.h $RPM_SOURCE_DIR/sha1dgst.c \ 
$RPM_SOURCE_DIR/sha_locl.h $RPM_SOURCE_DIR/rc4_enc.c \ 
$RPM_SOURCE_DIR/rc4_locl.h $RPM_SOURCE_DIR/rc4_skey.c \
$RPM_SOURCE_DIR/rc4.h ./drivers/net/
cp -f $RPM_SOURCE_DIR/if_ppp.h $RPM_SOURCE_DIR/if_pppvar.h \
$RPM_SOURCE_DIR/ppp-comp.h ./include/linux/

echo -n 'Adding MPPE compression module to network drivers makefile...'
NETMK=./drivers/net/Makefile
sed 's/bsd_comp.o$/bsd_comp.o ppp_mppe.o/g' <$NETMK >$NETMK.temp
mv $NETMK $NETMK.orig
mv $NETMK.temp $NETMK


(then recompile the kernel as usual)

-- 
Nate Carlson <carlson at real-time.com>    | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500





More information about the pptp-server mailing list