From owner-freebsd-net Sun Nov 3 16:35:39 2002 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 AD03437B401 for ; Sun, 3 Nov 2002 16:35:37 -0800 (PST) Received: from mel-rto4.wanadoo.fr (smtp-out-4.wanadoo.fr [193.252.19.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id B246F43E42 for ; Sun, 3 Nov 2002 16:35:36 -0800 (PST) (envelope-from vjardin@wanadoo.fr) Received: from mel-rta8.wanadoo.fr (193.252.19.79) by mel-rto4.wanadoo.fr (6.5.007) id 3DA24D3200FEF2C8; Mon, 4 Nov 2002 01:35:24 +0100 Received: from there (217.128.206.98) by mel-rta8.wanadoo.fr (6.5.007) id 3DA24B4A00F924C1; Mon, 4 Nov 2002 01:35:24 +0100 Message-ID: <3DA24B4A00F924C1@mel-rta8.wanadoo.fr> (added by postmaster@wanadoo.fr) Content-Type: text/plain; charset="iso-8859-15" From: Vincent Jardin To: Michael Bretterklieber , freebsd-net@freebsd.org Subject: Re: mpd radius - request for review Date: Mon, 4 Nov 2002 01:52:06 +0100 X-Mailer: KMail [version 1.3.2] Cc: Brendan Bank References: <3DC53410.8000602@inode.at> In-Reply-To: <3DC53410.8000602@inode.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, I have not tested your code yet. However, according to me the radius code should be into link.c and not bund.c For example, it is important in order to support the accounting of the multilink ppp sessions, isn'it ? Vincent Le Dimanche 3 Novembre 2002 15:34, Michael Bretterklieber a écrit : > Hi, > > now I finished the work for radius-mpd-integration. > > It would be great if my code will be reviewed and integrated into > "official" mpd. > If there are any bugs or dirty hacks in my code, then let me know. > > I tested the code successfuly against freeradius and Microsoft Radius > (Windows 2000). > All auth-types are supported (pap, chap-md5, mschap v1 and mschap v2), > also mppe works. > > Here are the new config-params: > > set radius config /etc/radius.conf > or > set radius retries 3 > set radius timeout 3 > set radius server localhost testing123 > => configures radius (thanks to Brendan Bank). > > set bundle enable radius-auth => enables Radius Auth > set bundle enable radius-fallback => enables fallback to mpd.secret if > radius-auth not succeeded > > set ipcp enable radius-ip => let the radius-server assign the ip for the > user > > with "show radius" all radius-related params are printed out. > > After the code has being integrated into mpd I would like continue > implementing more features: > - MPPE Types and Policy > - Let mpd use other radius-params. > - Accounting > > If the code is to bad for integration into mpd, no problem, because then > it was only a good exercise for me. > > I attached the patches and also 2 new files for mpd 3.10. > > > bye, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message