Do not send Accounting-Response

Alan DeKok aland at deployingradius.com
Tue Jun 15 14:17:21 CEST 2021


On Jun 15, 2021, at 12:28 AM, Strong, Mark <mstrong at tnsi.com> wrote:
> 
> Weird question here, want to stop freeradius sending an Accounting-Response, I assume it's probably possible since it's like a Lego set, but how is best/easiest way of doing it on a per NAS basis.
> 
> Why you would want to do such a thing, well I'll have more info on that tomorrow after I've spoken with the Telco.
> 
> At the moment I just want to know if it's possible and best way of doing it.

  Yes.  There's a "do_not_respond" policy:

accounting {
	...
	if (User-Name == "bob") {
		do_not_respond
	}
	...
}

  But this is a VERY bad idea in general.  Doing this will make the NAS think that the server is down.

  Alan DeKok.




More information about the Freeradius-Users mailing list