CoA reply a wrong Session-Timeout

Alan DeKok aland at
Fri Sep 16 15:08:49 CEST 2016

On Sep 16, 2016, at 8:28 AM, prometeotv at wrote:
> I am running freeradius ver 2.1.12-6 on CentOS 6.0.

  Upgrade to a recent version.  There is just no reason to use a version from 5 years ago.

> I have
> configured freeradius with sql_counter module and all is working
> fine.
> Now I have to configure CoA but on my NAS (Mikrotik) I receive the
> Session-Timeout equal to 0 and the same is for the Traffic
> (Mikrotik-XMit-Limit attribute)
> Which is the freeradius variable to pass
> to Session-Timeout inside the "update coa{" in order to have the
> residual credit time of the user?


  BUT you have to get the correct value from somewhere.  Right now, you're taking the value from the accounting packet.  Which doesn't have a Session-Timeout.

  Alan DeKok.

More information about the Freeradius-Users mailing list