Re: User disconnects but stays online in radius

2013-02-19 Thread Mobin Yazarlou
On Tue, Feb 19, 2013 at 10:23 AM, Russell Mike radius@gmail.com wrote: On Monday, February 18, 2013, Mobin Yazarlou wrote: On Mon, Feb 18, 2013 at 9:50 PM, Phil Mayers p.may...@imperial.ac.ukwrote: On 18/02/13 18:02, Mobin Yazarlou wrote: Hi, I am using freeradius v2.1.12

Re: User disconnects but stays online in radius

2013-02-19 Thread Mobin Yazarlou
On Tue, Feb 19, 2013 at 2:38 PM, Phil Mayers p.may...@imperial.ac.ukwrote: On 19/02/13 06:53, Russell Mike wrote: Hi Phil Moby, I am also interested in this solution since experiencing the same problem. I liked the solution no1. But I have no idea where I can get that script but I can

Re: User disconnects but stays online in radius

2013-02-19 Thread Mobin Yazarlou
On Tue, Feb 19, 2013 at 4:31 PM, Phil Mayers p.may...@imperial.ac.ukwrote: On 19/02/13 11:23, Mobin Yazarlou wrote: Hi Mike, Now it is an hour that I am looking for a built-in solution or a ready-to-use script. The only thing I found was Idle-Timeout http://freeradius.org/rfc/**rfc2865

Re: User disconnects but stays online in radius

2013-02-19 Thread Mobin Yazarlou
Thank you guys. I've learned many useful tips in the last comments. Now I know the idea of comparing online users in RADIUS and NAS can be a good solution but since I use two different NAS types on my network, and I am almost sure both of them don't have standard API to allow other apps read

User disconnects but stays online in radius

2013-02-18 Thread Mobin Yazarlou
Hi, I am using freeradius v2.1.12 with MySQL support and noticed if a user disconnect when radius server is down, NAS can not inform radius about user being disconnected and radius assume user is still online after coming up again. This restricts user from connecting again when you set

Time and traffic limits

2011-08-28 Thread Mobin Yazarlou
Hello, I have the following user in the database: mysql SELECT * FROM radcheck; ++--+++-+ | id | username | attribute | op | value | ++--+++-+ | 1 | sqltest | Cleartext-Password | := | testpwd |

Re: A little issue with disconnecting users

2011-08-20 Thread Mobin Yazarlou
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

Re: A little issue with disconnecting users

2011-08-20 Thread Mobin Yazarlou
Thanks. I did what you said but it seems that there must be a NAS to get the packet on port 3799 and disconnect the user for me. I have everything on a single machine and there is not any standalone hardware or something to act as a NAS. PPTP and L2TP/IPSec processes serve dialin users and

A little issue with disconnecting users

2011-08-19 Thread Mobin Yazarlou
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

Need your help me get daloradius fully integrated with freeradius

2011-08-10 Thread Mobin Yazarlou
Hi, This is my first email on freeradius mailing list so I would like to say thanks to freeradius development team and all those who participate in this mailing list. I am using freeradius 2.1.11 on Debian 6.0 to have enough control over pptpd users. Everything is hosted on a single machine and