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 detailfile
19 The file name in which to store the radius packet records.
20 NOTE: this variable is run through dynamic string expansion, and
21 can include FreeRADIUS variables to create a dynamic filename.
22
23 %{radacctdir}/%{Client-IP-Address}/detail-%Y%m
24
25 This will create one file per month, for each client.
26 This accomplishes 'file rotation' automatically from
27 within the server.
28
29 detailperm
30 The file permissions of the detailfile. If omitted, the default
31 is 0600.
32
33 dirperm
34 The directory permissions of the directory where the detail
35 files are created. The default is 0755.
36
37 locking
38 This option is set to 'yes' or 'no'. By default it is 'no'.
39 Set this to yes to enable file locking, which is used with the
40 'radrelay' program.
41
43 modules {
44 ...
45 detail {
46 detailfile = %A/%{Client-IP-Address}/detail-%Y%m
47 detailperm = 0600
48 dirperm = 0755
49 locking = no
50 }
51 ...
52 }
53 ...
54 accounting {
55 ...
56 detail
57 ...
58 }
59
61 authorization, accounting, pre_proxy, post_proxy, post_authentication
62
64 /etc/raddb/radiusd.conf
65
67 radiusd(8), radiusd.conf(5)
68
70 Chris Parker, cparker@segv.org
71
72
73
74 5 February 2004 rlm_detail(5)