Disconnect-Request
Moayad Mohammad
mmohammad at thebluezone.com
Tue Oct 12 14:10:33 CEST 2010
Dears,
Can I disconnect connected user or session form freeradius
and Wichorus ASN-GW (WIMAX)? If yes how?
Am trying to send disconnect request as follow: (Note: I
changed all the following values as needed)
# echo "Acct-Session-Id=D91FE8E51802097" > packet.txt
# echo "User-Name=somebody" >> packet.txt
# echo "NAS-IP-Address=10.0.0.1" >> packet.txt
# cat packet.txt | radclient -x 10.0.0.1:3799 disconnect secret
Sending Disconnect-Request of id 116 to 10.0.0.1 port 3799
Acct-Session-Id = " D91FE8E51802097"
User-Name = "somebody"
NAS-IP-Address = 10.0.0.1
rad_recv: Disconnect-NAK packet from host 10.0.0.1 port 3799,
id=116, length=32
Event-Timestamp = "Oct 12 2010 16:08:21 EEST"
Error-Cause = Session-Context-Not-Found
When I changed the port to 1813
I got the following error:
Sending Disconnect-Request of id 26 to 10.0.0.1 port 1812
Acct-Session-Id = " D91FE8E51802097"
User-Name = "somebody"
NAS-IP-Address = 10.0.0.1
Sending Disconnect-Request of id 26 to 10.0.0.1 port 1812
Acct-Session-Id = " D91FE8E51802097"
User-Name = "somebody"
NAS-IP-Address = 10.0.0.1
Sending Disconnect-Request of id 26 to 10.0.0.1 port 1812
Acct-Session-Id = " D91FE8E51802097"
User-Name = "somebody"
NAS-IP-Address = 10.0.0.1
radclient: no response from server for ID 26 socket 3
Regards,
Moayad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20101012/64a5ad6b/attachment.html>
More information about the Freeradius-Users
mailing list