Re: how to drop requests on basis of Acct-Status-Type?

2004-09-30 Thread Alan DeKok
Josh Howlett [EMAIL PROTECTED] wrote:
 I understand that I can use attr_rewrite in the preacct section to set 
 Acct-Type. How do I define the 'handled' sub-section that does nothing?

  See doc/configurable_failover for an example of a handled module.

  Then, in accounting, do:

accounting {
   ...
   Acct-Type handled {
 handled
   }

   ...
}

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: how to drop requests on basis of Acct-Status-Type?

2004-09-29 Thread Alan DeKok
Josh Howlett [EMAIL PROTECTED] wrote:
 I have some very noisy NASes generating a lot of spurious 
 Acct-Status-Type=Alive requests. There's no way to turn these off at the 
 NAS.
 
 Am I right in thinking that there's no way to drop a request on the basis 
 of the value of Acct-Status-Type?

  You can use the preacct section to set Acct-Type handled, and then
have a handled sub-section of accounting, which does nothing.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html