Re: Blocking Interim-Update Accounting-Requests
Jakob Hirsch wrote: is it possible to filter out accounting requests with an Acct-Status-Type of Interim-Update? That depends on what you mean by filter out. rlm_attr_filter works obviously only when we are a proxy, and rlm_files with this acct_users changed nothing: DEFAULT Acct-Status-Type == Interim-Update, Auth-Type := Reject Auth-Type works for authentication, not accounting. Use Acct-Type for accounting packets. It's in the documentation. If you are trying to log some packets and not others, then do conditional logging. e.g. if packet is type I want to log Anybody with an idea? Otherwise I'll have to add that to our logging module. Perhaps you could explain what you mean by filter out. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Blocking Interim-Update Accounting-Requests
Alan DeKok wrote: If you are trying to log some packets and not others, then do conditional logging. e.g. if packet is type I want to log That's exactly what I want. And it works now with using Acct-Type. Thanks for that! For the list archive (using version 1.1.4): acct_users: DEFAULT Acct-Status-Type == Interim-Update, Acct-Type := IGNORE radiusd.conf: preacct { files ... } accounting { Acct-Type IGNORE { ok } dumpinacct ok } - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Blocking Interim-Update Accounting-Requests
Hi, is it possible to filter out accounting requests with an Acct-Status-Type of Interim-Update? rlm_attr_filter works obviously only when we are a proxy, and rlm_files with this acct_users changed nothing: DEFAULT Acct-Status-Type == Interim-Update, Auth-Type := Reject DEFAULT Acct-Status-Type == Start, Auth-Type := Accept DEFAULT Acct-Status-Type == Stop, Auth-Type := Accept I guess it's just not possible to handle acct-requests that way... Anybody with an idea? Otherwise I'll have to add that to our logging module. TIA. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html