From owner-freebsd-net Mon Feb 10 12:20:27 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2141437B401 for ; Mon, 10 Feb 2003 12:20:25 -0800 (PST) Received: from jawa.at (inforum.at [213.229.17.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7E6843F75 for ; Mon, 10 Feb 2003 12:20:23 -0800 (PST) (envelope-from mbretter@jawa.at) Received: from jawa.at (worf.jawa.at [192.168.201.12]) by jawa.at (8.12.6/8.12.6) with ESMTP id h1AKK807063938; Mon, 10 Feb 2003 21:20:09 +0100 (CET) (envelope-from mbretter@jawa.at) Message-ID: <3E48092E.7040609@jawa.at> Date: Mon, 10 Feb 2003 21:18:54 +0100 From: Michael Bretterklieber User-Agent: Mozilla/5.0 (X11; U; Linux i386; de-AT; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Archie Cobbs Cc: Andrew Reilly , net@freebsd.org Subject: MPD-3.11 MPPE key-breakage (was: mpd 3.11 doesn't send packets) References: <200302092220.h19MKOjG076106@arch20m.dellroad.org> Content-Type: multipart/mixed; boundary="------------050206060308040402040002" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-1.8 required=5.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.43 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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