From owner-freebsd-net Mon Mar 3 10:28: 5 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 9E67837B421 for ; Mon, 3 Mar 2003 10:28:03 -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 7893243FBD for ; Mon, 3 Mar 2003 10:28:02 -0800 (PST) (envelope-from vjardin@wanadoo.fr) Received: from mel-rta7.wanadoo.fr (193.252.19.61) by mel-rto4.wanadoo.fr (6.7.015) id 3E0C33FD02A0558D; Mon, 3 Mar 2003 19:27:56 +0100 Received: from mercure.vincentjardin.net (193.253.220.163) by mel-rta7.wanadoo.fr (6.7.015) id 3E5335B1006F3D11; Mon, 3 Mar 2003 19:27:56 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Michael Bretterklieber Subject: Re: [mpd] radius and dynamic bundles Date: Mon, 3 Mar 2003 18:27:54 +0000 User-Agent: KMail/1.4.3 Cc: net@FreeBSD.ORG References: <200303022347.10283.vjardin@wanadoo.fr> <3E63245D.6040800@jawa.at> In-Reply-To: <3E63245D.6040800@jawa.at> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200303031827.54786.vjardin@wanadoo.fr> 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 On Monday 03 March 2003 09:46, Michael Bretterklieber wrote: > Hi, > > Vincent Jardin schrieb: > > 1/ When Radius is used with mpd and the answer delay of the Radius se= rver > > is high, how can some PAP or CHAP timeout be avoided ? > > you mean, that the client times out during authentication saying that > the server didn't responded? Yes, that the main problem that happens sometimes. > A known issue is that mpd is blocked during RADIUS requests, the > solution will be to change from rad_send_request(); to > rad_init_send_request() and rad_continue_send_request(); to avoid > blocking of mpd. > > I have this on my todo-list, but atm it has low prio. It does not look to be simple because the whole PAP and CHAP authenticati= on=20 are processed by PapInput() and ChapInput() that call RadiusPAPAuthentica= te()=20 and RadiusCHAPAuthenticate(). It is a synchronous call. In order to use=20 rad_init_send_request() and rad_continue_send_request(), PapInput() and=20 ChapInput() need to be splitted, doesn't they ? Thanks, Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message