Problem suppressing timestamp/Request-Athenticator in detailed logging
Greetings, I am running freeradius 2.1.7 and attempting to have limited details in my detail logfile. I edited modules/detail to include the header I like, and added just about everything else to the suppress stanza. I get mostly what I want, but it still prints Timestamp and Request-Athenticator, but logs an error that those are not valid values and cannot suppress them. Does anyone have any suggestions on where I might have gone astray? I am getting the following error in /var/log/radius/radius.log Wed Nov 3 14:25:41 2010 : Info: rlm_detail: WARNING: No such attribute Timestamp: Cannot suppress printing it. Wed Nov 3 14:25:41 2010 : Info: rlm_detail: WARNING: No such attribute Request-Authenticator: Cannot suppress printing it. The following is the suppress stanza of /etc/raddb/modules/detail, note that I suppress those two items. detail { # stuff header = "%S %{Acct-Unique-Session-Id} %n: User %u from %i %{Acct-Status-Type}" # stuff suppress { User-Password Acct-Session-Id User-Name Acct-Authentic Acct-Terminate-Cause Acct-Session-Time Acct-Status-Type Calling-Station-Id Service-Type NAS-IP-Address NAS-Port NAS-Port-Id NAS-Port-Type Acct-Delay-Time Acct-Unique-Session-Id Timestamp Request-Authenticator } I get the following in the detail file, note that I get Timestamp and Request-Authenticator which I am trying to stop: 2010-11-03 14:20:35 23e0e50bb883d1a1 146.151.161.4: User plato from 144.92.67.114 Stop Timestamp = 1288812035 Request-Authenticator = Verified 2010-11-03 14:25:47 f93811307e83dc9d 146.151.161.4: User plato from 144.92.67.114 Start Timestamp = 1288812347 Request-Authenticator = Verified I have manually shutdown the server and ran it with radiusd -X and it says basically the same thing: ... Module: Linked to module rlm_detail Module: Instantiating detail detail { detailfile = "/var/log/radius/radacct/detail-%Y%m%d" header = "%S %{Acct-Unique-Session-Id} %n: User %u from %i %{Acct-Status-Type}" detailperm = 420 dirperm = 493 locking = no log_packet_header = no } rlm_detail: WARNING: No such attribute Timestamp: Cannot suppress printing it. rlm_detail: WARNING: No such attribute Request-Authenticator: Cannot suppress printing it. Module: Instantiating attr_filter.accounting_response ... I've looked for extra spaces and non-printed characters in the config, but that does not seem to be it. Does anyone have any suggestions on where to look? Cheers, Janet, who can be reached at techgrrl2003 at yahoo dot com.
Janet Plato wrote:
I am running freeradius 2.1.7 and attempting to have limited details in my detail logfile.
Uh... why? You want to use the "detail" log, but not log much of anything?
Does anyone have any suggestions on where I might have gone astray?
You're stuck on a solution that isn't working. You should instead describe the problem. There is likely a better way to get the same results. Alan DeKok.
participants (2)
-
Alan DeKok -
Janet Plato