From owner-freebsd-net@FreeBSD.ORG Sat Nov 15 05:26:55 2003 Return-Path: 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 27D1E16A4CE for ; Sat, 15 Nov 2003 05:26:55 -0800 (PST) Received: from freebsd.giovannelli.com (freebsd.giovannelli.com [194.184.65.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE31543F85 for ; Sat, 15 Nov 2003 05:26:52 -0800 (PST) (envelope-from gmarco@giovannelli.it) Received: from usul.giovannelli.it (usul.giovannelli.com [10.254.254.4]) hAFDSduE033421; Sat, 15 Nov 2003 14:28:39 +0100 (CET) (envelope-from gmarco@giovannelli.it) Message-Id: <6.0.0.22.2.20031115142623.03c7fc88@194.184.65.7> X-Sender: gmarco@194.184.65.4 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sat, 15 Nov 2003 14:33:28 +0100 To: net@freebsd.org From: Gianmarco Giovannelli In-Reply-To: <20031115135336.T359@worf.a-quadrat.at> References: <6.0.0.22.2.20031115121950.03168f20@194.184.65.4> <20031115135336.T359@worf.a-quadrat.at> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: esperti@gufi.org Subject: Re: mpd & freeradius: MS-CHAP2 problem ? and more ... (long) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2003 13:26:55 -0000 At 15/11/2003, Michael Bretterklieber wrote: Thanks very much for your so quick answer. > > [pptp1] RADIUS: RadiusAddServer Adding 172.16.33.236 > > [pptp1] RADIUS: RadiusPutAuth: RADIUS_CHAP (MSOFTv2) peer name: gmarco > > [pptp1] RADIUS: RadiusSendRequest: RAD_ACCESS_ACCEPT for user gmarco > > [pptp1] RADIUS: RadiusGetParams: RAD_FRAMED_PROTOCOL: 2 > > [pptp1] RADIUS: RadiusGetParams: RAD_FRAMED_PROTOCOL: 1 > > [pptp1] RADIUS: RadiusGetParams: RAD_FRAMED_IP_ADDRESS: 192.168.79.253 > > [pptp1] RADIUS: RadiusGetParams: RAD_FRAMED_IP_NETMASK: 255.255.255.255 > > [pptp1] RADIUS: RadiusGetParams: PANIC no MS-CHAPv2 response received >- please check, if you have included the microsoft dictionary >$INCLUDE dictionary.microsoft (file dictionary) It fixes the problem :-) Infact now: [pptp1] CHAP: sending CHALLENGE [pptp1] LCP: LayerUp pptp0-0: ignoring SetLinkInfo [pptp1] LCP: rec'd Ident #2 link 0 (Opened) MESG: MSRASV5.10 [pptp1] CHAP: rec'd RESPONSE #1 Name: "gmarco" [pptp1] RADIUS: RadiusAddServer Adding 172.16.33.236 [pptp1] RADIUS: RadiusPutAuth: RADIUS_CHAP (MSOFTv2) peer name: gmarco [pptp1] RADIUS: RadiusSendRequest: RAD_ACCESS_ACCEPT for user gmarco [pptp1] RADIUS: RadiusGetParams: RAD_FRAMED_PROTOCOL: 2 [pptp1] RADIUS: RadiusGetParams: RAD_FRAMED_PROTOCOL: 1 [pptp1] RADIUS: RadiusGetParams: RAD_FRAMED_IP_ADDRESS: 192.168.79.253 [pptp1] RADIUS: RadiusGetParams: RAD_FRAMED_IP_NETMASK: 255.255.255.255 [pptp1] RADIUS: RadiusGetParams: RAD_MICROSOFT_MS_CHAP2_SUCCESS: S=F8DD7B9D0D116 CE031E25CD8448C84D4FE49644F [pptp1] RADIUS: RadiusGetParams: RAD_MICROSOFT_MS_MPPE_RECV_KEY [pptp1] RADIUS: RadiusGetParams: RAD_MICROSOFT_MS_MPPE_SEND_KEY [pptp1] RADIUS: RadiusGetParams: RAD_MICROSOFT_MS_MPPE_ENCRYPTION_POLICY: 2 (Req uired) [pptp1] RADIUS: RadiusGetParams: RAD_MICROSOFT_MS_MPPE_ENCRYPTION_TYPES: 4 (128 bit) [pptp1] RADIUS: RadiusSetAuth: Trying to use IP-address from radius-server [pptp1] RADIUS: RadiusSetAuth: using this IP: 192.168.79.253 Response is valid [pptp1] CHAP: sending SUCCESS [pptp1] LCP: authorization successful [pptp1] LCP: phase shift AUTHENTICATE --> NETWORK > > [pptp1] rec'd unexpected protocol 0x4409 on link -1, rejecting > > [pptp1] rec'd unexpected protocol 0x0099 on link -1, rejecting > > [pptp1] rec'd unexpected protocol 0x0091 on link -1, rejecting > > [pptp1] rec'd proto 0xc867 on MP link! (ignoring) >this is a problem we the MPPE-Key generation, first we should try getting >your RADIUS config to work, Now I don't get them anymore :-) Thanks again very much ... Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.gufi.org/~gmarco