COA NAK simulation from server using radclient

Alan DeKok aland at deployingradius.com
Tue Mar 30 14:01:17 CEST 2021


On Mar 30, 2021, at 6:27 AM, tejeswi <teju.knl at gmail.com> wrote:
> Please note that we tried almost all possible ways to simulate COA NAk form
> server POV but no luck.

  So... what did you try?  What was the result?

  We're not mind readers or magicians.  If your question is "I did stuff, but it didn't work".  The only real response is "do different stuff".

  If you post detailed questions which explain things, we can give detailed answers.

  As for the debug output...

> Listening on coa address 192.167.3.6 port 2010 bound to server default

  No, that is NOT what the documentation says to do.  Go read raddb/sites-available/coa

  This is fully documented.

> (0) Received CoA-Request Id 111 from 192.167.3.31:2000 to 192.167.3.6:2010 length 119
> (0)   User-Name = "radiususer"
> (0)   User-Password = "\372\3574jT'C\034\3273\216\241J\235ϱ"
> (0)   NAS-Identifier = "radiusServerNode"
> (0)   Message-Authenticator = 0x77cec9b9750b9f8f947aeb711b614550
> (0)   Called-Station-Id = "Rclient1.radius.com"
> (0)   Acct-Status-Type = Start
> (0)   Acct-Session-Id = "1000"
> (0) Sent CoA-ACK Id 111 from 192.167.3.6:2010 to 192.167.3.31:2000 length 0
> (0) Finished request

  You will note that the server doesn't actually *do* anything.  There's no output that it's processing the packet, running modules, etc.  This should be a strong hint that the configuration is completely broken.

  Read the documentation.  Do what it says.  It will work.

  Alan DeKok.




More information about the Freeradius-Users mailing list