[pptp-server] Help Compiling with RC4

Toktar, Emir EMIR.TOKTAR at bra.xerox.com
Thu Aug 12 21:55:56 CDT 1999


David,

My PoPTop it was fine until I update MSCHAP / MPPE...

Notation:
+===============================
| my observation and question...
+===============================


This is cut out of the poptop howto/faq.. 

Grab yourself a clean copy of the PPP deamon version 2.3.8 (ppp-2.3.8). I
usually go here for my PPP files: ftp://cs.anu.edu.au/pub/software/ppp/ 

+========================================================
|PPP : ftp://cs.anu.edu.au/pub/software/ppp/ 
|ppp-2.3.8.tar.gz  
|ppp-2.3.8-patch1
|
|1) It´s necessary applly this patch??
|
+========================================================


Grab yourself the MSCHAP/MPPE diff files and the RC4 files

+========================================================
|I achieved from : 
|
|MSCHAP/MPPE :http://www.moretonbay.com/vpn/releases/ 
|ppp-2.3.8-mppe-others-norc4_TH7.diff
|
|RC4 files : ftp://ftp.psy.uq.oz.au/pub/Crypto/OpenSSL/
|[bin]openssl-0.9.1.c.tar.gz
|[txt]openssl-0.9.1c.tar.gz.md5 
|
|gunzip openssl-0.9.1.c.tar.gz
|../crypto/rc4/
| rc4.h
| rc4_enc.c
| rc4_locl.h
| rc4_skey.c
| ... 
| It´s OK!!!
+========================================================
|i.e:
|.diff file is a patch.  Apply it with the 'patch' command.
|You may need to read the manual page on patch but the main important
|option is the '-p' option which may be needed (eg, -p1 to strip one
|path component off filenames).
|
|A typical patch application is something like
|  cd some-distribution
|  gzip -dc ../some-patch.gz | patch -p1
|but this varies based on the specific patches.
|
|-----Original Message-----
|From: David Luyer [mailto:luyer at ucs.uwa.edu.au] 
|Sent: Wednesday, July 07, 1999 9:34 AM
+=========================================================

Follow these instructions:
Note: [] are example commands to run

* extract the archive to your local file system [tar zxvf ppp-2.3.8.tgz]. 
* copy the MSCHAP/MPPE diff file to ppp-2.3.8/ 	
* copy the RC4 files (rc4.h and rc4_enc.c) to ppp-2.3.8/linux/

+========================================================
|Basically, you need more than just rc4.h and rc4_enc.c from openssl.
|  1. copy rc4.h, rc4_enc.c rc4_locl.h, rc4_skey.c to both
|           .../ppp-2.3.8/linux/
|     and
|           /usr/src/linux/drivers/net/
|
|  2. edit both "ppp_mppe.c" files and add the following line at the end
|     of the set of #include lines at the top of the file...
|           #include "rc4_skey.c"
|
|  ... the rest of the standard instructions are fine.
| 
| Also, you might want to execute a "depmod -a" to update the dependencies.
|
|-----Original Message-----
|From: Marcus Lee [mailto:marclee at mgmt.utoronto.ca]
|Sent: Sunday, July 25, 1999 6:05 PM
|
|
| 2)I make this procedure (copy rc*.* to /linux/ and /net/, it´s OK?
|
|
| 3)"depmod -a" on root? What is this? I didn´t saw to happen nothing!!
|
|
+========================================================

* [cd ppp-2.3.8]
* extract the diff file [gunzip ppp-2.3.8-mppe-others-norc4_TH7.diff.gz]

+========================================================
| this file is not gzip in http://www.moretonbay.com/vpn/releases/ 
+========================================================

* patch the diff [patch -p1 < ppp-2.3.8-mppe-others-norc4_TH7.diff]
* [./configure]
* [cd linux]
* [./kinstall.sh]
* [cd ..]
* [make]
* make a backup of your pppd if your so inclined
* copy the new pppd over the old one [cat pppd/pppd > `which pppd`]
* [cd /usr/src/linux]
* [make modules SUBDIRS=drivers/net]
* [make modules_install]
* [rmmod ppp]
+========================================================
| My problem... ppp don´t load in kernel.
| I did a mistake anyware!! Which was it?  Can you help me?
+========================================================
* [insmod ppp]
* [insmod ppp_mppe]


Emir Toktar

emir.toktar at bra.xerox.com 
toktar at per.com.br
toktar at ppgia.pucpr.br




More information about the pptp-server mailing list