Stop the accounting response

arjun sharma arjuniet.28 at gmail.com
Sun Mar 10 09:10:43 CET 2019


Hi,

It's not like that NAS keep resending unitl radiud responds , it's very
much in control  normally 3 retries are configured at Nas.

For your case you can log sql query via sql_log module and to reply or not
can be controlled via setting return codes

You can also Handle the Nas retransmissions by keeping optimal cleanup time
so that radius holds one request and consider RTs as duplicate and discard
them

On Fri, Mar 8, 2019, 9:54 PM Matthew Newton <mcn at freeradius.org> wrote:

> On Fri, 2019-03-08 at 19:58 +0530, Raghu nathan wrote:
> > We have the setup to update the postgreSQL database for START and
> > STOP accounting request and its working fine.
> >
> > I would like to have an option to make freeRADIUS not to send reply
> > for any accounting messages but accounting request should get logged
> > in Database.
>
> You know how accounting works, right?
>
> A reply sent back to the NAS says "I received this, all is good".
>
> No reply sent back tells the NAS "it didn't get through, send it
> again".
>
> So by not responding, the NAS will keep re-sending the packet, *until*
> you respond.
>
> > Will it be possible on freeRADIUS 3.0.13?
>
> Likely with do_not_respond. But it's not a good idea.
>
> --
> Matthew
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list