update disconnect

Anatoliy cphlpd at gmail.com
Sat Jul 15 05:54:09 UTC 2023


Hi Alan, just test with parent.disconnect , and it is also fails

(36)         if (&Class == "outage" && &Acct-Status-Type ==
"Interim-Update")  -> TRUE
(36)         if (&Class == "outage" && &Acct-Status-Type ==
"Interim-Update")  {
(36)           update parent.disconnect {
(36)             ERROR: You can only do 'update coa' when processing a
packet which was received from the network
(36)           } # update parent.disconnect = invalid


On Thu, Jul 13, 2023 at 5:31 AM Alan DeKok <aland at deployingradius.com>
wrote:

> On Jul 12, 2023, at 4:49 PM, Anatoliy <cphlpd at gmail.com> wrote:
> > Can you help to understand how to fix this ?
>
>   You can use "update parent.disconnect" instead of "update disconnect".
>
>   The new error message is " ERROR: You can only do 'update coa' when
> processing a  packet which was received from the network"
>
>   It was added because when a request was proxied to an internal virtual
> server, "update disconnect" just didn't work.  It might sometimes work, but
> it wouldn't work consistently.
>
>   The good news is that you can just use "update parent.disconnect", and
> it will work.
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list