Disconnect Request is not working
Hi, I am trying to send the disconnect request from radius server to NAS, for that I have returned the RLM_MODULE_UPDATED from my module and in radiusd.conf accounting section edited like this ========================================================= if(updated){ update disconnect { User-Name = "%{User-Name}" Acct-Session-Id = "%{Acct-Session-Id}" Framed-IP-Address = "%{Framed-IP-Address}" Packet-Dst-Port = 1700 } } ========================================================== When I am sending my accounting interim request, got the below message and disconnect request is also not visible in wireshark. ========================================================== entering if (updated) {...} expand: %{User-Name} -> ******** expand: %{Acct-Session-Id} -> 50D6F0C014369761 expand: %{Framed-IP-Address} -> 10.5.127.115 +++[disconnect] returns updated ++- if (updated) returns updated [main_pool] This is not an Accounting-Stop. Return NOOP. ++[main_pool] returns noop } # server Access_Gateway Sending Accounting-Response of id 193 to 10.203.226.70 port 33544 WARNING: Unknown destination 10.203.226.70:1700 for CoA request. Do CoA Fail handler here ========================================================== Please give some guidelines, how to configure the disconnect request and which files has to modify. Thanks, Regards Ranjan
ranjan kumar wrote:
I am trying to send the disconnect request from radius server to NAS, ... Sending Accounting-Response of id 193 to 10.203.226.70 port 33544 WARNING: Unknown destination 10.203.226.70:1700 <http://10.203.226.70:1700> for CoA request. Do CoA Fail handler here ========================================================== Please give some guidelines, how to configure the disconnect request and which files has to modify.
Read raddb/sites-available/originate-coa. This is documented. Alan DeKok.
participants (2)
-
Alan DeKok -
ranjan kumar