COA NAK simulation from server using radclient

tejeswi teju.knl at gmail.com
Mon Apr 5 10:12:42 CEST 2021


Hi Alan,

Thank you very much for your responses.

I had gone through man unlang and also raddb/sites-available/originate-coa
files as well.

I understand that we need to place an update request block to simulate the
attributes list.. But where to keep the block for COA i am still not
clear.. :(

So can you just tell me where to keep this block in which file that would
really help us a lot.

Thanks in advance. Really appreciate your effort in supporting us.


On Thu, Apr 1, 2021 at 7:10 PM Alan DeKok <aland at deployingradius.com> wrote:

> On Apr 1, 2021, at 9:24 AM, tejeswi <teju.knl at gmail.com> wrote:
> > Now I am able to simulate the COA NAK response.
>
>   That's good...
>
> > Now i want to try to update coa with specific attributes to be sent from
> > the server.
> >
> > Tried to add pre acct section in sites-available/coa path but not
> working.
>
>   I've already told you that you shouldn't post messages saying "it
> doesn't work".  Your approach makes it look like you're just giving up, and
> asking me to do all of the work.  I don't get paid to help people.  So if
> you make it difficult for me to help you, I might as well give up and stop.
>
> > Can you please help me out in resolving the same.
> >
> > Attached is the server output for your reference.
>
> (0) # Executing section send-coa from file /etc/raddb/sites-enabled/coa
> (0)   send-coa {
> (0)     update coa {
> (0)       ERROR: Failed to create a CoA/Disconnect Request message
>
>
>   None of the documentation says to do this.  You do "update request" when
> sending a CoA packet.
>
>   Read "man unlang".  This IS documented.  Look for "update coa".
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html



-- 
------------------------
Regards
Tejeswi K

-----------------------


More information about the Freeradius-Users mailing list