5 # Persistent, embedded Perl interpreter.
9 # The Perl script to execute on authorize, authenticate,
10 # accounting, xlat, etc. This is very similar to using
11 # 'rlm_exec' module, but it is persistent, and therefore
14 module = ${confdir}/example.pl
17 # The following hashes are given to the module and
18 # filled with value-pairs (Attribute names and values)
20 # %RAD_CHECK Check items
21 # %RAD_REQUEST Attributes from the request
22 # %RAD_REPLY Attributes for the reply
24 # The return codes from functions in the perl_script
25 # are passed directly back to the server. These
26 # codes are defined in doc/configurable_failover,
27 # src/include/modules.h (RLM_MODULE_REJECT, etc),
28 # and are pre-defined in the 'example.pl' program
33 # List of functions in the module to call.
34 # Uncomment and change if you want to use function
35 # names other than the defaults.
37 #func_authenticate = authenticate
38 #func_authorize = authorize
39 #func_preacct = preacct
40 #func_accounting = accounting
41 #func_checksimul = checksimul
42 #func_pre_proxy = pre_proxy
43 #func_post_proxy = post_proxy
44 #func_post_auth = post_auth
45 #func_recv_coa = recv_coa
46 #func_send_coa = send_coa
51 # Uncomment the following lines if you wish
52 # to use separate functions for Start and Stop
53 # accounting packets. In that case, the
54 # func_accounting function is not called.
56 #func_start_accounting = accounting_start
57 #func_stop_accounting = accounting_stop