blob: 6609e162fd75d7d322dceca6a52fb939cd613592 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
.\" # DS - begin display
.de DS
.RS
.nf
.sp
..
.\" # DE - end display
.de DE
.fi
.RE
.sp
..
.TH rlm_detail 5 "27 June 2013" "" "FreeRADIUS Module"
.SH NAME
rlm_detail \- FreeRADIUS Module
.SH DESCRIPTION
The \fIrlm_detail\fP module writes radius packets to 'detail' files.
It is primarily used for storing accounting information, but can be
used in other sections to write packet details as well.
.PP
The file format is similar to that of the old Livingston servers, and
many 'detail' file parsers should work with FreeRADIUS.
.PP
The main configuration items to be aware of are:
.IP file
The file name in which to store the radius packet records. NOTE: this
variable is run through dynamic string expansion, and can include
FreeRADIUS variables to create a dynamic filename.
.PP
%{radacctdir}/%{Client-IP-Address}/detail-%Y%m
.PP
This will create one file per month, for each client.
This accomplishes 'file rotation' automatically from
within the server.
.PP
.IP permissions
The file permissions of the file.
If omitted, the default is 0600.
.IP locking
This option is set to 'yes' or 'no'. By default it is 'no'. Set this
to yes to enable file locking, which is used with the 'radrelay'
program.
.SH CONFIGURATION
.PP
.DS
modules {
...
.br
detail {
.br
filename = ${radacctdir}/%{Client-IP-Address}/detail-%Y%m
.br
permissions = 0600
.br
dir_permissions = 0755
.br
locking = no
.br
}
.br
...
.br
}
...
.br
accounting {
...
.br
detail
...
.br
}
.DE
.PP
.SH SECTIONS
.BR authorization,
.BR accounting,
.BR pre_proxy,
.BR post_proxy,
.BR post_authentication
.PP
.SH FILES
.I /etc/raddb/radiusd.conf
.PP
.SH "SEE ALSO"
.BR radiusd (8),
.BR radiusd.conf (5)
.SH AUTHORS
Chris Parker, cparker@segv.org
|