How do I see if the user has disconnected?

Matthew Newton mcn at freeradius.org
Sat May 15 14:38:39 CEST 2021



On 15/05/2021 13:16, Mark Antony via Freeradius-Users wrote:
> So I've added the Failed, which didn't work either.
> 
> (4)   accounting {
> (4)     if (&Acct-Status-Type == "Stop") {
> (4)     if (&Acct-Status-Type == "Stop")  -> FALSE
> (4)     if (&Acct-Status-Type == "Failed") {
> (4)     if (&Acct-Status-Type == "Failed")  -> FALSE
> 
> 
> Docs say: https://freeradius.org/rfc/rfc2866.html#Acct-Status-Type
> 
> Seems like "Reserved for Failed" is the one, but that string is rejected right away by Freeradius and doesn't startup.

And the debug output says...?

"Failed" is in the dictionary, so it should work fine assuming you used 
the correct syntax. Though TBH I've never seen a NAS send 
Acct-Status-Type "Failed". Is it even sending anything?

-- 
Matthew


More information about the Freeradius-Users mailing list