Re[2]: accounting and LOCAL realm (freeradius dont send Accounting-Response)
Hello Alan, Tuesday, June 21, 2005, 7:49:22 PM, you wrote: I see in logs WARNING: Cancelling proxy to Realm LOCAL, as the realm is local. But freeradius DONT send Accounting-Response to NAS and NAS continue re-sending accounting packets. AD Ok... it looks like the code in src/main/acct.c doesn't take LOCAL AD realms into account. AD The solution in the short term is to NOT set Proxy-To-Realm = LOCAL. Ok, so how can i stop processing accounting with NULL or any other realm in my situation? I just want run start/alive/stop script with freeradius. Solution is rewrite username before suffix processing and append non-existent realm. But attr_rewrite can't search one attribute Called-to and rewrite other username. -- Best regards, Victormailto:[EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re[2]: accounting and LOCAL realm (freeradius dont send Accounting-Response)
Hello Nicolas, Wednesday, June 22, 2005, 12:01:58 PM, you wrote: NB 2. Remove instances of the 'realm' module in 'preacct' section and NB write something like this in 'acct_users' file: NB # Proxy this one NB DEFAULT User-Name =~ foo\.net$, Acct-Type := acct.foo, Proxy-To-Realm := foo.net NB # Handle this one locally NB DEFAULT User-Name =~ bar\.com$, Acct-Type := acct.bar In this way accounting always processing local, freeradius dont try sending accounting data to Proxy-To-Realm value. -- Best regards, Victormailto:[EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Re[2]: accounting and LOCAL realm (freeradius dont send Accounting-Response)
Ok, so how can i stop processing accounting with NULL or any other realm in my situation? I just want run start/alive/stop script with freeradius. Edit the accounting section to contain only the modules you want? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html