Accounting-Response dependence

Alan DeKok aland at deployingradius.com
Thu Dec 1 15:03:21 CET 2011


RudolfSusnik wrote:
> When execution of mysql procedure takes a while, accounting-response is
> delayed to accounting-request according to the procedure execution delay.

  That's how accounting works.

> When MySQL goes down, accounting-response is sent immediately. Is it
> possible to configure accounting in such way that there actually would be no
> accounting-response in case MySQL fails?

  Yes.

	sql
	if (fail) {
		do_not_respond
	}

  It's replying because you have the accounting section log to the
"detail" file.

  What you really want is something like raddb/sites-available/buffered-sql

  Alan DeKok.



More information about the Freeradius-Users mailing list