From owner-cvs-all Tue Nov 7 15:19:17 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 55C9D37B479; Tue, 7 Nov 2000 15:19:13 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA02353; Tue, 7 Nov 2000 15:19:13 -0800 (PST) (envelope-from brian@FreeBSD.org) Message-Id: <200011072319.PAA02353@freefall.freebsd.org> From: Brian Somers Date: Tue, 7 Nov 2000 15:19:12 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp chap.c mppe.c mppe.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2000/11/07 15:19:12 PST Modified files: usr.sbin/ppp chap.c mppe.c mppe.h Log: Introduce another global (MPPE_IsServer) so that we initiate the MPPE session keys correctly. I'm a bit dubious about this code. It seems that the session keys are initialised differently based on whether you're the client or the server. One side is the server if it issues the first challenge, but of course you can issue a challenge from both sides.... at the same time. Sounds like another wonderful M$ assumption... Ppp can now talk to itself correctly using encryption. Problem solved by: Ustimenko Semen Hair torn out by: me Revision Changes Path 1.68 +9 -6 src/usr.sbin/ppp/chap.c 1.4 +6 -3 src/usr.sbin/ppp/mppe.c 1.2 +2 -1 src/usr.sbin/ppp/mppe.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message