|
NAMENet::Radius::Server - Framework for RADIUS ServersSYNOPSISuse Net::Radius::Server; DESCRIPTION"Net::Radius::Server" provides an extensible framework to create RADIUS servers suitable for non-standard scenarios where authentication needs to consider multiple factors. The RADIUS responses may be created by arbitrarily complex rules that process the request packet as well as any external data accessible to Perl.RADIUS request processing can as well include custom -- and sometimes complex -- processes. For instance, you could want to record a copy of every RADIUS request received by the server for audit purposes. The following modules or module hierarchies are included in this distribution as well:
As you might have guessed by now, implementation of new features is done through subclassing and overriding of selected functions. This provides for an isolated yet well integrated environment. The invocation hashref"Net::Radius::Server::Match" "->match()" methods, "Net::Radius::Server::Set" "->set()" methods and the secret, dictionary and rule subs described in "Net::Radius::Server::NS" are invoked passing a single hash reference as argument. This hash reference is shared through all the calls, providing an effective means to have those objects share some space on a per-request basis.The hashref contains the following entries:
Using Linux-PAM and LDAPThe accompanying modules can use LDAP and Linux-PAM to authenticate users or otherwise, make more complex choices. An example used by the author, uses an LDAP attribute to decide if the username must be authenticated through RADIUS proxying or against an LDAP server.Other uses are possible, such as adding specific RADIUS attributes to the responses based on LDAP attributes. EXPORTNone by default.HISTORY$Log$ Revision 1.4 2007/01/02 23:27:11 lem Added missing prerequisites. Also documented what can be done with LDAP and Linux-PAM Revision 1.3 2006/12/14 15:52:25 lem Fix CVS tags SEE ALSOPerl(1), Net::Radius::Packet(3), Net::Radius::Server::NS(3), Net::Server(3).AUTHORLuis E. Muñoz, <luismunoz@cpan.org>COPYRIGHT AND LICENSECopyright (C) 2006 by Luis E. MuñozThis library is free software; you can redistribute it and/or modify it under the same terms as Perl 5.8.6 itself. POD ERRORSHey! The above document had some coding errors, which are explained below:
Visit the GSP FreeBSD Man Page Interface. |