Mercurial > hg > waaad
changeset 335:7bdc3fc65ae2
Renamed the new file with more descriptive name
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Wed, 01 Apr 2009 10:29:34 +0900 |
parents | 9a0a3220ad9f |
children | c4a1499164a3 |
files | doc/radius_gw.conf.sample extensions/CMakeLists.txt |
diffstat | 2 files changed, 78 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/radius_gw.conf.sample Wed Apr 01 10:29:34 2009 +0900 @@ -0,0 +1,63 @@ +# This file contains information for configuring the radius_gw extension. +# To find how to make waaad load this extension, please refer to the waaad documentation. +# +# The radius_gw extension provides features to a waaad host to serve as a +# RADIUS/Diameter gateway. Typically, a RADIUS client (e.g. a NAS) would connect to +# this extension, and the message would be converted to Diameter and sent to a Diameter server. +# +# This extension contains two almost independent parts: authentication/authorization and accounting. +# See the detail of each section bellow. +# +# Note that this extension alone is not sufficient for most authentication / authorization applications. +# You need to add specific extensions for each application such as NASREQ, EAP, ... +# See the "auth_mod" configuration parameter for this purpose. + + +#################### +# Authentication # +# Authorization # +#################### + +# Enable the RADIUS/Diameter authentication/authorization gateway? +# auth_server_enable = 1; + +# The port on which the accounting server listens +# auth_server_port = 1812; + +# The IPv4 on which to bind the server, or "disable" if IPv4 must not be used. +# auth_server_ip4 = 0.0.0.0; + +# The IPv6 address to which the server is bound, or "disable" +# auth_server_ipv6 = :: ; + +# Enabling the auth server is not sufficient, one must provide additional modules +# that will convert the specific RADIUS messages depending on application. +# When a RADIUS message is received and no module is available to handle it, it is logged and +# and an error is returned. +# auth_mod = rad_eap : rad_eap.conf ; +# auth_mod = rad_pap ; + + +################ +# Accounting # +################ + +# Enable the RADIUS/Diameter accounting gateway? +# acct_server_enable = 1; + +# The port on which the accounting server listens +# acct_server_port = 1813; + +# The IPv4 on which to bind the server, or "disable" if no IPv4 is wanted. +# acct_server_ip4 = 0.0.0.0; + +# The IPv6 address to which the server is bound, or "disable" +# acct_server_ipv6 = :: ; + +# Store session id used by authentication messages to find the application id for the accounting msg +# acct_app_sessions = 1; + +# The Diameter Application to use for the accounting messages with unknown session information +# acct_app_id = 0; + +
--- a/extensions/CMakeLists.txt Tue Mar 31 15:59:14 2009 +0900 +++ b/extensions/CMakeLists.txt Wed Apr 01 10:29:34 2009 +0900 @@ -12,6 +12,21 @@ # Diameter applications + +#### +# Radius / Diameter gateway extensions +OPTION(BUILD_RADIUS_GW "Build radius_gw? (RADIUS/Diameter gateway base code, needed for other radius_* extensions)" ON) +IF (BUILD_RADIUS_GW) + SUBDIRS(radius_gw) + + OPTION(BUILD_RADIUS_EAP "Build radius_eap? (Support for EAP authentication in the RADIUS/Diameter gateway)" ON) + IF (BUILD_RADIUS_EAP) + SUBDIRS(radius_eap) + ENDIF (BUILD_RADIUS_EAP) + +ENDIF (BUILD_RADIUS_GW) + + #### # Routing extensions