Subversion Repositories configs

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
# -*- text -*-
2
#
3
#  $Id$
4
 
5
# Write a detailed log of all accounting records received.
6
#
7
detail {
8
	#  Note that we do NOT use NAS-IP-Address here, as
9
	#  that attribute MAY BE from the originating NAS, and
10
	#  NOT from the proxy which actually sent us the
11
	#  request.
12
	#
13
	#  The following line creates a new detail file for
14
	#  every radius client (by IP address or hostname).
15
	#  In addition, a new detail file is created every
16
	#  day, so that the detail file doesn't have to go
17
	#  through a 'log rotation'
18
	#
19
	#  If your detail files are large, you may also want
20
	#  to add a ':%H' (see doc/variables.txt) to the end
21
	#  of it, to create a new detail file every hour, e.g.:
22
	#
23
	#   ..../detail-%Y%m%d:%H
24
	#
25
	#  This will create a new detail file for every hour.
26
	#
27
	#  If you are reading detail files via the "listen" section
28
	#  (e.g. as in raddb/sites-available/robust-proxy-accounting),
29
	#  you MUST use a unique directory for each combination of a
30
	#  detail file writer, and reader.  That is, there can only
31
	#  be ONE "listen" section reading detail files from a
32
	#  particular directory.
33
	#
34
	detailfile = ${radacctdir}/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
35
 
36
	#
37
	#  The Unix-style permissions on the 'detail' file.
38
	#
39
	#  The detail file often contains secret or private
40
	#  information about users.  So by keeping the file
41
	#  permissions restrictive, we can prevent unwanted
42
	#  people from seeing that information.
43
	detailperm = 0600
44
 
45
	#
46
	#  Every entry in the detail file has a header which
47
	#  is a timestamp.  By default, we use the ctime
48
	#  format (see "man ctime" for details).
49
	#
50
	#  The header can be customized by editing this
51
	#  string.  See "doc/variables.txt" for a description
52
	#  of what can be put here.
53
	#
54
	header = "%t"
55
 
56
	#
57
	#  Uncomment this line if the detail file reader will be
58
	#  reading this detail file.
59
	#
60
#	locking = yes
61
 
62
	#
63
	#  Log the Packet src/dst IP/port.  This is disabled by
64
	#  default, as that information isn't used by many people.
65
	#
66
#	log_packet_header = yes
67
 
68
	#
69
	# Certain attributes such as User-Password may be
70
	# "sensitive", so they should not be printed in the
71
	# detail file.  This section lists the attributes
72
	# that should be suppressed.
73
	#
74
	# The attributes should be listed one to a line.
75
	#
76
	#suppress {
77
		# User-Password
78
	#}
79
 
80
}