From owner-freebsd-net@FreeBSD.ORG Thu Aug 13 10:22:48 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4482E106566B for ; Thu, 13 Aug 2009 10:22:48 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id C603B8FC3A for ; Thu, 13 Aug 2009 10:22:47 +0000 (UTC) Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPA id 251466005 for freebsd-net@freebsd.org; Thu, 13 Aug 2009 12:22:43 +0300 Message-ID: <4A83DB62.9090303@FreeBSD.org> Date: Thu, 13 Aug 2009 12:22:42 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.22 (X11/20090805) MIME-Version: 1.0 To: FreeBSD Net X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: RFC: server side support for libradius X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 10:22:48 -0000 Hi. I have made a patch, extending libradius functionality by adding simple embedded RADIUS server support to it. It doesn't change any of existing client functionality and reuses much of it's code. Only four new functions were added with respect to the new server operation flow: rad_server_open(), rad_receive_request(), rad_create_response() and rad_send_response(). First consumer of this functionality is going to become forthcoming mpd5.4 release (now in CVS). It will include embedded RADIUS server, to support long awaited RADIUS Dynamic Authorization Extensions (RFC 3576), such as Change-of-Authorization (CoA) and Disconnect-Request (DR/PoD). Patch against HEAD (it should apply clean to previous versions): http://people.freebsd.org/~mav/libradius.server.20090813.patch If there will be no objections, I am going to commit it to the HEAD and merge down as soon as tree will be unfrozen. This work was sponsored by JSC "Ufanet", http://ufanet.ru/. -- Alexander Motin