A little issue with disconnecting users
Mobin Yazarlou
yazarlou.m at gmail.com
Fri Aug 19 21:33:12 CEST 2011
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 at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110819/8873750d/attachment.html>
More information about the Freeradius-Users
mailing list