Re: [Mikrotik] mikrotik with freeradius Quota exceed auto disconnection not working

2016-03-19 Thread Alexander Neilson
Please see the below. - http://wiki.mikrotik.com/wiki/Manual:RADIUS_Client Change of Authorization RADIUS disconnect and Change of Authorization (according to RFC3576) are supported as well. These attributes may be

Re: [Mikrotik] mikrotik with freeradius Quota exceed auto disconnection not working

2016-03-19 Thread JAHANZAIB SYED
accept my apology that I am really new to freeradius thing. I am doing LAB testing and its pretty straight forward setup. One Mikrotik and one One Freeradius server on Ubuntu 12.x with standard installation. Nothing customized. Can you please give me that how can I trigger the disconnection

Re: [Mikrotik] mikrotik with freeradius Quota exceed auto disconnection not working

2016-03-19 Thread JAHANZAIB SYED
I really appreciate that you spare time to reply my annoying query, I read that few times before, I have the script to disconnect user using radclient, but still I am unable to understand in which part I can execute this script? how can i collect date for active users who have reached there

Re: [Mikrotik] mikrotik with freeradius Quota exceed auto disconnection not working

2016-03-19 Thread JAHANZAIB SYED
Thanks for the reply. I am testing now on 6.x with same issue, Any example? > From: alexan...@neilson.net.nz > Date: Thu, 17 Mar 2016 16:21:27 +1300 > To: mikrotik@mail.butchevans.com > Subject: Re: [Mikrotik] mikrotik with freeradius Quota exceed auto > disconnection not working > > Are you

Re: [Mikrotik] mikrotik with freeradius Quota exceed auto disconnection not working

2016-03-19 Thread Alexander Neilson
These links may help you, the first one has a specific line for Mikrotik's http://wiki.freeradius.org/protocol/Disconnect-Messages "For Mikrotik try: # cat packet.txt | radclient -r 1 10.0.0.1:1700 disconnect ''secret'' where -r 1 means retry only once and give up."

Re: [Mikrotik] mikrotik with freeradius Quota exceed auto disconnection not working

2016-03-19 Thread Stuart Pierce
What version of Mikrotik? On Wed, March 16, 2016 6:16 am, JAHANZAIB SYED wrote: > I am using Mikrotik with FREERADIUS 2.x. Radius Incoming is enabled with > port 1700. > > My problem is that after user reaches his quota limit , he does not gets > disconnect automatically. If I disconnect him

Re: [Mikrotik] mikrotik with freeradius Quota exceed auto disconnection not working

2016-03-19 Thread Alexander Neilson
Are you configured to send COA or POD from the radius server once the limit is reached? I understand Mikrotik may have published a new dictionary for radius to reflect changes they have made IIRC they used to allow only POD and no COA but now support COA as well. This may allow you to make

Re: [Mikrotik] mikrotik with freeradius Quota exceed auto disconnection not working

2016-03-19 Thread JAHANZAIB SYED
Testing it on Mikrotik 5.20 and 6.34.x Same issue that user dont get auto disconnect when quota reaches limit. [however they get access denied on there next login] > Date: Wed, 16 Mar 2016 08:34:38 -0400 > From: spie...@avolve.net > To: mikrotik@mail.butchevans.com > Subject: Re: [Mikrotik]

Re: [Mikrotik] mikrotik with freeradius Quota exceed auto disconnection not working

2016-03-19 Thread JAHANZAIB SYED
I can make bash script that can pull active radius users, and check there quota limit against there usage. If it will found over quota user, it will simply disconnect. It is test script and contains some junk data, but its working fine. Now my question is what is the suitable method to inject

Re: [Mikrotik] mikrotik with freeradius Quota exceed auto disconnection not working

2016-03-19 Thread Alexander Neilson
I understand the approach is to scan the radius accounting database periodically (ensuring you are getting the accounting updated fast enough) and then run the radclient to trigger the disconnect. http://lists.freeradius.org/pipermail/freeradius-users/2007-September/022210.html When I ran this