My radius uses the default configuration for the location
of detail logs:
radacctdir = ${logdir}/radacct
detailfile = ${radacctdir}/%{Client-IP-Address}/detail
when i saw my radacctdir, surprisingly i found out that there
are many directories there that are not my clients:
[root@arian radacct]# ls
0.176.45.64 160.100.183.11 240.81.183.11 64.175.45.64 8.175.45.64
120.68.183.11 xxx.225.40.14 48.114.183.11 72.101.183.11
128.113.183.11 200.104.183.11 56.63.183.11 72.175.45.64
none of the above except the one starting with xxx, isn't my client.
it seems something like a memory leak or bug. there is a details file
in any of the above dirs that contains 1 or more radius log entiries for
our users. the interesting point is that the entries
in these detail files, all contain correct information about the
nas ip address. that's becuase clients and nases are diffrent things.
i'm using freeradius 0.2 on RH 7.1 but i had the same
problem with 0.1 on RH 6.1.
i know that a quick and dirty solution is to hard code my client's ip
address in radius.conf. that may work for me 'cause i have just one
client. but i dont know what to do if i decided to add more clients.
is there any other variable that i can use instead of %{Client-IP-Address}
in my radius.conf
Best regards
M. Moeeni,
Scince and Ars Org.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html