Disconnect-Request

Ben Wiechman wiechman.lists at gmail.com
Tue Oct 12 15:22:46 CEST 2010


Try the following:
    
update disconnect {
	User-Name = "%{User-Name}"
      Calling-Station-Id = "%{Calling-Station-Id}"
      WiMAX-AAA-Session-Id = "%{WiMAX-AAA-Session-Id}" (same as that
returned during network entry)
      WiMAX-DM-Action-Code = Deregister-MS
}

I know this works. I see what is outlined in the documentation I have is
basically what you used (with the exception of the wrong attribute for the
session ID), but that differs from the requirements outlined in the WiMAX
Forum Stage 3 docs. See section 5.4.1.7 RADIUS Disconnect Request Message
for the format. Attributes are defined in greater detail in the following
sections. 

Ben



From: freeradius-users-bounces+wiechman.lists=gmail.com at lists.freeradius.org
[mailto:freeradius-users-bounces+wiechman.lists=gmail.com at lists.freeradius.o
rg] On Behalf Of Moayad Mohammad
Sent: Tuesday, October 12, 2010 7:11 AM
To: freeradius-users at lists.freeradius.org
Subject: Disconnect-Request

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






More information about the Freeradius-Users mailing list