1rlm_detail(5) FreeRADIUS Module rlm_detail(5)
2
3
4
6 rlm_detail - FreeRADIUS Module
7
9 The rlm_detail module writes radius packets to 'detail' files. It is
10 primarily used for storing accounting information, but can be used in
11 other sections to write packet details as well.
12
13 The file format is similar to that of the old Livingston servers, and
14 many 'detail' file parsers should work with FreeRADIUS.
15
16 The main configuration items to be aware of are:
17
18 file The file name in which to store the radius packet records.
19 NOTE: this variable is run through dynamic string expansion, and
20 can include FreeRADIUS variables to create a dynamic filename.
21
22 %{radacctdir}/%{Client-IP-Address}/detail-%Y%m
23
24 This will create one file per month, for each client.
25 This accomplishes 'file rotation' automatically from
26 within the server.
27
28 permissions
29 The file permissions of the file. If omitted, the default is
30 0600.
31
32 locking
33 This option is set to 'yes' or 'no'. By default it is 'no'.
34 Set this to yes to enable file locking, which is used with the
35 'radrelay' program.
36
38 modules {
39 ...
40 detail {
41 filename = ${radacctdir}/%{Client-IP-Address}/detail-%Y%m
42 permissions = 0600
43 dir_permissions = 0755
44 locking = no
45 }
46 ...
47 }
48 ...
49 accounting {
50 ...
51 detail
52 ...
53 }
54
56 authorization, accounting, pre_proxy, post_proxy, post_authentication
57
59 /etc/raddb/radiusd.conf
60
62 radiusd(8), radiusd.conf(5)
63
65 Chris Parker, cparker@segv.org
66
67
68
69 27 June 2013 rlm_detail(5)