Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2003 21:18:54 +0100
From:      Michael Bretterklieber <mbretter@jawa.at>
To:        Archie Cobbs <archie@dellroad.org>
Cc:        Andrew Reilly <areilly@bigpond.net.au>, net@freebsd.org
Subject:   MPD-3.11 MPPE key-breakage (was: mpd 3.11 doesn't send packets)
Message-ID:  <3E48092E.7040609@jawa.at>
References:  <200302092220.h19MKOjG076106@arch20m.dellroad.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050206060308040402040002
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi Archie,

Archie Cobbs wrote:
> 
> Michael- did you test PPTP+MPPE, non-RADIUS, 128 bit, client side?
> Server side and client side may behave differently, etc.
The problem occured only if you are used mpd client side.
The new bund->msPassword was empty. I attached a patch wich should solve 
the problem.

bye,
-- 
------------------------------- -------------------------------------
Michael Bretterklieber        - Michael.Bretterklieber@jawa.at
JAWA Management Software GmbH - http://www.jawa.at
Liebenauer Hauptstr. 200        -------------- privat ---------------
A-8041 GRAZ                     GSM: ++43-(0)676-93 96 698
Tel: ++43-(0)316-403274-12      E-mail:   michael@bretterklieber.com
Fax: ++43-(0)316-403274-10      http://www.bretterklieber.com
------------------------------- -------------------------------------
"...the number of UNIX installations has grown to 10, with more
expected..." - Dennis Ritchie and Ken Thompson, June 1972

--------------050206060308040402040002
Content-Type: text/plain;
 name="chap.c.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="chap.c.diff"

--- chap.c.orig	Mon Feb 10 21:12:13 2003
+++ chap.c	Mon Feb 10 21:14:34 2003
@@ -413,6 +413,8 @@
 	  }
 	  break;
 	}
+	if (chap->xmit_alg == CHAP_ALG_MSOFT || chap->xmit_alg == CHAP_ALG_MSOFTv2) 
+	  strlcpy(bund->msPassword, auth.password, sizeof(bund->msPassword));        
 
 	/* Build response packet */
 	if (chap->resp)

--------------050206060308040402040002--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E48092E.7040609>