CoA -> REST

Alan DeKok aland at deployingradius.com
Tue Dec 20 16:39:18 CET 2016


On Dec 20, 2016, at 10:21 AM, <adrian.p.smith at bt.com> <adrian.p.smith at bt.com> wrote:
> 
> I enabled that virtual server by linking it into sites-enabled.
> 
> I then added a single line:
> 
> rest.authenticate
> 
> in the "server coa" recv-coa section immediately before the "ok" line.
> 
> adding just "rest" stopped the server from starting.

  Because the "rest" module doesn't have a "coa" method.

> I then send the server a CoA using radclient.
> 
> I see the server receiving it (as per the debug output below), but no mention of "rest.authenticate".

  There's also no mention of the virtual server, or the "send-coa" method.

  My copy of v3.0.x says this: 

(0) Received CoA-Request Id 195 from 127.0.0.1:59155 to 127.0.0.1:3799 length 62
(0)   User-Name = "bob"
(0)   NAS-IP-Address = 127.0.0.1
(0)   Framed-IP-Address = 127.0.0.1
(0)   X-Ascend-Billing-Number = "\001\032\231\002\003"
(0) # Executing section recv-coa from file ./raddb/sites-enabled/coa
(0)   recv-coa {
(0)     [suffix] = noop
(0)     [ok] = ok
(0)   } # recv-coa = ok
(0) # Executing section send-coa from file ./raddb/sites-enabled/coa
(0)   send-coa {
(0)     [ok] = ok
(0)   } # send-coa = ok
(0) Sent CoA-ACK Id 195 from 127.0.0.1:3799 to 127.0.0.1:59155 length 0

  If you're running an old version of the server, upgrade.  Odds are it has bugs which have been found and fixed years ago.

  This is also why we suggest posting the debug output to the list.  *ALL* of the debug output.  It contains version information, which lets us know that you're running an out of date system.

  Alan DeKok.




More information about the Freeradius-Users mailing list