Topic: Force Disconnect / Logout
Dear Community, I need to force disconnect a user for what ever reason. And it needs to be done in the server having the chilli.
RADTEST works fine:
radtest chillispot chillispot 127.0.0.1:1812 0 radiussecret
Sending Access-Request of id 36 to 127.0.0.1 port 1812
User-Name = "chillispot"
User-Password = "chillispot"
NAS-IP-Address = 127.0.1.1
NAS-Port = 0
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=36, length=20
But RADCLIENT has no response:
echo "User-Name='chillispot'" | radclient -x 127.0.0.1 disconnect radiussecret
Sending Disconnect-Request of id 126 to 127.0.0.1 port 1700
User-Name = "chillispot"
Sending Disconnect-Request of id 126 to 127.0.0.1 port 1700
User-Name = "chillispot"
radclient: no response from server for ID 126 socket 3
By the way, radwho does work because radius accounting is set to SQL but that a different and non-relavant situation. Again, I just want it to disconnect forcebly so that user will have to log-in again.