A little issue with disconnecting users
Hi, I am trying to disconnect users with the instructions given at < http://wiki.freeradius.org/Disconnect-Messages>. I made a packet.txt file with the following content: Acct-Session-Id=4E4EB0DE083800 User-Name=amin X-Ascend-Session-Svr-Key= NAS-IP-Address=127.0.0.1 Then run the following command: root@ubuntu:~/kill# cat packet.txt | radclient -x 127.0.0.1:3799 disconnect "testing123" And the result was: radclient:: failed to get value radclient: Nothing to send. Well, "xascendsessionsvrkey" field had no value so I though I have to set it to null. mysql> SELECT radacctid,acctsessionid,username,realm,nasipaddress,nasportid,framedipaddress,xascendsessionsvrkey FROM radacct ORDER BY radacctid DESC LIMIT 1; +-----------+----------------+----------+-------+--------------+-----------+-----------------+----------------------+ | radacctid | acctsessionid | username | realm | nasipaddress | nasportid | framedipaddress | xascendsessionsvrkey | +-----------+----------------+----------+-------+--------------+-----------+-----------------+----------------------+ | 24 | 4E4EB0DE083800 | amin | | 127.0.1.1 | 0 | 10.1.2.2 | | +-----------+----------------+----------+-------+--------------+-----------+-----------------+----------------------+ 1 row in set (0.00 sec) Could you give a working Packet of Disconnect example cause it will not work if I eliminate "X-Ascend-Session-Svr-Key" or set a NULL value for it. Thanks in advance, Moby freeRADIUS version: 2.1.11 Operating System: Ubuntu Netbook 10 (Linux ubuntu 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux)
Could you give a working Packet of Disconnect example cause it will not work if I eliminate "X-Ascend-Session-Svr-Key" or set a NULL value for it.
You don't need X-Ascend-Session-Srv-Key and i've removed it from the example on the wiki... See here http://wiki.freeradius.org/HP#Radclient+DM+example -Arran Arran Cudbard-Bell a.cudbardb@freeradius.org RADIUS - Half the complexity of Diameter
participants (2)
-
Arran Cudbard-Bell -
Mobin Yazarlou