Hi, Does anyone know how to get disconnect to work with radclient? I can get it to return status but when I try disconnect radiusd -X returns the following:- rad_recv: Disconnect-Request packet from host 127.0.0.1:57181, id=9, length=29 Unknown packet code 40 from client swarm:57181 - ID 9 : IGNORED Any help or hints would be much appreciated. Thanks, Sean
Sean <sean@swarmhotspots.com> wrote:
Does anyone know how to get disconnect to work with radclient? I can get it to return status but when I try disconnect radiusd -X returns the following:-
The server doesn't support Disconnect-Request. And if it did, it would be on a separate port, not 1812. The main problem with Disconnect-Request is that all Access-Accept's have to contain a State attribute. That state has to be unique to the server. That state has to be maintained across server re-starts. The state has to be kept in conjunction with a bunch of other data. And that's not even getting into the reverse proxying nightmare. And that's not even getting into the fact that many NASes don't support Disconnect-Request. For local use of Disconnect-Request, it's easiest to have the server log information to an SQL table, and then query the SQL table for the necessary data, and run radclient using it. Sending the server a Disconnect-Request is probably not that useful... Can I ask what you're trying to do with Disconnect-Request, and why you're sending it to the server? Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
On Thu 31 Aug 2006 17:24, Sean wrote:
Hi,
Does anyone know how to get disconnect to work with radclient? I can get it to return status but when I try disconnect radiusd -X returns the following:-
rad_recv: Disconnect-Request packet from host 127.0.0.1:57181, id=9, length=29 Unknown packet code 40 from client swarm:57181 - ID 9 : IGNORED
Any help or hints would be much appreciated.
Who are you trying to send disconnect to? It appears you are trying to send it to the RADIUS server, not the NAS which will obviously not work :-) -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
You need to send it to your NAS, not FreeRadius. Radius does not disconnect your clients, your NAS does... :) Regards, Chris. ----- Original Message ----- From: "Sean" <sean@swarmhotspots.com> To: <freeradius-users@lists.freeradius.org> Sent: Thursday, August 31, 2006 4:24 PM Subject: Disconnect
Hi,
Does anyone know how to get disconnect to work with radclient? I can get it to return status but when I try disconnect radiusd -X returns the following:-
rad_recv: Disconnect-Request packet from host 127.0.0.1:57181, id=9, length=29 Unknown packet code 40 from client swarm:57181 - ID 9 : IGNORED
Any help or hints would be much appreciated.
Thanks,
Sean
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (4)
-
Alan DeKok -
Chris Knipe -
Peter Nixon -
Sean