[pptp-server] a couple questions(mppe patches,etc)
Pascal Fremaux
pf at sxb.bsf.alcatel.fr
Thu Jan 20 03:22:09 CST 2000
You're rigth or you can use the solution proposed by Emir.
I send you a mppe_stateless that works.
Stacy Lindberg wrote:
> Hi and SORRY about the confirm message earlier!! :/
>
> Anyways, I was having a problem with the mppe patches to ppp-2.3.10 but
> that turned out to be an issue with downloading them with netscape(munging
> data). Now I've just got a couple questions/issues.
>
> First of all here's what I have:
>
> Slackware 7.0.0
> kernel 2.2.14
> pppd-2.3.10
> pptpd-1.0.0
> SSLeay-0.6.6b
> ppp-2.3.10-openssl-norc4-mppe.patch
> mppe_stateless.diff
>
> Can anyone send me a mppe_stateless patch that works? Or at least tell me
> what exactly I need to modify?
>
> In the process of doing a "make kernel" from the patched ppp-2.3.10
> source, the kinstall.sh script complains that it
> "Could not find source file rc4_skey.c !"
> Then after you build the kernel, and try to "make modules", it fails
> complaining it can't find the above file.
>
> I traced it down to removing line 68 from ppp_mppe.c b/c rc4_skey.c would
> appear to be included in the rc4.h and is no longer needed. Am I correct
> in coming to this conclusion?
>
> Any and all help would be appreciated!
>
> Cheers,
> Stacy
>
> P.S. setting pptp has been a breeze otherwise...
>
> _______________________________________________
> pptp-server maillist - pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulte.org!
--
Pascal Fremaux, SSII Alten
Study Engineer at Alcatel Telecom
R&D, Illkirch, France
-------------- next part --------------
--- ppp-2.3.10/linux/ppp_mppe.c~ Thu Dec 2 14:46:31 1999
+++ ppp-2.3.10/linux/ppp_mppe.c Thu Dec 2 14:46:50 1999
@@ -163,7 +163,7 @@
RC4_set_key(&(state->RC4_send_key), state->keylen, state->session_send_key);
RC4_set_key(&(state->RC4_recv_key), state->keylen, state->session_recv_key);
- state->bits=MPPE_BIT_ENCRYPTED;
+ state->bits |= MPPE_BIT_FLUSHED;
}
--- ppp-2.3.10/pppd/ccp.c~ Thu Dec 2 14:44:30 1999
+++ ppp-2.3.10/pppd/ccp.c Thu Dec 2 14:48:00 1999
@@ -1051,7 +1051,10 @@
unsigned char opt_buf[64];
opt_buf[0] = CI_MPPE;
opt_buf[1] = CILEN_MPPE;
- opt_buf[2] = ((p[2] & MPPE_STATELESS) ? 1 : 0);
+ if(p[2] & MPPE_STATELESS) {
+ ho->mppe_stateless=1;
+ opt_buf[2] = MPPE_STATELESS;
+ }
/* push in our send/receive keys */
if(p[5] & MPPE_40BIT) {
ho->mppe_40 = 1;
More information about the pptp-server
mailing list